]> git.wh0rd.org Git - tt-rss.git/commitdiff
prefs: remove _PREFS_ACTIVE_TAB handling
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 19 Nov 2010 07:16:12 +0000 (10:16 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 19 Nov 2010 07:16:12 +0000 (10:16 +0300)
modules/pref-feeds.php
modules/pref-filters.php
modules/pref-labels.php
modules/pref-prefs.php
modules/pref-users.php

index bee4b1269d4799b7cca127eec86471dc31833b3e..8d354a668314ca4c89ecb0e67486cdece876b3dd 100644 (file)
                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"]);
 
index ac6f4e68b7b8728007f22243dbaf518c753c9b7b..12bfd43978f39080e9214d95a34d82b3a5ba1cff 100644 (file)
 
                if ($quiet) return;
 
-               set_pref($link, "_PREFS_ACTIVE_TAB", "filterConfig");
-
                $sort = db_escape_string($_REQUEST["sort"]);
 
                if (!$sort || $sort == "undefined") {
index 386b9c6a2817435484f6e8e270e02521e337013d..ea1835f87beb20b6b6b18f91e1a0cb04d46522ae 100644 (file)
                        return;
                }
 
-               set_pref($link, "_PREFS_ACTIVE_TAB", "labelConfig");
-
                $sort = db_escape_string($_REQUEST["sort"]);
 
                if (!$sort || $sort == "undefined") {
index d8a1cb139da974b52f988e972a2a75546d57bad2..bd27d0d44d0d800914a15c38bf677374b2c675ed 100644 (file)
 
                } else {
 
-                       set_pref($link, "_PREFS_ACTIVE_TAB", "genConfig");
-
                        if ($_SESSION["profile"]) {
                                print_notice("Some preferences are only available in default profile.");
                        }
index 9c903907f9fee3255cec49597f46058fdcc06e44..b75d5b76fb5101529cc62d4101cee2fe07a052e7 100644 (file)
 
                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)) {