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

Last change on this file since 7990 was 7990, checked in by rvelices, 13 years ago

admin theme uses combined_css

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