source: extensions/stripped/template/header.tpl @ 9960

Last change on this file since 9960 was 9960, checked in by Zaphod, 13 years ago

[extension] stripped - version 1.3.0

File size: 3.6 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
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|@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
20  {if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('Home'))}
21        <title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>
22{else}
23        <title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>
24{/if}
25 
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        {if isset($U_PREFETCH)}<link rel="prefetch" href="{$U_PREFETCH}">{/if}
45 
46        {if not empty($page_refresh)}<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if}
47 
48        {get_combined_scripts load='header'}
49 
50        {if $BODY_ID=='theCategoryPage' || $BODY_ID=='thePicturePage'}
51                {include file='config.js.tpl'}
52        {/if}
53
54        {if ($BODY_ID=='theCategoryPage')}
55                {combine_script id='scripts-tcp' load='header' require='jquery.effects.blind' path='themes/stripped/js/scripts-tcp.js'}
56        {/if}
57
58        {if $BODY_ID=='thePicturePage'}
59                {combine_script id='scripts-tpp' load='header' require='jquery' path='themes/stripped/js/scripts-tpp.js'}
60        {/if}
61
62        {if ($BODY_ID=='theMapListPage')}
63                {combine_script id='scripts-tml' load='header' require='jquery' path='themes/stripped/js/scripts-tml.js'}
64        {/if}
65
66  {if not empty($head_elements)}
67    {foreach from=$head_elements item=elt}{$elt}
68    {/foreach}
69  {/if}
70  <script type="text/javascript">
71    document.documentElement.className = 'js';
72  </script>
73</head>
74<body id="{$BODY_ID}">
75<div id="the_page">
76  {if not empty($header_msgs)}
77  <div class="header_msgs">
78    {foreach from=$header_msgs item=elt}
79    <p>{$elt}</p>
80    {/foreach}
81  </div>
82  {/if}
83  <div id="theHeader">{$PAGE_BANNER}</div>
84  <!--  <div id="theHeader">{$PAGE_BANNER}</div>-->
85  {if isset($theSwiftHeader)}{$theSwiftHeader}{/if}
86  {if not empty($header_notes)}
87  <div class="header_notes">
88    {foreach from=$header_notes item=elt}
89    <p>{$elt}</p>
90    {/foreach}
91  </div>
92  {/if}
Note: See TracBrowser for help on using the repository browser.