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

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

feature 1502: Add $themeconfload_parent_css parameter

  • Property svn:eol-style set to LF
File size: 2.3 KB
RevLine 
[2526]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">
[2651]9<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
[2526]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>
[5123]14<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
[2526]15
[5123]16{foreach from=$themes item=theme}
[5991]17{if $theme.load_css}
18<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.id}/theme.css">
19{/if}
[5123]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>
[2526]26<!--[if lt IE 7]>
[5123]27<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script>
[2526]28<![endif]-->
29
30{if not empty($head_elements)}
[2607]31{foreach from=$head_elements item=elt}
32{$elt}
33{/foreach}
[2526]34{/if}
35
36</head>
37
38<body id="{$BODY_ID}">
[5098]39
[2526]40<div id="the_page">
41
[5098]42<div id="pwgHead">
43  <h1>
[5284]44    <a href="{$U_RETURN}" title="{'Visit Gallery'|@translate}">
[5248]45      <img src="{$ROOT_URL}admin/themes/{$theme.id}/icon/home.png" alt="{'Home'|@translate}">
[5098]46      {$GALLERY_TITLE}
47    </a>
48  </h1>
49
50  <div id="headActions">
[5284]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> |
[5098]55    <a href="{$U_LOGOUT}">{'Logout'|@translate}</a>
56  </div>
57</div>
58
59<div style="clear:both;"></div>
60
[2526]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>
[5098]70
[2526]71{if not empty($header_notes)}
72<div class="header_notes">
73  {foreach from=$header_notes item=elt}
74  {$elt}
75  {/foreach}
76</div>
[5098]77{/if}
78
79<div id="pwgMain">
Note: See TracBrowser for help on using the repository browser.