source: trunk/themes/smartpocket/template/header.tpl @ 13234

Last change on this file since 13234 was 13234, checked in by patdenice, 9 years ago

feature:2577
Many improvements

File size: 2.4 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<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
20<meta name="apple-mobile-web-app-capable" content="yes" />
21
22{if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('Home'))}
23<title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else}
24<title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if}
25<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
26<link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" >
27
28{get_combined_css}
29{foreach from=$themes item=theme}
30{if $theme.load_css}
31{combine_css path="themes/`$theme.id`/theme.css" order=-10}
32{/if}
33{if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}
34{/foreach}
35
36{if isset($U_CANONICAL)}<link rel="canonical" href="{$U_CANONICAL}">{/if}
37
38{if not empty($page_refresh)    }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if}
39
40{get_combined_scripts load='header'}
41
42{combine_script id='jquery' path='themes/smartpocket/js/jquery-1.6.4.min.js'}
43{combine_script id='config' path='themes/smartpocket/js/config.js' require='jquery'}
44{combine_script id='jquery.mobile' path='themes/smartpocket/js/jquery.mobile.min.js' require='jquery,config'}
45
46</head>
47
48<body>
49<div data-role="page" data-theme="a">
50
51<div data-role="header">
52  <div class="title">
53    <a href="{$U_HOME}" class="home_button" data-icon="home" data-iconpos="notext" data-role="button"></a>
54    {$GALLERY_TITLE}
55    <span class="menubar">{$MENUBAR}</span>
56  </div>
57</div>
58
Note: See TracBrowser for help on using the repository browser.