Add 401 error page
This commit is contained in:
9
source/webui/pages/errors/401.php
Normal file
9
source/webui/pages/errors/401.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
$main = StatusBoard_Main::instance();
|
||||
$req = $main->request();
|
||||
|
||||
$this->smarty->assign('requested_page', $req->request_string());
|
||||
|
||||
|
||||
?>
|
||||
5
source/webui/templates/errors/401.tpl
Normal file
5
source/webui/templates/errors/401.tpl
Normal file
@@ -0,0 +1,5 @@
|
||||
<h2>This page is not accessible.</h2>
|
||||
<p>
|
||||
The page you requested ({$requested_page|escape:html}) could not be opened.
|
||||
Please ensure you are logged in and have permission to access this page.
|
||||
</p>
|
||||
Reference in New Issue
Block a user