X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=prefs.php;h=85838861c2b076b69d34c22a32ffe554c6514f85;hb=23419d117bf6db266ce2fc4b7e8d14e96b788f9b;hp=d328beaf48f1a9a57f642cabfcb773a03edf7267;hpb=03a11e23962bf0bbd202d837bb6ac984477a2310;p=tt-rss.git diff --git a/prefs.php b/prefs.php index d328beaf..85838861 100644 --- a/prefs.php +++ b/prefs.php @@ -1,177 +1,138 @@ - - Tiny Tiny RSS : Preferences - + Tiny Tiny RSS : <?php echo __("Preferences") ?> + + - - - + + - - - - - - + - + + + + + + - - + - + - + global $pluginhost; - + foreach ($pluginhost->get_plugins() as $n => $p) { + if (method_exists($p, "get_prefs_js")) { + echo JSMin::minify($p->get_prefs_js()); + } + } - + foreach (array("functions", "deprecated", "prefs") as $js) { + if (!isset($_GET['debug'])) { + echo JSMin::minify(file_get_contents("js/$js.js")); + } else { + echo file_get_contents("js/$js.js"); + } + } + ?> + - + + - - - - - - - - -
-

Fatal Error

-
-
- -
-