1 | {php} global $Slim; $this->assign( 'Slim', $Slim );{/php} |
---|
2 | |
---|
3 | |
---|
4 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
---|
5 | <html lang="{$lang_info.code}" dir="{$lang_info.direction}"> |
---|
6 | <head> |
---|
7 | <meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}"> |
---|
8 | <meta name="generator" content="Piwigo (aka PWG), see piwigo.org"> |
---|
9 | {if isset($meta_ref) } |
---|
10 | {if isset($INFO_AUTHOR)} |
---|
11 | <meta name="author" content="{$INFO_AUTHOR|@strip_tags:false|@replace:'"':' '}"> |
---|
12 | {/if} |
---|
13 | {if isset($related_tags)} |
---|
14 | <meta name="keywords" content="{foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}{$tag.name}{/foreach}"> |
---|
15 | {/if} |
---|
16 | {if isset($COMMENT_IMG)} |
---|
17 | <meta name="description" content="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}"> |
---|
18 | {else} |
---|
19 | <meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}"> |
---|
20 | {/if} |
---|
21 | {/if} |
---|
22 | |
---|
23 | {if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('Home'))} |
---|
24 | <title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else} |
---|
25 | <title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if} |
---|
26 | <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico"> |
---|
27 | |
---|
28 | <link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" > |
---|
29 | <link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" > |
---|
30 | {if isset($first.U_IMG) }<link rel="first" title="{'First'|@translate}" href="{$first.U_IMG}" >{/if} |
---|
31 | {if isset($previous.U_IMG)}<link rel="prev" title="{'Previous'|@translate}" href="{$previous.U_IMG}" >{/if} |
---|
32 | {if isset($next.U_IMG) }<link rel="next" title="{'Next'|@translate}" href="{$next.U_IMG}" >{/if} |
---|
33 | {if isset($last.U_IMG) }<link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >{/if} |
---|
34 | {if isset($U_UP) }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if} |
---|
35 | |
---|
36 | {get_combined_css} |
---|
37 | {foreach from=$themes item=theme} |
---|
38 | {if $theme.load_css} |
---|
39 | {combine_css path="themes/`$theme.id`/theme.css" order=-10} |
---|
40 | {/if} |
---|
41 | {if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if} |
---|
42 | {/foreach} |
---|
43 | |
---|
44 | |
---|
45 | {if isset($U_PREFETCH) }<link rel="prefetch" href="{$U_PREFETCH}">{/if} |
---|
46 | |
---|
47 | {if not empty($page_refresh) }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if} |
---|
48 | |
---|
49 | |
---|
50 | <!--[if lt IE 7]> |
---|
51 | <script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script> |
---|
52 | <![endif]--> |
---|
53 | |
---|
54 | {if not empty($head_elements)} |
---|
55 | {foreach from=$head_elements item=elt}{$elt} |
---|
56 | {/foreach} |
---|
57 | {/if} |
---|
58 | |
---|
59 | {get_combined_scripts load='header'} |
---|
60 | |
---|
61 | |
---|
62 | {combine_script id='jquery.jcarousel' load='header' require='jquery' path='themes/Slim/js/jquery.jcarousel.min.js'} |
---|
63 | </head> |
---|
64 | |
---|
65 | |
---|
66 | <body id="{$BODY_ID}"> |
---|
67 | |
---|
68 | |
---|
69 | |
---|
70 | |
---|
71 | |
---|
72 | {if not empty($header_msgs)} |
---|
73 | <div class="header_msgs"> |
---|
74 | {foreach from=$header_msgs item=elt} |
---|
75 | {$elt}<br> |
---|
76 | {/foreach} |
---|
77 | </div> |
---|
78 | {/if} |
---|
79 | |
---|
80 | {if $BODY_ID != 'thePicturePage'} |
---|
81 | <div id="theHeader">{$PAGE_BANNER}</div> |
---|
82 | {/if} |
---|
83 | {if isset($theSwiftHeader)}{$theSwiftHeader}{/if} |
---|
84 | {if not empty($header_notes)} |
---|
85 | <div class="header_notes"> |
---|
86 | {foreach from=$header_notes item=elt} |
---|
87 | <p>{$elt}</p> |
---|
88 | {/foreach} |
---|
89 | </div> |
---|
90 | {/if} |
---|