source: trunk/template/yoga/header.tpl @ 4754

Last change on this file since 4754 was 3283, checked in by plg, 16 years ago

complement to r3282, remove all $Id$ in source code.

  • Property svn:eol-style set to LF
File size: 4.0 KB
RevLine 
[3041]1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
[2651]2<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
[859]3<head>
[2240]4<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}">
[2342]5<meta name="generator" content="Piwigo (aka PWG), see piwigo.org">
[3041]6{if isset($meta_ref) }
7{if isset($INFO_AUTHOR)}
[3120]8<meta name="author" content="{$INFO_AUTHOR|@replace:'"':' '}">
[3041]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)}
[3120]14<meta name="description" content="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
[3041]15{else}
16<meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
17{/if}
18{/if}
19
[3095]20{if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('home'))}
21<title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else}
22<title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if}
[2240]23<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}template-common/favicon.ico">
24
25<link rel="start" title="{'home'|@translate}" href="{$U_HOME}" >
[2289]26<link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" >
[2240]27{if isset($first.U_IMG)   }<link rel="first" title="{'first_page'|@translate}" href="{$first.U_IMG}" >{/if}
28{if isset($previous.U_IMG)}<link rel="prev" title="{'previous_page'|@translate}" href="{$previous.U_IMG}" >{/if}
29{if isset($next.U_IMG)    }<link rel="next" title="{'next_page'|@translate}" href="{$next.U_IMG}" >{/if}
30{if isset($last.U_IMG)    }<link rel="last" title="{'last_page'|@translate}" href="{$last.U_IMG}" >{/if}
31{if isset($U_UP)          }<link rel="up" title="{'thumbnails'|@translate}" href="{$U_UP}" >{/if}
32
33<link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/layout.css">
34{* the next css is used to fix khtml (Konqueror/Safari) issue the "text/nonsense" prevents gecko based browsers to load it *}
35<link rel="stylesheet" type="text/nonsense" href="{$ROOT_URL}template/{$themeconf.template}/fix-khtml.css">
[1181]36<!--[if lt IE 7]>
[2240]37        <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/fix-ie5-ie6.css">
[1181]38<![endif]-->
[1707]39<!--[if gt IE 6]>
[2240]40        <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/fix-ie7.css">
[1707]41<![endif]-->
[1832]42<!--[if !IE]> <-->
[2240]43        <link rel="stylesheet" href="{$ROOT_URL}template/{$themeconf.template}/not-ie.css" type="text/css">
[1832]44<!--> <![endif]-->
[2240]45<link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}template/{$themeconf.template}/print.css">
46<link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css">
47{$themeconf.local_head}
48{if isset($U_PREFETCH)          }<link rel="prefetch" href="{$U_PREFETCH}">{/if}
49
50{if not empty($page_refresh)    }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if}
51
52<script type="text/javascript" src="{$ROOT_URL}template-common/scripts.js"></script>
[1181]53<!--[if lt IE 7]>
[2240]54<style>
55        {* only because we need {$ROOT_URL} otherwise use fix-ie5-ie6.css *}
56        BODY {ldelim} behavior:url("{$ROOT_URL}template-common/csshover.htc"); }
57        A IMG, .button, .icon {ldelim}
58                behavior:url("{$ROOT_URL}template-common/tooltipfix.htc");
59        }
60        FORM {ldelim} behavior: url("{$ROOT_URL}template-common/inputfix.htc"); }
61</style>
62<script type="text/javascript" src="{$ROOT_URL}template-common/pngfix.js"></script>
[905]63<![endif]-->
[2240]64
65{if not empty($head_elements)}
[3041]66        {foreach from=$head_elements item=elt}{$elt}
67        {/foreach}
[2240]68{/if}
69
[859]70</head>
71
[2240]72<body id="{$BODY_ID}">
[859]73<div id="the_page">
[2240]74
75{if not empty($header_msgs)}
[1414]76<div class="header_msgs">
[2240]77        {foreach from=$header_msgs item=elt}
[3185]78        {$elt}<br>
[2240]79        {/foreach}
[1414]80</div>
[2240]81{/if}
82
83<div id="theHeader">{$PAGE_BANNER}</div>
[2487]84{if isset($theSwiftHeader)}{$theSwiftHeader}{/if}
[2240]85{if not empty($header_notes)}
[1677]86<div class="header_notes">
[2240]87        {foreach from=$header_notes item=elt}
88        <p>{$elt}</p>
89        {/foreach}
[1677]90</div>
[2240]91{/if}
Note: See TracBrowser for help on using the repository browser.