From: Andrew Dolgov Date: Wed, 27 Mar 2013 08:29:51 +0000 (+0400) Subject: disable show additional preferences checkbox as repeatedly confusing X-Git-Tag: 1.7.6~255 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=744a1b0080de3ed2327cc4173116c99d89ef407b;p=tt-rss.git disable show additional preferences checkbox as repeatedly confusing --- diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index a5a699a6..2e8acff5 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -412,10 +412,12 @@ class Pref_Prefs extends Handler_Protected { $profile_qpart = "profile IS NULL"; } - if ($_SESSION["prefs_show_advanced"]) + /* if ($_SESSION["prefs_show_advanced"]) $access_query = "true"; else - $access_query = "(access_level = 0 AND section_id != 3)"; + $access_query = "(access_level = 0 AND section_id != 3)"; */ + + $access_query = 'true'; $result = db_query($this->link, "SELECT DISTINCT ttrss_user_prefs.pref_name,short_desc,help_text,value,type_name, @@ -602,7 +604,7 @@ class Pref_Prefs extends Handler_Protected { print " "; - $checked = $_SESSION["prefs_show_advanced"] ? "checked='1'" : ""; + /* $checked = $_SESSION["prefs_show_advanced"] ? "checked='1'" : ""; print " "; + __("Show additional preferences") . ""; */ global $pluginhost; $pluginhost->run_hooks($pluginhost::HOOK_PREFS_TAB_SECTION,