This version of AoWoW is based on https://github.com/udw/udwbase and is not yet usable. An initial amount of testing has been finished, and you can import the aowow.sql database into your world database, and create a local copy of config.php.in as config.php to test this version. FirePHP (http://firephp.org/) has been added for testing purposes. Signed-off-by: TheLuda <theluda@getmangos.com>
71 lines
2.9 KiB
Smarty
71 lines
2.9 KiB
Smarty
{config_load file="$conf_file"}
|
|
|
|
{include file='header.tpl'}
|
|
|
|
<div id="main">
|
|
|
|
<div id="main-precontents"></div>
|
|
|
|
<div id="main-contents" class="main-contents">
|
|
<script type="text/javascript">
|
|
{include file='bricks/allcomments.tpl'}
|
|
var g_pageInfo = {ldelim}type: {$page.type}, typeId: {$page.typeid}, name: '{$itemset.name|escape:"quotes"}'{rdelim};
|
|
g_initPath({$page.path});
|
|
</script>
|
|
|
|
<script type="text/javascript">
|
|
{if $allitems}
|
|
{include file='bricks/allitems_table.tpl' data=$allitems}
|
|
{/if}
|
|
{if $allspells}
|
|
{include file='bricks/allspells_table.tpl' data=$allspells}
|
|
{/if}
|
|
</script>
|
|
|
|
<table class="infobox">
|
|
<tr><th>{#Quick_Facts#}</th></tr>
|
|
<tr><td><div class="infobox-spacer"></div>
|
|
<ul>
|
|
<li><div>{#Level#}: {$itemset.minlevel}{if $itemset.minlevel!=$itemset.maxlevel - {$itemset.maxlevel}{/if}</div></li>{if $user.roles == 2}<li><div><a href="?admin.editarticle=5.{$itemset.entry}">{#Write_article#}</a></div></li>{/if}{if $itemset.Aflags & 2}<li><div>{#Not_Available_to_Players#}</div></li>{/if}{if $itemset.Aflags & 8}<li><div>{#No_Longer_Available_to_Players#}</div></li>{/if} {if $itemset.Aflags & 16}<li><div>{#Added_in_patch_24#}</div></li>{/if}
|
|
</ul>
|
|
</td></tr>
|
|
</table>
|
|
<script type="text/javascript">ss_appendSticky()</script>
|
|
|
|
<div class="text">
|
|
<a href="http://www.wowhead.com/?{$query}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Wowhead</span></div></a>
|
|
<h1>{$itemset.name}</h1>
|
|
{$itemset.article}
|
|
This {$itemset.count}-piece set includes the following items:
|
|
<table class="iconlist">
|
|
{section name=i loop=$itemset.pieces}<tr><th align="right" id="iconlist-icon{$smarty.section.i.index+1}"></th><td><span class="q{$itemset.pieces[i].quality}"><a href="?item={$itemset.pieces[i].entry}">{$itemset.pieces[i].name}</a></span></td></tr>{/section}
|
|
</table>
|
|
<script type="text/javascript">
|
|
{section name=i loop=$itemset.pieces}ge('iconlist-icon{$smarty.section.i.index+1}').appendChild(g_items.createIcon({$itemset.pieces[i].entry}, 0, 0));{/section}
|
|
</script>
|
|
<h3>Set Bonuses</h3>
|
|
|
|
Wearing more pieces of this set will convey bonuses to your character.
|
|
<ul>
|
|
{section name=i loop=$itemset.spells}<li><div>{$itemset.spells[i].bonus} pieces: <a href="?spell={$itemset.spells[i].entry}">{$itemset.spells[i].tooltip}</a></div></li>{/section}
|
|
</ul>
|
|
|
|
<h2>{#Related#}</h2>
|
|
|
|
</div>
|
|
|
|
<div id="tabs-generic"></div>
|
|
<div id="listview-generic" class="listview"></div>
|
|
<script type="text/javascript">
|
|
var tabsRelated = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim});
|
|
new Listview({ldelim}template: 'comment', id: 'comments', name: LANG.tab_comments, tabs: tabsRelated, parent: 'listview-generic', data: lv_comments{rdelim});
|
|
tabsRelated.flush();
|
|
</script>
|
|
|
|
{include file='bricks/contribute.tpl'}
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{include file='footer.tpl'}
|