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"]);
if ($quiet) return;
- set_pref($link, "_PREFS_ACTIVE_TAB", "filterConfig");
-
$sort = db_escape_string($_REQUEST["sort"]);
if (!$sort || $sort == "undefined") {
return;
}
- set_pref($link, "_PREFS_ACTIVE_TAB", "labelConfig");
-
$sort = db_escape_string($_REQUEST["sort"]);
if (!$sort || $sort == "undefined") {
} else {
- set_pref($link, "_PREFS_ACTIVE_TAB", "genConfig");
-
if ($_SESSION["profile"]) {
print_notice("Some preferences are only available in default profile.");
}
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)) {