source: extensions/stripped/local_head.tpl @ 12547

Last change on this file since 12547 was 12547, checked in by Zaphod, 12 years ago

version 2.0.0

File size: 1.6 KB
Line 
1{php}
2        global $template, $stripped;
3        $template->assign( 'stripped', $stripped );
4{/php}
5
6{if $load_css}
7        <!--[if lt IE 7]>
8                <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/stripped/fix-ie5-ie6.css">
9        <![endif]-->
10        <!--[if lt IE 8]>
11                <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/stripped/fix-ie7.css">
12        <![endif]-->
13        {combine_css path="themes/default/print.css" order=-10}
14
15        {if !$stripped.noLowercase}
16                {combine_css path="themes/`$theme.id`/lowercase.css" order=-9}
17        {/if}
18
19        {if ($stripped.themeStyle == 'black') }
20                {combine_css path="themes/`$theme.id`/theme-black.css" order=-8}
21        {else}
22                {if ($stripped.themeStyle == 'white') }
23                        {combine_css path="themes/`$theme.id`/theme-white.css" order=-8}
24                {else}
25                        {combine_css path="themes/`$theme.id`/theme-original.css" order=-8}
26                {/if}
27        {/if}
28
29{/if}
30
31{if $BODY_ID=='theCategoryPage' || $BODY_ID=='thePicturePage'}
32        {include file='config.js.tpl'}
33{/if}
34
35{if ($BODY_ID=='theCategoryPage')}
36        {combine_script id='scripts-tcp' load='header' require='jquery.effects.blind' path='themes/stripped/js/scripts-tcp.js'}
37{/if}
38
39{if $BODY_ID=='thePicturePage'}
40        {combine_script id='scripts-tpp' load='header' require='jquery' path='themes/stripped/js/scripts-tpp.js'}
41{/if}
42
43{if isset($stripped.imagePreload)}
44        {combine_script id='preload' load='header' require='jquery' path='themes/stripped/js/preload.js'}
45{/if}
46
47<script type="text/javascript">
48        document.documentElement.className = 'js';
49</script>
50
51{if !$stripped.thumbFrame}
52        <script type="text/javascript">
53                document.documentElement.className = 'ntfd';
54                document.documentElement.className = 'js ntf';
55        </script>
56{/if}
57       
Note: See TracBrowser for help on using the repository browser.