Converted homepage to use SihnonFramework and updated content
This commit is contained in:
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>
|
||||
6
source/webui/templates/errors/404.tpl
Normal file
6
source/webui/templates/errors/404.tpl
Normal file
@@ -0,0 +1,6 @@
|
||||
<h2>The requested page could not be found</h2>
|
||||
<p>
|
||||
The file you requested ({$requested_page|escape:html}) could not be found.
|
||||
If you typed in the address manually, check that you have spelled it correctly,
|
||||
or if you followed a link, let us know and we'll look into it.
|
||||
</p>
|
||||
62
source/webui/templates/errors/unhandled-exception.tpl
Normal file
62
source/webui/templates/errors/unhandled-exception.tpl
Normal file
@@ -0,0 +1,62 @@
|
||||
<h2>An unhandled error has occurred</h2>
|
||||
<p>
|
||||
There was a problem trying to complete the requested action. Please try again and if the problem persists, let us know.
|
||||
</p>
|
||||
|
||||
{if $display_exceptions}
|
||||
<p>
|
||||
An unhandled exception was caught during the page template processing. The full details are shown below:
|
||||
</p>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="span4 column">
|
||||
<h2>Exception</h2>
|
||||
</div>
|
||||
<div class="span11 column">
|
||||
{$exception_type|escape:html}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="span4 column">
|
||||
<h2>File</h2>
|
||||
</div>
|
||||
<div class="span11 column">
|
||||
{$exception->getFile()|escape:html}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="span4 column">
|
||||
<h2>Line</h2>
|
||||
</div>
|
||||
<div class="span11 column">
|
||||
{$exception->getLine()}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="span4 column">
|
||||
<h2>Message</h2>
|
||||
</div>
|
||||
<div class="span11 column">
|
||||
{$exception->getMessage()}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="span4 column">
|
||||
<h2>Stack Trace</h2>
|
||||
</div>
|
||||
<div class="span11 column">
|
||||
{$exception->getTrace()|var_dump}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<em>Note:</em> Exception details should not be displayed on production systems.
|
||||
Disable the <a href="{$base_uri}admin/tab/settings/"><code>Display Exceptions</code></a>
|
||||
setting to omit the exception details from this page.
|
||||
</p>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user