shortcut.phtml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <div class="table">
  2. <?php $this->partial ('configure_aside'); ?>
  3. <datalist id="keys">
  4. <?php foreach ($this->list_keys as $key) { ?>
  5. <option value="<?php echo $key; ?>">
  6. <?php } ?>
  7. </datalist>
  8. <?php $s = $this->conf->shortcuts (); ?>
  9. <form method="post" action="">
  10. <h1>Gérer les raccourcis</h1>
  11. <noscript>Le javascript doit être activé pour pouvoir utiliser les raccourcis</noscript>
  12. <label for="mark_read">Marquer l'article comme lu / non lu</label>
  13. <input type="text" id="mark_read" name="shortcuts[mark_read]" list="keys" value="<?php echo $s['mark_read']; ?>" />
  14. <p>+ <code>shift</code> pour marquer tous les articles comme non lus</p>
  15. <label for="mark_favorite">Mettre l'article en favori</label>
  16. <input type="text" id="mark_favorite" name="shortcuts[mark_favorite]" list="keys" value="<?php echo $s['mark_favorite']; ?>" />
  17. <label for="go_website">Afficher l'article sur le site d'origine</label>
  18. <input type="text" id="go_website" name="shortcuts[go_website]" list="keys" value="<?php echo $s['go_website']; ?>" />
  19. <label for="next_entry">Passer à l'article suivant</label>
  20. <input type="text" id="next_entry" name="shortcuts[next_entry]" list="keys" value="<?php echo $s['next_entry']; ?>" />
  21. <p>+ <code>shift</code> pour passer au dernier article de la page</p>
  22. <label for="prev_entry">Passer à l'article précédent</label>
  23. <input type="text" id="prev_entry" name="shortcuts[prev_entry]" list="keys" value="<?php echo $s['prev_entry']; ?>" />
  24. <p>+ <code>shift</code> pour passer au premier article de la page</p>
  25. <label for="next_page">Passer à la page suivant</label>
  26. <input type="text" id="next_page" name="shortcuts[next_page]" list="keys" value="<?php echo $s['next_page']; ?>" />
  27. <p>+ <code>shift</code> pour passer à la dernière page</p>
  28. <label for="prev_page">Passer à la page précédente</label>
  29. <input type="text" id="prev_page" name="shortcuts[prev_page]" list="keys" value="<?php echo $s['prev_page']; ?>" />
  30. <p>+ <code>shift</code> pour passer à la première page</p>
  31. <input type="submit" value="Valider" />
  32. </form>
  33. </div>