X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=prefs.php;h=54d5ebad8cf7c47b4ba98759941ed92f5e8a9cc8;hb=6322ac79a020ab584d412d782d62b2ee77d7c6cf;hp=0add206e43c0de29bb54353d3f4aab5ce2f20c0f;hpb=2751718009720f3799a98762337fa5ef61573223;p=tt-rss.git diff --git a/prefs.php b/prefs.php index 0add206e..54d5ebad 100644 --- a/prefs.php +++ b/prefs.php @@ -12,6 +12,7 @@ exit; } + require_once "autoload.php"; require_once "sessions.php"; require_once "functions.php"; require_once "sanity_check.php"; @@ -21,11 +22,9 @@ $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - if (!init_connection($link)) return; + if (!init_plugins()) return; - login_sequence($link); - - no_cache_incantation(); + login_sequence(); header('Content-Type: text/html; charset=utf-8'); ?> @@ -39,7 +38,15 @@ - + + + @@ -49,6 +56,7 @@ "lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls", "lib/dojo/dojo.js", "lib/dijit/dijit.js", + "lib/CheckBoxTree.js", "lib/dojo/tt-rss-layer.js", "errors.php?mode=js") as $jsfile) { @@ -68,7 +76,7 @@ } } - print get_minified_js(array("functions", "deprecated", "prefs")); + print get_minified_js(array("functions", "deprecated", "prefs", "PrefFeedTree", "PrefFilterTree", "PrefLabelTree")); init_js_translations(); ?> @@ -86,7 +94,7 @@ -
 
+
@@ -99,8 +107,6 @@
- - - +