source: extensions/stripped-galleria/template/header.tpl @ 27153

Last change on this file since 27153 was 26671, checked in by flop25, 10 years ago

updated for 2.5 & 2.6

File size: 4.1 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
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}
23<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
24
25<link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" >
26<link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" >
27{if isset($first.U_IMG)   }<link rel="first" title="{'First'|@translate}" href="{$first.U_IMG}" >{/if}
28{if isset($previous.U_IMG)}<link rel="prev" title="{'Previous'|@translate}" href="{$previous.U_IMG}" >{/if}
29{if isset($next.U_IMG)    }<link rel="next" title="{'Next'|@translate}" href="{$next.U_IMG}" >{/if}
30{if isset($last.U_IMG)    }<link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >{/if}
31{if isset($U_UP)          }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if}
32
33{get_combined_css}
34{foreach from=$themes item=theme}
35{if $theme.load_css}
36{combine_css path="themes/`$theme.id`/theme.css" order=-10}
37{/if}
38{if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}
39{/foreach}
40
41
42{if isset($U_PREFETCH)          }<link rel="prefetch" href="{$U_PREFETCH}">{/if}
43
44{if not empty($page_refresh)    }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if}
45
46{get_combined_scripts load='header'}
47<!--[if lt IE 7]>
48<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script>
49<![endif]-->
50<!--[if lt IE 7]>{include file='ie6.tpl'}<![endif]-->
51
52{if ($BODY_ID=='theCategoryPage')}
53        {combine_script id='galleriaScript' require='jquery' load='header' path='themes/stripped-galleria/galleria/galleria-1.3.3.min.js'}
54        {combine_script id='galleriaHistoryScript' require='jquery,galleriaScript' load='header' path='themes/stripped-galleria/galleria/plugins/history/galleria.history.min.js'}
55        {if ($stripped.themeStyle == 'white')}
56                {combine_script id='galleriaTheme' require='galleriaScript' load='footer' path='themes/stripped-galleria/galleria/themes/classicwhite/galleria.classic.min.js'}
57        {else}
58                {combine_script id='galleriaTheme' require='galleriaScript' load='footer' path='themes/stripped-galleria/galleria/themes/classic/galleria.classic.min.js'}
59        {/if}
60{/if}
61
62{if not empty($head_elements)}
63        {foreach from=$head_elements item=elt}{$elt}
64        {/foreach}
65{/if}
66
67</head>
68
69<body id="{$BODY_ID}" class={strip}"
70        {if !$stripped.thumbFrame} ntf{/if}
71        {if !$stripped.albumFrame} naf{/if}
72        {if ($stripped.albumType == 'small')} ats{else} atd{/if}
73        {if ($stripped.albumType == '1perline')} at1{/if}
74        {if ($stripped.albumType == '2perline')} at2{/if}
75        {if ($stripped.albumType == '3perline')} at3{/if}
76"{/strip}>
77
78{if empty($CATEGORIES) &! empty($THUMBNAILS) }<div id="galleria_page">{/if}
79<div id="the_page">
80
81{if not empty($header_msgs)}
82<div class="header_msgs">
83        {foreach from=$header_msgs item=elt}
84        {$elt}<br>
85        {/foreach}
86</div>
87{/if}
88
89<div id="theHeader">{$PAGE_BANNER}</div>
90{if isset($theSwiftHeader)}{$theSwiftHeader}{/if}
91{if not empty($header_notes)}
92<div class="header_notes">
93        {foreach from=$header_notes item=elt}
94        <p>{$elt}</p>
95        {/foreach}
96</div>
97{/if}
Note: See TracBrowser for help on using the repository browser.