1
0
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:
Andrew Dolgov
2007-05-04 04:26:20 +01:00
parent 87b9fb6532
commit fe8d205964
10 changed files with 18 additions and 3 deletions

View File

@@ -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"]);

View File

@@ -589,6 +589,8 @@
}
}
set_pref($link, "_PREFS_ACTIVE_TAB", "feedConfig");
print "<div class=\"prefGenericAddBox\">
<input id=\"fadd_cat\"
onkeypress=\"return filterCR(event, addFeedCat)\"

View File

@@ -199,6 +199,8 @@
if ($quiet) return;
set_pref($link, "_PREFS_ACTIVE_TAB", "filterConfig");
$sort = db_escape_string($_GET["sort"]);
if (!$sort || $sort == "undefined") {

View File

@@ -192,6 +192,8 @@
return;
}
set_pref($link, "_PREFS_ACTIVE_TAB", "labelConfig");
$sort = db_escape_string($_GET["sort"]);
if (!$sort || $sort == "undefined") {

View File

@@ -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

View File

@@ -174,6 +174,8 @@
}
}
set_pref($link, "_PREFS_ACTIVE_TAB", "userConfig");
$sort = db_escape_string($_GET["sort"]);
if (!$sort || $sort == "undefined") {