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

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

import theme Simple version 2.2

  • fix the calendar's pages
  • update picture.tpl (download, favorites, metadata, rating)
  • change the way to hide blocks in JS, without <noscript>, thanks to VDigital & nicolas
  • update jquery to 1.4.2
  • remove standard deviation for votes
File size: 3.2 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)   }<link rel="first" title="{'First'|@translate}" href="{$first.U_IMG}" >{/if}
24  {if isset($previous.U_IMG)}<link rel="prev" title="{'Previous'|@translate}" href="{$previous.U_IMG}" >{/if}
25  {if isset($next.U_IMG)    }<link rel="next" title="{'Next'|@translate}" href="{$next.U_IMG}" >{/if}
26  {if isset($last.U_IMG)    }<link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >{/if}
27  {if isset($U_UP)          }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if}
28
29  <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/simple/content.css">
30  {foreach from=$themes item=theme}
31  {if $theme.load_css}
32  <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/{$theme.id}/theme.css">
33  {/if}
34  {if isset($theme.local_head)}{include file=$theme.local_head}{/if}
35  {/foreach}
36
37  {if isset($U_PREFETCH)}<link rel="prefetch" href="{$U_PREFETCH}">{/if}
38  {if not empty($page_refresh)}<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if}
39  {if isset($U_FEED)}
40  <link rel="alternate" type="application/rss+xml" title="{'Image only RSS feed'|@translate}" href="{$U_FEED_IMAGE_ONLY}">
41  <link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed (images, comments)'|@translate}" href="{$U_FEED}">
42  {/if}
43  {if not empty($head_elements)}
44    {foreach from=$head_elements item=elt}{$elt}
45    {/foreach}
46  {/if}
47  <script type="text/javascript">
48    document.documentElement.className = 'js';
49  </script>
50</head>
51<body id="{$BODY_ID}">
52<div id="the_page">
53  {if not empty($header_msgs)}
54  <div class="header_msgs">
55    {foreach from=$header_msgs item=elt}
56    <p>{$elt}</p>
57    {/foreach}
58  </div>
59  {/if}
60  <div id="theHeader">{$PAGE_BANNER|@regex_replace:'#<h1>(.*?)</h1>#is':"<h1><a href=\"$U_HOME\">\\1</a></h1>"}</div>
61  <!--  <div id="theHeader">{$PAGE_BANNER}</div>-->
62  {if isset($theSwiftHeader)}{$theSwiftHeader}{/if}
63  {if not empty($header_notes)}
64  <div class="header_notes">
65    {foreach from=$header_notes item=elt}
66    <p>{$elt}</p>
67    {/foreach}
68  </div>
69  {/if}
Note: See TracBrowser for help on using the repository browser.