X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=prefs.php;h=cc62677981dfc30f2632bb19a69efda228c43928;hb=bd076268264c2b57d9fb26baf818b7524d7306f9;hp=98e4a2fd94b850ee2e017ac288990cdea1d7cde2;hpb=f37e541a8f6ae5dc0955e0bf4e90e86dd7537e1d;p=tt-rss.git diff --git a/prefs.php b/prefs.php index 98e4a2fd..cc626779 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); +?> - -