mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-06 20:59:15 +00:00
save active tab in prefs, fix schema
This commit is contained in:
@@ -72,6 +72,8 @@
|
||||
return;
|
||||
}
|
||||
|
||||
set_pref($link, "_PREFS_ACTIVE_TAB", "feedBrowser");
|
||||
|
||||
print "<div>".__('This panel shows feeds subscribed by other users of this system, just in case you are interested in them too.')."</div>";
|
||||
|
||||
$limit = db_escape_string($_GET["limit"]);
|
||||
|
||||
@@ -589,6 +589,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
set_pref($link, "_PREFS_ACTIVE_TAB", "feedConfig");
|
||||
|
||||
print "<div class=\"prefGenericAddBox\">
|
||||
<input id=\"fadd_cat\"
|
||||
onkeypress=\"return filterCR(event, addFeedCat)\"
|
||||
|
||||
@@ -199,6 +199,8 @@
|
||||
|
||||
if ($quiet) return;
|
||||
|
||||
set_pref($link, "_PREFS_ACTIVE_TAB", "filterConfig");
|
||||
|
||||
$sort = db_escape_string($_GET["sort"]);
|
||||
|
||||
if (!$sort || $sort == "undefined") {
|
||||
|
||||
@@ -192,6 +192,8 @@
|
||||
return;
|
||||
}
|
||||
|
||||
set_pref($link, "_PREFS_ACTIVE_TAB", "labelConfig");
|
||||
|
||||
$sort = db_escape_string($_GET["sort"]);
|
||||
|
||||
if (!$sort || $sort == "undefined") {
|
||||
|
||||
@@ -173,6 +173,8 @@
|
||||
|
||||
// print check_for_update($link);
|
||||
|
||||
set_pref($link, "_PREFS_ACTIVE_TAB", "genConfig");
|
||||
|
||||
if (!SINGLE_USER_MODE) {
|
||||
|
||||
$result = db_query($link, "SELECT id,email FROM ttrss_users
|
||||
|
||||
@@ -174,6 +174,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
set_pref($link, "_PREFS_ACTIVE_TAB", "userConfig");
|
||||
|
||||
$sort = db_escape_string($_GET["sort"]);
|
||||
|
||||
if (!$sort || $sort == "undefined") {
|
||||
|
||||
Reference in New Issue
Block a user