- items: allow 'upg' to be an array - filter: fixed logic error in checks - Markup: prevent handling of [menu], as PageTemplate is nyi - Power: advanced features (hide reagents or sellprice; recoloring, renaming, iconizing of links) - search: side-icon for titles - smarty: added template-vars to cache (has to be fixed sooner or later) - identify as HTML5 (fixed a strange bug with displaced list-pegs) - removed several typos
39 lines
1.1 KiB
Smarty
39 lines
1.1 KiB
Smarty
{include file='header.tpl'}
|
|
|
|
<div class="main" id="main">
|
|
<div class="main-precontents" id="main-precontents"></div>
|
|
<div class="main-contents" id="main-contents">
|
|
|
|
{if !empty($announcements)}
|
|
{foreach from=$announcements item=item}
|
|
{include file='bricks/announcement.tpl' an=$item}
|
|
{/foreach}
|
|
{/if}
|
|
|
|
<script type="text/javascript">//<![CDATA[
|
|
var g_pageInfo = {ldelim}type: {$type}, typeId: {$typeId}, name: '{$name|escape:"quotes"}'{rdelim};
|
|
g_initPath({$path});
|
|
//]]></script>
|
|
|
|
<div class="text">
|
|
<h1>{$name}</h1>
|
|
|
|
{include file='bricks/article.tpl'}
|
|
|
|
{if isset($extraText)}
|
|
<div id="text-generic" class="left"></div>
|
|
<script type="text/javascript">//<![CDATA[
|
|
Markup.printHtml("{$extraText}", "text-generic", {strip}{ldelim}
|
|
allow: Markup.CLASS_ADMIN,
|
|
dbpage: true
|
|
{rdelim}{/strip});
|
|
//]]></script>
|
|
|
|
<div class="pad2"></div>
|
|
{/if}
|
|
|
|
</div>
|
|
</div><!-- main-contents -->
|
|
</div><!-- main -->
|
|
|
|
{include file='footer.tpl'}
|