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

Last change on this file since 28991 was 28821, checked in by rvelices, 10 years ago

batch manager move more js from footer to async ; move some inline to external file

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