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

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

trunk admin theme goes with combine_script instead of old style known_script

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