1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-22 11:36:38 +02:00

prefs: remove _PREFS_ACTIVE_TAB handling

This commit is contained in:
Andrew Dolgov 2010-11-19 10:16:12 +03:00
parent a4d7649833
commit e8f0cb1975
5 changed files with 0 additions and 10 deletions

View File

@ -1164,8 +1164,6 @@
print "<div dojoType=\"dijit.layout.AccordionContainer\" region=\"center\">";
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Feeds')."\">";
set_pref($link, "_PREFS_ACTIVE_TAB", "feedConfig");
$result = db_query($link, "SELECT COUNT(id) AS num_errors
FROM ttrss_feeds WHERE last_error != '' AND owner_uid = ".$_SESSION["uid"]);

View File

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

View File

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

View File

@ -158,8 +158,6 @@
} else {
set_pref($link, "_PREFS_ACTIVE_TAB", "genConfig");
if ($_SESSION["profile"]) {
print_notice("Some preferences are only available in default profile.");
}

View File

@ -352,8 +352,6 @@
print "<div id=\"pref-user-toolbar\" dojoType=\"dijit.Toolbar\">";
set_pref($link, "_PREFS_ACTIVE_TAB", "userConfig");
$user_search = db_escape_string($_REQUEST["search"]);
if (array_key_exists("search", $_REQUEST)) {