aowow/template/header.tpl
Sarjuuk 8d3698d466 initial commit
features:
- tool - Maps:
   * finally supports multi-layered zones
   * should also support icons if needed (questgiver, ect)

- tool - Item Comparison:
   * fully functional (yes, that includes heirlooms and items with random props)
   * may throw a minor js-error if using arrow-keys/esc/ret in input-fields in the LightboxPopus (but wowhead does also)
   * icons for prismatic sockets are not displayed if no other sockets are present (calculation is correct though)
   * modelviewer will still 'call home'

- tool - Talent Calculator:
   * got rid of a VERY dirty hack for the icons (they are now supplied as texture, not laoded one at a time)
   * glyphs should also be a bit more informative
   * talent data is pulled from static file, that should a) speed up load and b) prevent lockups if it cant be generated on the fly
   * you can now set the level for your build, which affects available talent points, glyphs and glyph-slots

- tool - Pet Calculator:
   * initial implementation; basically the same as the Talent Calculator

- general concept changed:
   * dropped ajax.php; json is now supplied by the appropriate page if &json is appended to the url
   * search.php and opensearch.php are being merged; again, output will depend on the appended parameter (&openserach, &json)
   * data included via data.php will be static and assembled only on installation and when the database changes (should speed up load)
   * locale strings are now in a single file instead of being split up to the template
   * still getting rid of criss-cross-includes, global variables and string-defines
2012-12-19 00:53:36 +01:00

42 lines
2.6 KiB
Smarty

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
{include file='head.tpl'}
</head>
<body>
<div id="layers"></div>
<!--[if lte IE 6]><table id="ie6layout"><tr><th class="ie6layout-th"></th><td id="ie6layout-td"><div id="ie6layout-div"></div><![endif]-->
<div id="layout">
<div id="header">
<div id="header-logo">
<a href="."></a>
<h1>{$page.title|escape:"html"}</h1>
</div>
</div>
<div id="wrapper" class="nosidebar">
<div id="toptabs">
<div id="toptabs-inner">
<div id="toptabs-right">
{if $user.id}<a id="toptabs-menu-profiles">{$lang.profiles}</a>|<a id="toptabs-menu-user">{$user.name}</a></a>{else}<a href="?account=signin">{$lang.signIn}</a>{/if}
|<a href="javascript:;" id="toptabs-menu-language">{$lang.language} <small>&#9660;</small></a>
<script type="text/javascript">g_initHeaderMenus()</script>
</div>
<div id="toptabs-generic"></div>
<div class="clear"></div>
</div>
</div>
<div id="topbar-right"><div><form action="."><a href="javascript:;"></a><input name="search" size="35" value="" id="livesearch-generic" /></form></div></div>
<div id="topbar"><span id="topbar-generic" class="menu-buttons"></span><div class="clear"></div></div>
{strip}<script type="text/javascript">
g_initHeader({$page.tab});
LiveSearch.attach(ge('livesearch-generic'));
{if isset($data.gAchievements)} { include file='bricks/allachievements_table.tpl' data=$data.gAchievements }{/if}
{if isset($data.gClasses)} { include file='bricks/allclasses_table.tpl' data=$data.gClasses }{/if}
{if isset($data.gCurrencies)} { include file='bricks/allcurrencies_table.tpl' data=$data.gCurrencies }{/if}
{if isset($data.gItems)} { include file='bricks/allitems_table.tpl' data=$data.gItems }{/if}
{if isset($data.gRaces)} { include file='bricks/allraces_table.tpl' data=$data.gRaces }{/if}
{if isset($data.gSpells)} { include file='bricks/allspells_table.tpl' data=$data.gSpells }{/if}
{if isset($data.gTitles)} { include file='bricks/alltitles_table.tpl' data=$data.gTitles }{/if}
{* TODO: Factions, Quests, NPCs, Objects, g_gatheredzones(?) *}
</script>{/strip}