mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-26 23:51:29 +00:00
add hotkey (f x) to reverse headlines order (closes #262)
This commit is contained in:
@@ -123,11 +123,23 @@
|
||||
|
||||
}
|
||||
|
||||
if ($subop == "setpref") {
|
||||
if (WEB_DEMO_MODE) {
|
||||
return;
|
||||
}
|
||||
if ($subop == "togglepref") {
|
||||
print "<rpc-reply>";
|
||||
|
||||
$key = db_escape_string($_REQUEST["key"]);
|
||||
|
||||
set_pref($link, $key, !get_pref($link, $key));
|
||||
|
||||
$value = get_pref($link, $key);
|
||||
|
||||
print "<param-set key=\"$key\" value=\"$value\"/>";
|
||||
|
||||
print "</rpc-reply>";
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if ($subop == "setpref") {
|
||||
print "<rpc-reply>";
|
||||
|
||||
$key = db_escape_string($_REQUEST["key"]);
|
||||
|
||||
Reference in New Issue
Block a user