source: extensions/stripped/local_head.tpl @ 23177

Last change on this file since 23177 was 21866, checked in by flop25, 12 years ago

compatibility with Piwigo 2.5+
http://piwigo.org/doc/doku.php?id=dev:changes_in_2.5#jquery_ui_19

File size: 1.5 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{include file='config.js.tpl'}
36
37{if $BODY_ID=='thePicturePage'}
38        {combine_script id='scripts-tpp' load='header' require='jquery' path='themes/stripped/js/scripts-tpp.js'}
39{else}
40        {combine_script id='scripts-tcp' load='header' require='jquery.ui.effect-blind' path='themes/stripped/js/scripts-tcp.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>
Note: See TracBrowser for help on using the repository browser.