X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=prefs.php;h=191f452c4e11cad86e0639cbe238ef45447244e6;hb=d8895ec679fb3557ddf01d8be74a5eb82c7dac7a;hp=98e4a2fd94b850ee2e017ac288990cdea1d7cde2;hpb=f37e541a8f6ae5dc0955e0bf4e90e86dd7537e1d;p=tt-rss.git diff --git a/prefs.php b/prefs.php index 98e4a2fd..191f452c 100644 --- a/prefs.php +++ b/prefs.php @@ -1,50 +1,86 @@ 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"; require_once "version.php"; require_once "config.php"; require_once "db-prefs.php"; - $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - - init_connection($link); - - login_sequence($link); + if (!init_plugins()) return; - $dt_add = time(); - - no_cache_incantation(); + login_sequence(); header('Content-Type: text/html; charset=utf-8'); - ?> - Tiny Tiny RSS : Preferences - - + Tiny Tiny RSS : <?php echo __("Preferences") ?> + + + + + + + - - + + - - - - - - + "> + echo javascript_tag($jsfile); - - + } ?> - + @@ -58,7 +94,7 @@ -
 
+
@@ -71,14 +107,8 @@
- - - - @@ -101,25 +131,28 @@
+
-= 10 || SINGLE_USER_MODE) { ?> -
- - +run_hooks(PluginHost::HOOK_PREFS_TABS, + "hook_prefs_tabs", false); +?> - -