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

Last change on this file since 28690 was 28690, checked in by mistic100, 10 years ago

clean HTML code of header and footer

  • 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{foreach from=$themes item=theme}
14  {if $theme.load_css}
15  {combine_css path="admin/themes/`$theme.id`/theme.css" order=-10}
16  {/if}
17  {if !empty($theme.local_head)}
18  {include file=$theme.local_head load_css=$theme.load_css}
19  {/if}
20{/foreach}
21
22{combine_css path="admin/themes/default/fontello/css/fontello.css"}
23
24{combine_script id='jquery' path='themes/default/js/jquery.min.js'}
25{/strip}
26
27<!-- BEGIN get_combined -->
28{get_combined_css}
29
30{get_combined_scripts load='header'}
31<!-- END get_combined -->
32
33{if not empty($head_elements)}
34{foreach from=$head_elements item=elt}
35  {$elt}
36{/foreach}
37{/if}
38</head>
39
40<body id="{$BODY_ID}">
41
42<div id="the_page">
43
44{if not empty($header_msgs)}
45<div class="header_msgs">
46  {foreach from=$header_msgs item=elt}
47  {$elt}
48  {/foreach}
49</div>
50{/if}
51
52<div id="pwgHead">
53  <h1>
54    <a href="{$U_RETURN}" title="{'Visit Gallery'|translate}" class="tiptip">
55      <span class="icon-home" style="font-size:larger"></span>
56      {$GALLERY_TITLE}
57    </a>
58  </h1>
59
60  <div id="headActions">
61    {'Hello'|translate} {$USERNAME} |
62    <a class="icon-eye" href="{$U_RETURN}">{'Visit Gallery'|translate}</a> |
63    <a class="icon-brush tiptip" href="{$U_CHANGE_THEME}" title="{'Switch to clear or dark colors for administration'|translate}">{'Change Admin Colors'|translate}</a> |
64    <a class="icon-help-circled tiptip" href="{$U_FAQ}" title="{'Instructions to use Piwigo'|@translate}">{'Help Me'|translate}</a> |
65    <a class="icon-logout" href="{$U_LOGOUT}">{'Logout'|translate}</a>
66  </div>
67</div>
68
69<div style="clear:both;"></div>
70
71{if not empty($header_notes)}
72<div class="header_notes">
73  {foreach from=$header_notes item=elt}
74  {$elt}
75  {/foreach}
76</div>
77{/if}
78
79<div id="pwgMain">
Note: See TracBrowser for help on using the repository browser.