mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-30 21:45:01 +03:00
Страница ошибки
This commit is contained in:
parent
9001ed692e
commit
95761225f1
|
@ -26,6 +26,7 @@ class ActionError extends Action {
|
|||
*/
|
||||
public function Init() {
|
||||
$this->SetDefaultEvent('index');
|
||||
Router::SetIsShowStats(false);
|
||||
}
|
||||
/**
|
||||
* Регистрируем евент
|
||||
|
|
|
@ -1,21 +1,9 @@
|
|||
{include file='header.light.tpl'}
|
||||
|
||||
<!--- ФОРМА --->
|
||||
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
<p><span class="header">{$aMsgError[0].title}</span><br />
|
||||
|
||||
<p><span class="form">{$aMsgError[0].msg}</span></p>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!--- / ФОРМА --->
|
||||
|
||||
{include file='footer.light.tpl'}
|
||||
<div class="lite-center error">
|
||||
<h1>{$aLang.error}: {$aMsgError[0].title}</h1>
|
||||
<p>{$aMsgError[0].msg}</p>
|
||||
<p><a href="javascript:history.go(-1);">Вернуться назад</a> или <a href="{$DIR_WEB_ROOT}">перейти на главную</a></p>
|
||||
</div>
|
||||
|
||||
{include file='footer.light.tpl'}
|
4
templates/skin/new/footer.light.tpl
Normal file
4
templates/skin/new/footer.light.tpl
Normal file
|
@ -0,0 +1,4 @@
|
|||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
17
templates/skin/new/header.light.tpl
Normal file
17
templates/skin/new/header.light.tpl
Normal file
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru" xml:lang="ru">
|
||||
|
||||
<head>
|
||||
<title>{$sHtmlTitle}</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<!-- Styles -->
|
||||
<link rel="stylesheet" type="text/css" href="{$DIR_STATIC_SKIN}/css/style.css" />
|
||||
<!--[if IE 6]><link rel="stylesheet" type="text/css" href="{$DIR_STATIC_SKIN}/css/ie6.css" /><![endif]-->
|
||||
<!--[if gte IE 7]><link rel="stylesheet" type="text/css" href="{$DIR_STATIC_SKIN}/css/ie7.css" /><![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="container">
|
||||
<h1 class="lite-header"><a href="{$DIR_WEB_ROOT}">Live<span>Street</span></a></h1>
|
Loading…
Reference in a new issue