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.min.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 | {if not empty($header_msgs)} |
---|
47 | <div class="header_msgs"> |
---|
48 | {foreach from=$header_msgs item=elt} |
---|
49 | {$elt} |
---|
50 | {/foreach} |
---|
51 | </div> |
---|
52 | {/if} |
---|
53 | |
---|
54 | <div id="pwgHead"> |
---|
55 | <h1> |
---|
56 | <a href="{$U_RETURN}" title="{'Visit Gallery'|@translate}"> |
---|
57 | <img src="{$ROOT_URL}admin/themes/{$theme.id}/icon/home.png" alt="{'Home'|@translate}"> |
---|
58 | {$GALLERY_TITLE} |
---|
59 | </a> |
---|
60 | </h1> |
---|
61 | |
---|
62 | <div id="headActions"> |
---|
63 | {'Hello'|@translate} {$USERNAME} : |
---|
64 | <a href="{$U_RETURN}">{'Visit Gallery'|@translate}</a> | |
---|
65 | <a href="{$U_CHANGE_THEME}" title="{'Switch to clear or dark colors for administration'|@translate}">{'Change Admin Colors'|@translate}</a> | |
---|
66 | <a href="{$U_FAQ}" title="{'Instructions to use Piwigo'|@translate}">{'Help Me'|@translate}</a> | |
---|
67 | <a href="{$U_LOGOUT}">{'Logout'|@translate}</a> |
---|
68 | </div> |
---|
69 | </div> |
---|
70 | |
---|
71 | <div style="clear:both;"></div> |
---|
72 | |
---|
73 | {if not empty($header_notes)} |
---|
74 | <div class="header_notes"> |
---|
75 | {foreach from=$header_notes item=elt} |
---|
76 | {$elt} |
---|
77 | {/foreach} |
---|
78 | </div> |
---|
79 | {/if} |
---|
80 | |
---|
81 | <div id="pwgMain"> |
---|