| 1 | {config_load file="$conf_file"}
|
|---|
| 2 |
|
|---|
| 3 | {include file='header.tpl'}
|
|---|
| 4 |
|
|---|
| 5 | <div id="main">
|
|---|
| 6 |
|
|---|
| 7 | <div id="main-precontents"></div>
|
|---|
| 8 | <div id="main-contents" class="main-contents">
|
|---|
| 9 |
|
|---|
| 10 | <script type="text/javascript">
|
|---|
| 11 | {include file='bricks/allcomments.tpl'}
|
|---|
| 12 | var g_pageInfo = {ldelim}type: {$page.type}, typeId: {$page.typeid}, name: '{$object.name|escape:"quotes"}'{rdelim};
|
|---|
| 13 | g_initPath({$page.path});
|
|---|
| 14 | </script>
|
|---|
| 15 |
|
|---|
| 16 | {if isset($object.key) or isset($object.lockpicking) or isset($object.mining) or isset($object.herbalism)}
|
|---|
| 17 | <table class="infobox">
|
|---|
| 18 | <tr><th>{#Quick_Facts#}</th></tr>
|
|---|
| 19 | <tr><td><div class="infobox-spacer"></div>
|
|---|
| 20 | <ul>
|
|---|
| 21 | {if isset($object.key)}<li><div>{#Key#}: <a class="q{$object.key.quality}" href="?item={$object.key.id}">[{$object.key.name}]</a></div></li>{/if}
|
|---|
| 22 | {if isset($object.lockpicking)}<li><div>{#Lockpickable#} (<span class="tip" onmouseover="Tooltip.showAtCursor(event, '{#Required_lockpicking_skill#}', 0, 0, 'q')" onmousemove="Tooltip.cursorUpdate(event)" onmouseout="Tooltip.hide()">{$object.lockpicking}</span>)</div></li>{/if}
|
|---|
| 23 | {if isset($object.mining)}<li><div>{#Mining#} (<span class="tip" onmouseover="Tooltip.showAtCursor(event, '{#Required_mining_skill#}', 0, 0, 'q')" onmousemove="Tooltip.cursorUpdate(event)" onmouseout="Tooltip.hide()">{$object.mining}</span>)</div></li>{/if}
|
|---|
| 24 | {if isset($object.herbalism)}<li><div>{#Herb#} (<span class="tip" onmouseover="Tooltip.showAtCursor(event, '{#Required_herb_skill#}', 0, 0, 'q')" onmousemove="Tooltip.cursorUpdate(event)" onmouseout="Tooltip.hide()">{$object.herbalism}</span>)</div></li>{/if}
|
|---|
| 25 | </ul>
|
|---|
| 26 | </td></tr>
|
|---|
| 27 | </table>
|
|---|
| 28 | {/if}
|
|---|
| 29 |
|
|---|
| 30 | <div class="text">
|
|---|
| 31 | <a href="http://wowpreklad.zdechov.net/TranslationList.php?group=5&state=0&text=&entry={$object.entry}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Překládat</span></div></a>
|
|---|
| 32 | <a href="http://www.wowhead.com/?{$query}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Wowhead</span></div></a>
|
|---|
| 33 | <h1>{$object.name}</h1>
|
|---|
| 34 |
|
|---|
| 35 | {if $zonedata}
|
|---|
| 36 | {#This_Object_can_be_found_in#}
|
|---|
| 37 | {strip}
|
|---|
| 38 | <span id="locations">
|
|---|
| 39 | {foreach from=$zonedata item=zone_c name=zone_f}
|
|---|
| 40 | <a href="javascript:;" onclick="
|
|---|
| 41 | myMapper.update(
|
|---|
| 42 | {ldelim}
|
|---|
| 43 | zone: {$zone_c.zone},
|
|---|
| 44 | coords: [
|
|---|
| 45 | {foreach from=$exdata[$smarty.foreach.zone_f.index] item=exdata_c name=exdata_f}
|
|---|
| 46 | {if ($exdata_c.x and $exdata_c.y)}
|
|---|
| 47 | [{$exdata_c.x},{$exdata_c.y},
|
|---|
| 48 | {ldelim}
|
|---|
| 49 | label:'$<br>
|
|---|
| 50 | <div class=q0>
|
|---|
| 51 | <small>{#Respawn#}:
|
|---|
| 52 | {if isset($exdata_c.r.h)} {$exdata_c.r.h}{#hr#}{/if}
|
|---|
| 53 | {if isset($exdata_c.r.m)} {$exdata_c.r.m}{#min#}{/if}
|
|---|
| 54 | {if isset($exdata_c.r.s)} {$exdata_c.r.s}{#sec#}{/if}
|
|---|
| 55 | </small>
|
|---|
| 56 | </div>',type:'0'
|
|---|
| 57 | {rdelim}]
|
|---|
| 58 | {if $smarty.foreach.exdata_f.last}{else},{/if}
|
|---|
| 59 | {/if}
|
|---|
| 60 | {/foreach}
|
|---|
| 61 | ]
|
|---|
| 62 | {rdelim});
|
|---|
| 63 | g_setSelectedLink(this, 'mapper'); return false" onmousedown="return false">
|
|---|
| 64 | {$zone_c.name}</a>{if $zone_c.count>1} ({$zone_c.count}){/if}{if $smarty.foreach.zone_f.last}.{else}, {/if}
|
|---|
| 65 | {/foreach}
|
|---|
| 66 | </span>
|
|---|
| 67 | {/strip}
|
|---|
| 68 | <div id="mapper-generic"></div>
|
|---|
| 69 | <div class="clear"></div>
|
|---|
| 70 | {literal}
|
|---|
| 71 | <script type="text/javascript">
|
|---|
| 72 | var myMapper = new Mapper({parent: 'mapper-generic', zone: '{$zonedata[0].zone}'});
|
|---|
| 73 | gE(ge('locations'), 'a')[0].onclick();
|
|---|
| 74 | </script>
|
|---|
| 75 | {/literal}
|
|---|
| 76 |
|
|---|
| 77 | {else}
|
|---|
| 78 | {#This_Object_cant_be_found#}
|
|---|
| 79 | {/if}
|
|---|
| 80 |
|
|---|
| 81 | {if isset($object.pagetext)}
|
|---|
| 82 | <h3>Content</h3>
|
|---|
| 83 | <div id="book-generic"></div>
|
|---|
| 84 | {strip}
|
|---|
| 85 | <script>
|
|---|
| 86 | new Book({ldelim} parent: 'book-generic', pages: [
|
|---|
| 87 | {foreach from=$object.pagetext item=pagetext name=j}
|
|---|
| 88 | '{$pagetext|escape:"javascript"}'
|
|---|
| 89 | {if $smarty.foreach.j.last}{else},{/if}
|
|---|
| 90 | {/foreach}
|
|---|
| 91 | ]{rdelim})
|
|---|
| 92 | </script>
|
|---|
| 93 | {/strip}
|
|---|
| 94 | {/if}
|
|---|
| 95 | <h2>{#Related#}</h2>
|
|---|
| 96 |
|
|---|
| 97 | </div>
|
|---|
| 98 |
|
|---|
| 99 | <div id="tabs-generic"></div>
|
|---|
| 100 | <div id="listview-generic" class="listview"></div>
|
|---|
| 101 | <script type="text/javascript">
|
|---|
| 102 | {if isset($allitems)}{include file='bricks/allitems_table.tpl' data=$allitems}{/if}
|
|---|
| 103 | var tabsRelated = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim});
|
|---|
| 104 | {if isset($object.drop)}{include file='bricks/item_table.tpl' id='contains' name='contains' tabsid='tabsRelated' data=$object.drop}{/if}
|
|---|
| 105 | {if isset($object.starts)}{include file='bricks/quest_table.tpl' id='starts' name='starts' tabsid='tabsRelated' data=$object.starts}{/if}
|
|---|
| 106 | {if isset($object.ends)}{include file='bricks/quest_table.tpl' id='ends' name='ends' tabsid='tabsRelated' data=$object.ends}{/if}
|
|---|
| 107 | new Listview({ldelim}template: 'comment', id: 'comments', name: LANG.tab_comments, tabs: tabsRelated, parent: 'listview-generic', data: lv_comments{rdelim});
|
|---|
| 108 | tabsRelated.flush();
|
|---|
| 109 | </script>
|
|---|
| 110 |
|
|---|
| 111 | {include file='bricks/contribute.tpl'}
|
|---|
| 112 |
|
|---|
| 113 | </div>
|
|---|
| 114 | </div>
|
|---|
| 115 | </div>
|
|---|
| 116 |
|
|---|
| 117 | {include file='footer.tpl'}
|
|---|