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

Last change on this file since 13426 was 13426, checked in by rvelices, 12 years ago
  • derivative fix floating point rounding errors for certain sizes
  • increase derivative size for which metadata is kept
  • imagick use 4:2:2 chroma subsampling (reduce file size by 20-30% with "almost" no human perception)
  • dont show mobile theme links if there is no mobile theme installed
  • mobile theme favicon removed because 404
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="start" title="{'Home'|@translate}" href="{$U_HOME}" >
26
27{get_combined_css}
28{foreach from=$themes item=theme}
29{if $theme.load_css}
30{combine_css path="themes/`$theme.id`/theme.css" order=-10}
31{/if}
32{if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}
33{/foreach}
34
35{if isset($U_CANONICAL)}<link rel="canonical" href="{$U_CANONICAL}">{/if}
36
37{if not empty($page_refresh)    }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if}
38
39{get_combined_scripts load='header'}
40
41{combine_script id='jquery' path='themes/smartpocket/js/jquery-1.6.4.min.js'}
42{combine_script id='config' path='themes/smartpocket/js/config.js' require='jquery'}
43{combine_script id='jquery.mobile' path='themes/smartpocket/js/jquery.mobile.min.js' require='jquery,config'}
44
45</head>
46
47<body>
48<div data-role="page" data-theme="a">
49
50<div data-role="header">
51  <div class="title">
52    <a href="{$U_HOME}" class="home_button" data-icon="home" data-iconpos="notext" data-role="button"></a>
53    {$GALLERY_TITLE}
54    <span class="menubar">{$MENUBAR}</span>
55  </div>
56</div>
57
Note: See TracBrowser for help on using the repository browser.