source: extensions/stripped_responsive/template/header.tpl @ 32018

Revision 30082, 3.4 KB checked in by JanisV, 5 years ago (diff)

Added icons

  • Property svn:executable set to *
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<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
20
21{if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('Home'))}
22<title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else}
23<title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if}
24<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
25
26<link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" >
27<link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" >
28{if isset($first.U_IMG)   }<link rel="first" title="{'First'|@translate}" href="{$first.U_IMG}" >{/if}
29{if isset($previous.U_IMG)}<link rel="prev" title="{'Previous'|@translate}" href="{$previous.U_IMG}" >{/if}
30{if isset($next.U_IMG)    }<link rel="next" title="{'Next'|@translate}" href="{$next.U_IMG}" >{/if}
31{if isset($last.U_IMG)    }<link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >{/if}
32{if isset($U_UP)          }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if}
33
34{get_combined_css}
35{combine_css path="themes/`$themeconf.id`/iconfontello.css.tpl" template=true}
36{foreach from=$themes item=theme}
37{if $theme.load_css}
38{combine_css path="themes/`$theme.id`/theme.css" order=-10}
39{/if}
40{if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}
41{/foreach}
42
43
44{if isset($U_PREFETCH)          }<link rel="prefetch" href="{$U_PREFETCH}">{/if}
45
46{if not empty($page_refresh)    }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if}
47
48{get_combined_scripts load='header'}
49<!--[if lt IE 7]>
50<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script>
51<![endif]-->
52
53{combine_script id='jquery.migrate' load='footer' require='jquery' path='themes/stripped_responsive/js/jquery-migrate.min.js'}
54
55{if not empty($head_elements)}
56        {foreach from=$head_elements item=elt}{$elt}
57        {/foreach}
58{/if}
59
60</head>
61
62<body id="{$BODY_ID}" class={strip}"
63        {if $stripped_responsive.menuOnRight} right_menu{/if}
64        {if !$stripped_responsive.thumbFrame} ntf{/if}
65        {if !$stripped_responsive.albumFrame} naf{/if}
66        atd atr
67"{/strip}>
68<div id="the_page">
69
70{if not empty($header_msgs)}
71<div class="header_msgs">
72        {foreach from=$header_msgs item=elt}
73        {$elt}<br>
74        {/foreach}
75</div>
76{/if}
77
78<div id="theHeader">{$PAGE_BANNER}</div>
79{if isset($theSwiftHeader)}{$theSwiftHeader}{/if}
80{if not empty($header_notes)}
81<div class="header_notes">
82        {foreach from=$header_notes item=elt}
83        <p>{$elt}</p>
84        {/foreach}
85</div>
86{/if}
Note: See TracBrowser for help on using the repository browser.