1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-28 20:45:00 +03:00

Страница ошибки

This commit is contained in:
Mzhelskiy Maxim 2009-02-07 09:43:46 +00:00
parent 9001ed692e
commit 95761225f1
4 changed files with 28 additions and 18 deletions

View file

@ -26,6 +26,7 @@ class ActionError extends Action {
*/
public function Init() {
$this->SetDefaultEvent('index');
Router::SetIsShowStats(false);
}
/**
* Регистрируем евент

View file

@ -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'}

View file

@ -0,0 +1,4 @@
</div>
</body>
</html>

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