Add 401 error page

This commit is contained in:
2011-12-20 01:43:07 +00:00
parent 26580e812b
commit 86b187800f
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<?php
$main = StatusBoard_Main::instance();
$req = $main->request();
$this->smarty->assign('requested_page', $req->request_string());
?>

View 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>