source: branches/2.1/admin/themes/default/template/header.tpl @ 6323

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

merge r6320 from trunk to branch 2.1

bug 1667 fixed: r6027 was fixing a minor error on tabs for Google Chrome/Safari
BUT was introducing a major visual issue for IE8. Backmerged + adds the -webkit
radius anyway.

This is a quickfix for release 2.1.1, the improved display introduced by nikrou
was nice and it would be better to have it, but working in IE8

File size: 2.3 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 $theme.load_css}
18<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.id}/theme.css">
19{/if}
20{if isset($theme.local_head)}{include file=$theme.local_head}{/if}
21{/foreach}
22
23{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=1} {*jQuery is always available by default*}
24
25<script type="text/javascript" src="{$ROOT_URL}themes/default/js/scripts.js"></script>
26<!--[if lt IE 7]>
27<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script>
28<![endif]-->
29
30{if not empty($head_elements)}
31{foreach from=$head_elements item=elt}
32{$elt}
33{/foreach}
34{/if}
35
36</head>
37
38<body id="{$BODY_ID}">
39
40<div id="the_page">
41
42<div id="pwgHead">
43  <h1>
44    <a href="{$U_RETURN}" title="{'Visit Gallery'|@translate}">
45      <img src="{$ROOT_URL}admin/themes/{$theme.id}/icon/home.png" alt="{'Home'|@translate}">
46      {$GALLERY_TITLE}
47    </a>
48  </h1>
49
50  <div id="headActions">
51    {'Hello'|@translate} {$USERNAME} :
52    <a href="{$U_RETURN}">{'Visit Gallery'|@translate}</a> |
53    <a href="{$U_CHANGE_THEME}" title="{'Switch to clear or dark colors for administration'|@translate}">{'Change Admin Colors'|@translate}</a> |
54    <a href="{$U_FAQ}" title="{'Instructions to use Piwigo'|@translate}">{'Help Me'|@translate}</a> |
55    <a href="{$U_LOGOUT}">{'Logout'|@translate}</a>
56  </div>
57</div>
58
59<div style="clear:both;"></div>
60
61{if not empty($header_msgs)}
62<div class="header_msgs">
63  {foreach from=$header_msgs item=elt}
64  {$elt}
65  {/foreach}
66</div>
67{/if}
68
69<div id="theHeader">{*$PAGE_BANNER*}</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.