add shortcut for all articles feed

This commit is contained in:
Andrew Dolgov 2009-01-21 17:47:29 +01:00
parent 1098687a22
commit 49f4a7e9f0
2 changed files with 8 additions and 1 deletions

View File

@ -54,8 +54,9 @@
<h2><?php echo __("Go to...") ?></h2>
<table>
<tr><td class='n'>g s</td><td><?php echo __("Starred articles") ?></td></tr>
<tr><td class='n'>g a</td><td><?php echo __("All articles") ?></td></tr>
<tr><td class='n'>g f</td><td><?php echo __("Fresh articles") ?></td></tr>
<tr><td class='n'>g s</td><td><?php echo __("Starred articles") ?></td></tr>
<tr><td class='n'>g p</td><td><?php echo __("Published articles") ?></td></tr>
<tr><td class='n'>g t</td><td><?php echo __("Tag cloud") ?></td></tr>
<tr><td class='n'>g P</td><td><?php echo __("Preferences") ?></td></tr>

View File

@ -1329,6 +1329,12 @@ function hotkey_handler(e) {
hotkey_prefix = false;
if (keycode == 65) { // a
viewfeed(-4);
return false;
}
if (keycode == 83) { // s
viewfeed(-1);
return false;