X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=prefs.php;h=9f2b2e43b743a2cd3b1d886827986196489d6012;hb=50052fb78a3a9d1bb3fa488e7fd7b23125c38124;hp=7a7d2842cc99f4dd2f9a0834768363a3891a7d97;hpb=404e2e3603c852a3f82a21c14b8888005e2b3f99;p=tt-rss.git diff --git a/prefs.php b/prefs.php index 7a7d2842..9f2b2e43 100644 --- a/prefs.php +++ b/prefs.php @@ -20,11 +20,9 @@ require_once "config.php"; require_once "db-prefs.php"; - $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); + if (!init_plugins()) return; - if (!init_plugins($link)) return; - - login_sequence($link); + login_sequence(); header('Content-Type: text/html; charset=utf-8'); ?> @@ -33,30 +31,44 @@ Tiny Tiny RSS : <?php echo __("Preferences") ?> + + + - - - + + + + @@ -92,9 +110,9 @@ - + - +
@@ -136,7 +154,7 @@ title="">
run_hooks($pluginhost::HOOK_PREFS_TABS, + PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TABS, "hook_prefs_tabs", false); ?> @@ -154,7 +172,5 @@ - -