From fe8d2059648bfaf773277918927fcd2af4f314a0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 4 May 2007 04:26:20 +0100 Subject: [PATCH] save active tab in prefs, fix schema --- functions.php | 3 +++ modules/pref-feed-browser.php | 2 ++ modules/pref-feeds.php | 2 ++ modules/pref-filters.php | 2 ++ modules/pref-labels.php | 2 ++ modules/pref-prefs.php | 2 ++ modules/pref-users.php | 2 ++ prefs.js | 2 +- schema/ttrss_schema_mysql.sql | 2 +- schema/ttrss_schema_pgsql.sql | 2 +- 10 files changed, 18 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index 3968764f..bfed27be 100644 --- a/functions.php +++ b/functions.php @@ -2223,6 +2223,9 @@ print ""; + print ""; + print ""; } diff --git a/modules/pref-feed-browser.php b/modules/pref-feed-browser.php index 72538936..104dd93f 100644 --- a/modules/pref-feed-browser.php +++ b/modules/pref-feed-browser.php @@ -72,6 +72,8 @@ return; } + set_pref($link, "_PREFS_ACTIVE_TAB", "feedBrowser"); + print "
".__('This panel shows feeds subscribed by other users of this system, just in case you are interested in them too.')."
"; $limit = db_escape_string($_GET["limit"]); diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index caca952a..78a2cff2 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -589,6 +589,8 @@ } } + set_pref($link, "_PREFS_ACTIVE_TAB", "feedConfig"); + print "