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

Last change on this file since 23713 was 23713, checked in by flop25, 11 years ago

bug:2848
jquery.mobile updated
photoswipe updated
menubar is now a right panel, with almost all the usual links
added comment, search, picture, about and tags pages

ToDo:
*bug correction of the link added to the photoswipe toolbar (link doesn't triggered)
*display the calculated size on the picture page
limitations: no calendar view

File size: 2.5 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='config' path='themes/smartpocket/js/config.js' require='jquery'}
42{combine_script id='jquery.mobile' path='themes/smartpocket/js/jquery.mobile.min.js' require='jquery,config'}
43
44</head>
45
46<body>
47<div data-role="page" data-theme="a">
48{if isset($MENUBAR)}<div data-role="panel" id="menubar" data-position="right" data-display="overlay">
49  {$MENUBAR}
50</div>{/if}
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    <a href="#menubar" data-icon="grid" data-iconpos="notext" data-role="button" style="float: right" >Menu</a>
56  </div>
57</div>
58
Note: See TracBrowser for help on using the repository browser.