]> git.wh0rd.org - tt-rss.git/blobdiff - prefs.php
auth_internal: load Base32 using proper namespace
[tt-rss.git] / prefs.php
index a0fe93b15ef868d665cb1ddd66a98afe938d36ab..2b1270f104a6b2dfa48aadaa0718ca0c27a011f2 100644 (file)
--- a/prefs.php
+++ b/prefs.php
        } ?>
 
        <script type="text/javascript">
+               'use strict';
                require({cache:{}});
        <?php
-               require_once 'lib/jshrink/Minifier.php';
-
+               print get_minified_js(["functions.js", "prefs.js"]);
+       ?>
+       </script>
+       <script type="text/javascript">
+       <?php
                foreach (PluginHost::getInstance()->get_plugins() as $n => $p) {
                        if (method_exists($p, "get_prefs_js")) {
                                echo "try {";
@@ -92,8 +96,6 @@
                        }
                }
 
-               print get_minified_js(array("functions", "deprecated", "prefs"));
-
                init_js_translations();
        ?>
        </script>