source: aowow/templates/wowhead/search.tpl

Last change on this file was 170, checked in by maron, 15 years ago
  • Property svn:executable set to *
File size: 1.8 KB
Line 
1{include file='header.tpl'}
2<div id="main">
3 <div id="main-precontents"></div>
4 <div class="main-contents" id="main-contents">
5{if $found}
6 <div class="text">
7 <a href="http://www.wowhead.com/?{$query}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Wowhead</span></div></a>
8 <h1>{#Search_results_for#} <i>{$search|escape:"html"}</i></h1>
9 </div>
10 <div id="tabs-generic"></div>
11 <div id="listview-generic" class="listview"></div>
12<script type="text/javascript">
13{if $allitems}{include file='bricks/allitems_table.tpl' data=$allitems}{/if}
14{if $allspells}{include file='bricks/allspells_table.tpl' data=$allspells}{/if}
15var myTabs = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim});
16{if $found.item}{include file='bricks/item_table.tpl' id='items' name='items' tabsid='myTabs' data=$found.item }{/if}
17{if $found.npc}{include file='bricks/creature_table.tpl' id='npcs' name='npcs' tabsid='myTabs' data=$found.npc }{/if}
18{if $found.object}{include file='bricks/object_table.tpl' id='objects' name='objects' tabsid='myTabs' data=$found.object }{/if}
19{if $found.quest}{include file='bricks/quest_table.tpl' id='quests' name='quests' tabsid='myTabs' data=$found.quest }{/if}
20{if $found.itemset}{include file='bricks/itemset_table.tpl' id='itemsets' name='itemsets' tabsid='myTabs' data=$found.itemset }{/if}
21{if $found.spell}{include file='bricks/spell_table.tpl' id='spells' name='uncategorizedspells' tabsid='myTabs' data=$found.spell }{/if}
22myTabs.flush();
23</script>
24 <div class="clear"></div>
25 {else}
26 <div class=text>
27 <a href="http://www.wowhead.com/?{$query}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Wowhead</span></div></a>
28 <h1>{#Search_results_for#} <i>{$search|escape:"html"}</i></h1>
29 </div>
30 {/if}
31 </div>
32 </div>
33{include file='footer.tpl'}
Note: See TracBrowser for help on using the repository browser.