mirror of
https://github.com/brian8544/turtle-wow.git
synced 2024-12-29 02:44:34 +00:00
52 lines
2.4 KiB
Smarty
52 lines
2.4 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: '{$faction.name|escape:"quotes"}'{rdelim};
|
|
g_initPath({$page.path});
|
|
</script>
|
|
<table class="infobox">
|
|
<tr><th>{#Quick_Facts#}</th></tr>
|
|
<tr><td>
|
|
<div class="infobox-spacer"></div>
|
|
<ul>
|
|
{if isset($faction.group)}<li><div>{#Group#}: {$faction.group}</div></li>{/if}
|
|
{if isset($faction.side)}<li><div>{#Side#}: {if $faction.side==1}<span class="alliance-icon">{#Alliance#}</span>{elseif $faction.side==2}<span class="horde-icon">{#Horde#}</span>{/if}</div></li>{/if}
|
|
</ul>
|
|
</td></tr>
|
|
</table>
|
|
<script type="text/javascript">ss_appendSticky()</script>
|
|
<div class="text">
|
|
<h1>{$faction.name}</h1>
|
|
{$faction.description1}
|
|
{if $faction.description1}<h1></h1>{/if}
|
|
{$faction.description2}
|
|
<div class="article-footer">Article ported from <a href="http://www.wowwiki.com/" target="_blank" class="q0">WoWWiki</a>– <a href="http://www.wowwiki.com/{$faction.name}" target="_blank" class="q0">Read more</a><br />Licensed under <a href="http://www.gnu.org/copyleft/fdl.html" target="_blank" class="q0">GFDL</a></div>
|
|
<h2>{#Related#}</h2>
|
|
</div>
|
|
<div id="tabs-generic"></div>
|
|
<div id="listview-generic" class="listview"></div>
|
|
<script type="text/javascript">
|
|
{if isset($allitems)}{include file='bricks/allitems_table.tpl' data=$allitems}{/if}
|
|
var tabsRelated = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim});
|
|
{if isset($faction.items)}{include file='bricks/item_table.tpl' id='items' name='items' tabsid='tabsRelated' data=$faction.items}{/if}
|
|
{if isset($faction.npcs)}{include file='bricks/creature_table.tpl' id='npcs' name='members' tabsid='tabsRelated' data=$faction.npcs}{/if}
|
|
{if isset($faction.quests)}{include file='bricks/quest_table.tpl' id='quests' name='quests' tabsid='tabsRelated' data=$faction.quests}{/if}
|
|
{*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'}
|