source: trunk/themes/default/template/header.tpl @ 18637

Last change on this file since 18637 was 18637, checked in by rvelices, 12 years ago

bug 2772: remove "Home" from html title pages on index pages

  • Property svn:eol-style set to LF
File size: 2.9 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}{if $PAGE_TITLE!=$GALLERY_TITLE} | {$GALLERY_TITLE}{/if}</title>
20<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
21
22<link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" >
23<link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" >
24{if isset($first.U_IMG)   }<link rel="first" title="{'First'|@translate}" href="{$first.U_IMG}" >{/if}
25{if isset($previous.U_IMG)}<link rel="prev" title="{'Previous'|@translate}" href="{$previous.U_IMG}" >{/if}
26{if isset($next.U_IMG)    }<link rel="next" title="{'Next'|@translate}" href="{$next.U_IMG}" >{/if}
27{if isset($last.U_IMG)    }<link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >{/if}
28{if isset($U_UP)          }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if}
29
30{get_combined_css}
31{foreach from=$themes item=theme}
32{if $theme.load_css}
33{combine_css path="themes/`$theme.id`/theme.css" order=-10}
34{/if}
35{if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}
36{/foreach}
37
38
39{if isset($U_PREFETCH)}<link rel="prefetch" href="{$U_PREFETCH}">{/if}
40{if isset($U_CANONICAL)}<link rel="canonical" href="{$U_CANONICAL}">{/if}
41
42{if not empty($page_refresh)    }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if}
43
44{get_combined_scripts load='header'}
45<!--[if lt IE 7]>
46<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script>
47<![endif]-->
48
49{combine_script id="jquery" load="footer"}
50
51{if not empty($head_elements)}
52        {foreach from=$head_elements item=elt}{$elt}
53        {/foreach}
54{/if}
55
56</head>
57
58<body id="{$BODY_ID}">
59<div id="the_page">
60
61{if not empty($header_msgs)}
62<div class="header_msgs">
63        {foreach from=$header_msgs item=elt}
64        {$elt}<br>
65        {/foreach}
66</div>
67{/if}
68
69<div id="theHeader">{$PAGE_BANNER}</div>
70{if isset($theSwiftHeader)}{$theSwiftHeader}{/if}
71{if not empty($header_notes)}
72<div class="header_notes">
73        {foreach from=$header_notes item=elt}
74        <p>{$elt}</p>
75        {/foreach}
76</div>
77{/if}
Note: See TracBrowser for help on using the repository browser.