Files
aowow/template/error.tpl
Sarjuuk 3f69a9ab49 - added announcements to titles and error-page
- file inclusion:
    - now only require without brackets
    - classes for ListTypes are auto-loaded
- (minor) empty array to new syntax (php5+)
2013-03-04 22:57:51 +01:00

35 lines
1.1 KiB
Smarty

{include file='header.tpl'}
<div id="main">
<div id="main-precontents"></div>
<div id="main-contents" class="main-contents">
{if !empty($announcements)}
{foreach from=$announcements item=item}
{include file='bricks/announcement.tpl' an=$item}
{/foreach}
{/if}
<div class="text">
<h1>{$lang.errNotFound}</h1>
<div class="left">
{$lang.errPage}
<h2 id="links">{$lang.links}</h2>
<ul class="last">
<li>
<div>
{$lang.goStart}
</div>
</li>
<li>
<div>
{$lang.goForum}
</div>
</li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
</div>
{include file='footer.tpl'}