aowow/template/head.tpl
Sarjuuk 21f50ae2cd * tabs 2 spaces in some *.js and *.css
* updated Summary.js (Item Comparison)
 - can now manage custom weightscales, when logged in
 - can now apply weightscales to rank search results
 - CAN NOT yet search for items with a certain scale alone, as i haven't figured out yet how to design the database for that
* sorted and commented basic.css
* some missing imagery
* some cleanup

(my todoStack just got less inhuman in size)
2013-06-18 23:31:58 +02:00

45 lines
2.6 KiB
Smarty

<title>{if $page.title}{$page.title|escape:"html"} - {/if}{$appName}</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link rel="SHORTCUT ICON" href="template/images/favicon.ico">
<link rel="stylesheet" type="text/css" href="template/css/basic.css?{$AOWOW_REVISION}" />
<link rel="stylesheet" type="text/css" href="template/css/global.css?{$AOWOW_REVISION}" />
<link rel="stylesheet" type="text/css" href="template/css/locale_{$user.language}.css?{$AOWOW_REVISION}" />
<!--[if IE]><link rel="stylesheet" type="text/css" href="template/css/global_ie.css?{$AOWOW_REVISION}" /><![endif]-->
<!--[if lte IE 6]><link rel="stylesheet" type="text/css" href="template/css/global_ie6.css?{$AOWOW_REVISION}" /><![endif]-->
<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="template/css/global_ie67.css?{$AOWOW_REVISION}" /><![endif]-->
{foreach from=$page.reqCSS item=css}
{if isset($css.string)}
<style type="text/css">{$css.string}</style>
{else}
{if $css.condition}<!--[if {$css.condition}]>{/if}<link rel="stylesheet" type="text/css" href="{$css.path}?{$AOWOW_REVISION}" />{if $css.condition}<![endif]-->{/if}
{/if}
{/foreach}
<script type="text/javascript">
var g_serverTime = new Date('{$smarty.now|date_format:"%Y/%m/%d %H:%M:%S"}');
var g_staticUrl = "{$smarty.const.STATIC_URL}";
</script>
<script src="template/js/basic.js?{$AOWOW_REVISION}" type="text/javascript"></script>
<script src="power/aowowPower.js?lang={$user.language|substr:2}" type="text/javascript"></script>
<script src="template/js/locale_{$user.language}.js?{$AOWOW_REVISION}" type="text/javascript"></script>
<script src="template/js/global.js?{$AOWOW_REVISION}" type="text/javascript"></script>
<script src="template/js/Markup.js?{$AOWOW_REVISION}" type="text/javascript"></script>
{foreach from=$page.reqJS item=file}
<script src="{$file.path}{*?$AOWOW_REVISION*}" type="text/javascript"></script>
{/foreach}
<script type="text/javascript">
var g_locale = {ldelim} id:{$user.locale}, name:'{$user.language}' {rdelim};
var g_user = {ldelim} {strip}
commentban:false,
ratingban:false,
id:{$user.id},
name:'{$user.name|escape:"quotes"}',
roles:{$user.roles},
permissions:{$user.perms}
{if isset($user.chars)}, characters: {$user.chars} {/if}
{if isset($user.profiles)}, profiles: {$user.profiles}{/if}
{if isset($user.weights)}, weightscales: {$user.weights}{/if}
{/strip} {rdelim};
</script>