diff --git a/templates/themes/public_banlist/theme.php b/templates/themes/public_banlist/theme.php index 7ca7e5d7..d873f1d5 100644 --- a/templates/themes/public_banlist/theme.php +++ b/templates/themes/public_banlist/theme.php @@ -1,57 +1,55 @@ $config, - 'mod' => false, - #'hide_dashboard_link' => true, - 'title' => _("Ban list"), - 'subtitle' => "", + return Element('page.html', [ + 'config' => $config, + 'mod' => false, + 'title' => _("Ban list"), + 'subtitle' => "", 'boardlist' => createBoardlist(), - #'nojavascript' => true, - 'body' => Element('mod/ban_list.html', array( - 'mod' => false, - 'boards' => "[]", - 'token' => false, - 'token_json' => false, + 'body' => Element('mod/ban_list.html', [ + 'mod' => false, + 'boards' => "[]", + 'token' => false, + 'token_json' => false, 'uri_json' => $config['dir']['home'] . $settings['file_json'], - )) - )); - } - }; - -?> + ]) + ]); + } +};