mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
simple listview-pages now use one shared template (instead of having the same file multiple times) some bug fixing here and there - achievement: faction is no longer out of range (need to reparse the faction :/) - item: quality is prepended to the name again and wont be left out in case of heirlooms (is 0) - general: forgot to change some error()-calls in index - and some more wich i forgot..
27 lines
1.0 KiB
Smarty
27 lines
1.0 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}
|
|
|
|
<script type="text/javascript">g_initPath([1,3])</script>
|
|
<div class="text">
|
|
<div id="compare-generic"></div>
|
|
<script type="text/javascript">//<![CDATA[
|
|
{foreach name=cmpItems from=$lvData.items item=curr}
|
|
g_items.add({$curr[0]}, {ldelim}name_{$user.language}:'{$curr[1]}', quality:{$curr[2]}, icon:'{$curr[3]}', jsonequip:{$curr[4]}{rdelim});
|
|
{/foreach}
|
|
new Summary({ldelim}template:'compare',id:'compare',parent:'compare-generic',groups:{$lvData.summary}{rdelim});
|
|
//]]></script>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</div>
|
|
|
|
{include file='footer.tpl'}
|