add shortcut for all articles feed
This commit is contained in:
parent
1098687a22
commit
49f4a7e9f0
2 changed files with 8 additions and 1 deletions
|
@ -54,8 +54,9 @@
|
||||||
<h2><?php echo __("Go to...") ?></h2>
|
<h2><?php echo __("Go to...") ?></h2>
|
||||||
|
|
||||||
<table>
|
<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 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 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 t</td><td><?php echo __("Tag cloud") ?></td></tr>
|
||||||
<tr><td class='n'>g P</td><td><?php echo __("Preferences") ?></td></tr>
|
<tr><td class='n'>g P</td><td><?php echo __("Preferences") ?></td></tr>
|
||||||
|
|
|
@ -1329,6 +1329,12 @@ function hotkey_handler(e) {
|
||||||
|
|
||||||
hotkey_prefix = false;
|
hotkey_prefix = false;
|
||||||
|
|
||||||
|
|
||||||
|
if (keycode == 65) { // a
|
||||||
|
viewfeed(-4);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (keycode == 83) { // s
|
if (keycode == 83) { // s
|
||||||
viewfeed(-1);
|
viewfeed(-1);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue