1 | <!DOCTYPE html> |
---|
2 | <html lang="{$lang_info.code}" dir="{$lang_info.direction}"> |
---|
3 | <head> |
---|
4 | <meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}"> |
---|
5 | <meta name="generator" content="Piwigo (aka PWG), see piwigo.org"> |
---|
6 | {if isset($meta_ref) } |
---|
7 | {if isset($INFO_AUTHOR)} |
---|
8 | <meta name="author" content="{$INFO_AUTHOR|strip_tags:false|replace:'"':' '}"> |
---|
9 | {/if} |
---|
10 | {if isset($related_tags)} |
---|
11 | <meta name="keywords" content="{foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}{$tag.name}{/foreach}"> |
---|
12 | {/if} |
---|
13 | {if isset($COMMENT_IMG)} |
---|
14 | <meta name="description" content="{$COMMENT_IMG|strip_tags:false|replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}"> |
---|
15 | {else} |
---|
16 | <meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}"> |
---|
17 | {/if} |
---|
18 | {/if} |
---|
19 | <title>{if $PAGE_TITLE!=l10n('Home') && $PAGE_TITLE!=$GALLERY_TITLE}{$PAGE_TITLE} | {/if}{$GALLERY_TITLE}</title> |
---|
20 | <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico"> |
---|
21 | |
---|
22 | <link rel="start" title="{'Home'|translate}" href="{$U_HOME}" > |
---|
23 | <link rel="search" title="{'Search'|translate}" href="{$ROOT_URL}search.php" > |
---|
24 | |
---|
25 | {if isset($first.U_IMG) }<link rel="first" title="{'First'|translate}" href="{$first.U_IMG}" >{/if} |
---|
26 | {if isset($previous.U_IMG)}<link rel="prev" title="{'Previous'|translate}" href="{$previous.U_IMG}" >{/if} |
---|
27 | {if isset($next.U_IMG) }<link rel="next" title="{'Next'|translate}" href="{$next.U_IMG}" >{/if} |
---|
28 | {if isset($last.U_IMG) }<link rel="last" title="{'Last'|translate}" href="{$last.U_IMG}" >{/if} |
---|
29 | {if isset($U_UP) }<link rel="up" title="{'Thumbnails'|translate}" href="{$U_UP}" >{/if} |
---|
30 | |
---|
31 | <link href="https://fonts.googleapis.com/css?family=Noto+Sans:400,700|Raleway:200,300,400,700,900" rel="stylesheet"> |
---|
32 | <link href="themes/Versa/font-awesome/css/font-awesome.min.css" rel='stylesheet' type='text/css'> |
---|
33 | |
---|
34 | {get_combined_css} |
---|
35 | {foreach from=$themes item=theme} |
---|
36 | {if $theme.load_css} |
---|
37 | {combine_css path="themes/`$theme.id`/theme.css" order=1} |
---|
38 | {/if} |
---|
39 | {if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if} |
---|
40 | {/foreach} |
---|
41 | |
---|
42 | |
---|
43 | {if isset($U_PREFETCH)}<link rel="prefetch" href="{$U_PREFETCH}">{/if} |
---|
44 | {if isset($U_CANONICAL)}<link rel="canonical" href="{$U_CANONICAL}">{/if} |
---|
45 | |
---|
46 | {if not empty($page_refresh) }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}#theImage">{/if} |
---|
47 | |
---|
48 | {get_combined_scripts load='header'} |
---|
49 | <!--[if lt IE 7]> |
---|
50 | <script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script> |
---|
51 | <![endif]--> |
---|
52 | |
---|
53 | {combine_script id="jquery" load="footer"} |
---|
54 | |
---|
55 | {if not empty($head_elements)} |
---|
56 | {foreach from=$head_elements item=elt}{$elt} |
---|
57 | {/foreach} |
---|
58 | {/if} |
---|
59 | |
---|
60 | </head> |
---|
61 | |
---|
62 | <body id="{$BODY_ID}"> |
---|
63 | <div id="the_page"> |
---|
64 | |
---|
65 | {if not empty($header_msgs)} |
---|
66 | <div class="header_msgs"> |
---|
67 | {foreach from=$header_msgs item=elt} |
---|
68 | {$elt}<br> |
---|
69 | {/foreach} |
---|
70 | </div> |
---|
71 | {/if} |
---|
72 | |
---|
73 | <header id="theHeader"> |
---|
74 | {$PAGE_BANNER} |
---|
75 | |
---|
76 | {if not empty({$PAGE_BANNER})} |
---|
77 | <div class="navbar"><!--Add your links here--></div> |
---|
78 | <div class="searchbar"><a href="search.php"><i class="fa fa-search"></i></a> |
---|
79 | <div class="searchbox"><form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;"> |
---|
80 | <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}> |
---|
81 | <input type="text" size="8" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;"> |
---|
82 | </p> |
---|
83 | </form></div> |
---|
84 | <script type="text/javascript">var qsearch_prompt="{'Quick search'|@translate|@escape:'javascript'}";{if empty($QUERY_SEARCH)}document.getElementById('qsearchInput').value=qsearch_prompt;{/if}</script> |
---|
85 | </div> |
---|
86 | {/if} |
---|
87 | |
---|
88 | </header> |
---|
89 | {if isset($theSwiftHeader)}{$theSwiftHeader}{/if} |
---|
90 | {if not empty($header_notes)} |
---|
91 | <div class="header_notes"> |
---|
92 | {foreach from=$header_notes item=elt} |
---|
93 | <p>{$elt}</p> |
---|
94 | {/foreach} |
---|
95 | </div> |
---|
96 | {/if} |
---|