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

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

import theme Simple version 2.3

  • if cl_conflit is used, don't add jQuery.noConflict
  • fix the possibility to toggle visibility of image informations
  • show logout link when connected - thanks to gbo
  • update jquery to 1.4.4
  • backport commit from piwigo: r6244, r6430 & r6438
  • add gitignore
  • update javascripts + add script to combine/minify
  • apply r6594 from piwigo's trunk
  • move jquery in the header, using known_script
  • translation for the menu title
  • add 1px icon start_filter.png to avoid loading error with rvtree plugin
  • margin for error & info divs
File size: 3.4 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  <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  <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/simple/content.css">
40  {foreach from=$themes item=theme}
41  {if $theme.load_css}
42  <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/{$theme.id}/theme.css">
43  {/if}
44  {if !empty($theme.local_head)}{include file=$theme.local_head}{/if}
45  {/foreach}
46
47  {if isset($U_PREFETCH)}<link rel="prefetch" href="{$U_PREFETCH}">{/if}
48  {if not empty($page_refresh)}
49  <meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">
50  {/if}
51  {if isset($U_FEED)}
52  <link rel="alternate" type="application/rss+xml" title="{'Image only RSS feed'|@translate}" href="{$U_FEED_IMAGE_ONLY}">
53  <link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed (images, comments)'|@translate}" href="{$U_FEED}">
54  {/if}
55  {if not empty($head_elements)}
56    {foreach from=$head_elements item=elt}{$elt}
57    {/foreach}
58  {/if}
59  {known_script id="jquery" src=$ROOT_URL|@cat:"themes/simple/js/jquery-1.4.4.min.js"}
60  {known_script id="simplescripts" src=$ROOT_URL|@cat:"themes/simple/js/scripts.min.js"}
61  <script type="text/javascript">
62    document.documentElement.className = 'js';
63  </script>
64</head>
65<body id="{$BODY_ID}">
66<div id="the_page">
67  {if not empty($header_msgs)}
68  <div class="header_msgs">
69    {foreach from=$header_msgs item=elt}
70    <p>{$elt}</p>
71    {/foreach}
72  </div>
73  {/if}
74  <div id="theHeader">{$PAGE_BANNER|@regex_replace:'#<h1>(.*?)</h1>#is':"<h1><a href=\"$U_HOME\">\\1</a></h1>"}</div>
75  <!--  <div id="theHeader">{$PAGE_BANNER}</div>-->
76  {if isset($theSwiftHeader)}{$theSwiftHeader}{/if}
77  {if not empty($header_notes)}
78  <div class="header_notes">
79    {foreach from=$header_notes item=elt}
80    <p>{$elt}</p>
81    {/foreach}
82  </div>
83  {/if}
Note: See TracBrowser for help on using the repository browser.