source: extensions/stripped/local_head.tpl @ 12548

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

version 2.0.1

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