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