diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -13,14 +13,14 @@ require_once "autoload.php"; require_once "sessions.php"; require_once "functions.php"; - require_once "sanity_check.php"; + + Config::sanity_check(); if (!init_plugins()) return; UserHelper::login_sequence(); header('Content-Type: text/html; charset=utf-8'); - ?> <!DOCTYPE html> <html> @@ -31,7 +31,7 @@ <?php if ($_SESSION["uid"] && empty($_SESSION["safe_mode"])) { $theme = get_pref(Prefs::USER_CSS_THEME); if ($theme && theme_exists("$theme")) { - echo stylesheet_tag(get_theme_path($theme), 'theme_css'); + echo stylesheet_tag(get_theme_path($theme), ['id' => 'theme_css']); } } ?> @@ -168,10 +168,10 @@ </div> - <form id="toolbar-main" action="" style="order : 20" onsubmit='return false'> + <form id="toolbar-main" dojoType="dijit.form.Form" action="" style="order : 20" onsubmit="return false"> <select name="view_mode" title="<?= __('Show articles') ?>" - onchange="App.onViewModeChanged()" + onchange="Feeds.onViewModeChanged()" dojoType="fox.form.Select"> <option selected="selected" value="adaptive"><?= __('Adaptive') ?></option> <option value="all_articles"><?= __('All Articles') ?></option> @@ -179,11 +179,10 @@ <option value="published"><?= __('Published') ?></option> <option value="unread"><?= __('Unread') ?></option> <option value="has_note"><?= __('With Note') ?></option> - <!-- <option value="noscores"><?= __('Ignore Scoring') ?></option> --> </select> <select title="<?= __('Sort articles') ?>" - onchange="App.onViewModeChanged()" + onchange="Feeds.onViewModeChanged()" dojoType="fox.form.Select" name="order_by"> <option selected="selected" value="default"><?= __('Default') ?></option> |