X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=prefs.php;h=7a7d2842cc99f4dd2f9a0834768363a3891a7d97;hb=404e2e3603c852a3f82a21c14b8888005e2b3f99;hp=3249687532f94f31f88bf73556afa39de3307a62;hpb=ae6d8b658b664fd6048460861f77312745dc3396;p=tt-rss.git diff --git a/prefs.php b/prefs.php index 32496875..7a7d2842 100644 --- a/prefs.php +++ b/prefs.php @@ -1,7 +1,18 @@ Fatal Error: You forgot to copy + config.php-dist to config.php and edit it.\n"; + exit; + } + + require_once "autoload.php"; require_once "sessions.php"; require_once "functions.php"; require_once "sanity_check.php"; @@ -11,12 +22,10 @@ $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - if (!init_connection($link)) return; + if (!init_plugins($link)) return; login_sequence($link); - no_cache_incantation(); - header('Content-Type: text/html; charset=utf-8'); ?> + + + @@ -38,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) { @@ -57,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(); ?> @@ -75,7 +94,7 @@ -
 
+
@@ -88,8 +107,6 @@
- -