Introduce new menu classes and navigation templates

This commit is contained in:
2023-03-11 15:14:05 +01:00
parent b1378a3b59
commit 277611e0ac
13 changed files with 302 additions and 115 deletions

View File

@@ -86,7 +86,6 @@ class Dispatcher
if (Registry::has('user') && Registry::get('user')->isAdmin())
{
$page->appendStylesheet(BASEURL . '/css/admin.css');
$page->adopt(new AdminBar());
}
$page->adopt(new DummyBox('Well, this is a bit embarrassing!', '<p>The page you requested could not be found. Don\'t worry, it\'s probably not your fault. You\'re welcome to browse the website, though!</p>', 'errormsg'));