source: trunk/admin/themes/default/template/header.tpl @ 18756

Last change on this file since 18756 was 18756, checked in by rvelices, 11 years ago

doctype is html5 - less restrictivie than html 4 strict (which we are not compatible with anyway)...

  • Property svn:eol-style set to LF
File size: 2.1 KB
Line 
1{*
2
3          Warning : This is the admin pages header only
4          don't confuse with the public page header
5
6*}
7<!DOCTYPE html>
8<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
9<head>
10<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}">
11<meta name="generator" content="Piwigo (aka PWG), see piwigo.org">
12<title>{$GALLERY_TITLE} :: {$PAGE_TITLE}</title>
13<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
14
15{get_combined_css}
16{foreach from=$themes item=theme}
17{if $theme.load_css}
18{combine_css path="admin/themes/`$theme.id`/theme.css" order=-10}
19{/if}
20{if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}
21{/foreach}
22
23<!-- BEGIN get_combined_scripts -->
24{get_combined_scripts load='header'}
25<!-- END get_combined_scripts -->
26
27{combine_script id='jquery' path='themes/default/js/jquery.min.js'}
28
29<!--[if lt IE 7]>
30<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script>
31<![endif]-->
32
33{if not empty($head_elements)}
34{foreach from=$head_elements item=elt}
35{$elt}
36{/foreach}
37{/if}
38
39</head>
40
41<body id="{$BODY_ID}">
42
43<div id="the_page">
44
45{if not empty($header_msgs)}
46<div class="header_msgs">
47  {foreach from=$header_msgs item=elt}
48  {$elt}
49  {/foreach}
50</div>
51{/if}
52
53<div id="pwgHead">
54  <h1>
55    <a href="{$U_RETURN}" title="{'Visit Gallery'|@translate}">
56      <img src="{$ROOT_URL}admin/themes/{$theme.id}/icon/home.png" alt="{'Home'|@translate}">
57      {$GALLERY_TITLE}
58    </a>
59  </h1>
60
61  <div id="headActions">
62    {'Hello'|@translate} {$USERNAME} :
63    <a href="{$U_RETURN}">{'Visit Gallery'|@translate}</a> |
64    <a href="{$U_CHANGE_THEME}" title="{'Switch to clear or dark colors for administration'|@translate}">{'Change Admin Colors'|@translate}</a> |
65    <a href="{$U_FAQ}" title="{'Instructions to use Piwigo'|@translate}">{'Help Me'|@translate}</a> |
66    <a href="{$U_LOGOUT}">{'Logout'|@translate}</a>
67  </div>
68</div>
69
70<div style="clear:both;"></div>
71
72{if not empty($header_notes)}
73<div class="header_notes">
74  {foreach from=$header_notes item=elt}
75  {$elt}
76  {/foreach}
77</div>
78{/if}
79
80<div id="pwgMain">
Note: See TracBrowser for help on using the repository browser.