source: extensions/simple_themes/simple/template/header.tpl @ 13554

Last change on this file since 13554 was 13554, checked in by plg, 12 years ago

import theme Simple version 2.4.3

  • add a #Tags id for tags list, for the user tags plugin
  • use inline-block instead of float left for thumbnails ans categories
  • print css: re-enable it in the header + improve it
  • update README + add debugging mode in themeconf
  • language strings
  • new script to tag a new version and generate a zip archive
File size: 3.7 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|@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>{$PAGE_TITLE} - {$GALLERY_TITLE}</title>
20  <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
21  <link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" >
22  <link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" >
23  {if isset($first.U_IMG)}
24  <link rel="first" title="{'First'|@translate}" href="{$first.U_IMG}" >
25  {/if}
26  {if isset($previous.U_IMG)}
27  <link rel="prev" title="{'Previous'|@translate}" href="{$previous.U_IMG}" >
28  {/if}
29  {if isset($next.U_IMG)}
30  <link rel="next" title="{'Next'|@translate}" href="{$next.U_IMG}" >
31  {/if}
32  {if isset($last.U_IMG)}
33  <link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >
34  {/if}
35  {if isset($U_UP)}
36  <link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >
37  {/if}
38
39{get_combined_css}
40{combine_css path="themes/simple/content.css" order="-10"}
41{foreach from=$themes item=theme}
42{if $theme.load_css}
43{combine_css path="themes/`$theme.id`/theme.css" order=-10}
44{/if}
45{if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}
46{/foreach}
47
48  <link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}themes/simple/print.css">
49
50  {if isset($U_PREFETCH)}<link rel="prefetch" href="{$U_PREFETCH}">{/if}
51  {if not empty($page_refresh)}
52  <meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">
53  {/if}
54  {if isset($U_FEED)}
55  <link rel="alternate" type="application/rss+xml" title="{'Image only RSS feed'|@translate}" href="{$U_FEED_IMAGE_ONLY}">
56  <link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed (images, comments)'|@translate}" href="{$U_FEED}">
57  {/if}
58
59  {get_combined_scripts load='header'}
60  {combine_script id='jquery' path='themes/default/js/jquery.min.js'}
61  {combine_script id='jquery.cookie' path='themes/simple/js/jquery.cookie.min.js'}
62  {combine_script id='rating' path='themes/default/js/rating.js'}
63  {combine_script id='core.scripts' path='themes/default/js/scripts.js'}
64  {combine_script id='simple.scripts' path='themes/simple/js/scripts.js'}
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|@regex_replace:'#<h1>(.*?)</h1>#is':"<h1><a href=\"$U_HOME\">\\1</a></h1>"}</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.