[2526] | 1 | {* |
---|
| 2 | Warning : This is the admin pages header only |
---|
| 3 | don't confuse with the public page header |
---|
| 4 | *} |
---|
[18756] | 5 | <!DOCTYPE html> |
---|
[2651] | 6 | <html lang="{$lang_info.code}" dir="{$lang_info.direction}"> |
---|
[2526] | 7 | <head> |
---|
[28689] | 8 | <meta charset="{$CONTENT_ENCODING}"> |
---|
[2526] | 9 | <title>{$GALLERY_TITLE} :: {$PAGE_TITLE}</title> |
---|
[5123] | 10 | <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico"> |
---|
[2526] | 11 | |
---|
[28690] | 12 | {strip} |
---|
[28821] | 13 | {combine_css path="admin/themes/default/fontello/css/fontello.css" order=-10} |
---|
[5123] | 14 | {foreach from=$themes item=theme} |
---|
[28690] | 15 | {if $theme.load_css} |
---|
| 16 | {combine_css path="admin/themes/`$theme.id`/theme.css" order=-10} |
---|
| 17 | {/if} |
---|
| 18 | {if !empty($theme.local_head)} |
---|
| 19 | {include file=$theme.local_head load_css=$theme.load_css} |
---|
| 20 | {/if} |
---|
[5123] | 21 | {/foreach} |
---|
[28690] | 22 | |
---|
| 23 | {combine_script id='jquery' path='themes/default/js/jquery.min.js'} |
---|
| 24 | {/strip} |
---|
| 25 | |
---|
| 26 | <!-- BEGIN get_combined --> |
---|
| 27 | {get_combined_css} |
---|
| 28 | |
---|
[7995] | 29 | {get_combined_scripts load='header'} |
---|
[28690] | 30 | <!-- END get_combined --> |
---|
[5123] | 31 | |
---|
[2526] | 32 | {if not empty($head_elements)} |
---|
[2607] | 33 | {foreach from=$head_elements item=elt} |
---|
[28690] | 34 | {$elt} |
---|
[2607] | 35 | {/foreach} |
---|
[2526] | 36 | {/if} |
---|
| 37 | </head> |
---|
| 38 | |
---|
| 39 | <body id="{$BODY_ID}"> |
---|
[5098] | 40 | |
---|
[2526] | 41 | <div id="the_page"> |
---|
| 42 | |
---|
[9551] | 43 | {if not empty($header_msgs)} |
---|
| 44 | <div class="header_msgs"> |
---|
| 45 | {foreach from=$header_msgs item=elt} |
---|
| 46 | {$elt} |
---|
| 47 | {/foreach} |
---|
| 48 | </div> |
---|
| 49 | {/if} |
---|
| 50 | |
---|
[5098] | 51 | <div id="pwgHead"> |
---|
| 52 | <h1> |
---|
[28690] | 53 | <a href="{$U_RETURN}" title="{'Visit Gallery'|translate}" class="tiptip"> |
---|
| 54 | <span class="icon-home" style="font-size:larger"></span> |
---|
| 55 | {$GALLERY_TITLE} |
---|
[5098] | 56 | </a> |
---|
| 57 | </h1> |
---|
| 58 | |
---|
| 59 | <div id="headActions"> |
---|
[28690] | 60 | {'Hello'|translate} {$USERNAME} | |
---|
| 61 | <a class="icon-eye" href="{$U_RETURN}">{'Visit Gallery'|translate}</a> | |
---|
| 62 | <a class="icon-brush tiptip" href="{$U_CHANGE_THEME}" title="{'Switch to clear or dark colors for administration'|translate}">{'Change Admin Colors'|translate}</a> | |
---|
| 63 | <a class="icon-help-circled tiptip" href="{$U_FAQ}" title="{'Instructions to use Piwigo'|@translate}">{'Help Me'|translate}</a> | |
---|
| 64 | <a class="icon-logout" href="{$U_LOGOUT}">{'Logout'|translate}</a> |
---|
[5098] | 65 | </div> |
---|
| 66 | </div> |
---|
| 67 | |
---|
| 68 | <div style="clear:both;"></div> |
---|
| 69 | |
---|
[2526] | 70 | {if not empty($header_notes)} |
---|
| 71 | <div class="header_notes"> |
---|
| 72 | {foreach from=$header_notes item=elt} |
---|
| 73 | {$elt} |
---|
| 74 | {/foreach} |
---|
| 75 | </div> |
---|
[5098] | 76 | {/if} |
---|
| 77 | |
---|
[28690] | 78 | <div id="pwgMain"> |
---|