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

Last change on this file since 5248 was 5248, checked in by plg, 14 years ago

due to background color change on pwgHead, the roma icon for home.png was not good

  • Property svn:eol-style set to LF
File size: 2.2 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 PUBLIC "-//W3C//DTD HTML 4.01//EN"
8"http://www.w3.org/TR/html4/strict.dtd">
9<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
10<head>
11<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}">
12<meta name="generator" content="Piwigo (aka PWG), see piwigo.org">
13<title>{$GALLERY_TITLE} :: {$PAGE_TITLE}</title>
14<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
15
16{foreach from=$themes item=theme}
17{if isset($theme.local_head)}{include file=$theme.local_head}{/if}
18<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.id}/theme.css">
19{/foreach}
20
21{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=1} {*jQuery is always available by default*}
22
23<script type="text/javascript" src="{$ROOT_URL}themes/default/js/scripts.js"></script>
24<!--[if lt IE 7]>
25<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script>
26<![endif]-->
27
28{if not empty($head_elements)}
29{foreach from=$head_elements item=elt}
30{$elt}
31{/foreach}
32{/if}
33
34</head>
35
36<body id="{$BODY_ID}">
37
38<div id="the_page">
39
40<div id="pwgHead">
41  <h1>
42    <a href="{$U_RETURN}" title="Visit Gallery">
43      <img src="{$ROOT_URL}admin/themes/{$theme.id}/icon/home.png" alt="{'Home'|@translate}">
44      {$GALLERY_TITLE}
45    </a>
46  </h1>
47
48  <div id="headActions">
49    Hello {$USERNAME} :
50    <a href="{$U_RETURN}">Visit Gallery</a> |
51    <a href="{$U_CHANGE_THEME}" title="Switch to clear or dark colors for administration">Change Admin Colors</a> |
52    <a href="{$U_FAQ}" title="{'Instructions to use Piwigo'|@translate}">Help Me</a> |
53    <a href="{$U_LOGOUT}">{'Logout'|@translate}</a>
54  </div>
55</div>
56
57<div style="clear:both;"></div>
58
59{if not empty($header_msgs)}
60<div class="header_msgs">
61  {foreach from=$header_msgs item=elt}
62  {$elt}
63  {/foreach}
64</div>
65{/if}
66
67<div id="theHeader">{*$PAGE_BANNER*}</div>
68
69{if not empty($header_notes)}
70<div class="header_notes">
71  {foreach from=$header_notes item=elt}
72  {$elt}
73  {/foreach}
74</div>
75{/if}
76
77<div id="pwgMain">
Note: See TracBrowser for help on using the repository browser.