aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/header.tpl
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-06-13 19:10:41 +0000
committermistic100 <mistic@piwigo.org>2014-06-13 19:10:41 +0000
commitb153d19474c6cc1a48ba73df15f65b27bae9fc4f (patch)
tree891570bee41ba9f2727a8b20ccab25a424252bed /admin/themes/default/template/header.tpl
parent5e3e65e9f2f624008c8a55775c78d6dfa85bbbf7 (diff)
clean HTML code of header and footer
git-svn-id: http://piwigo.org/svn/trunk@28690 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/header.tpl47
1 files changed, 25 insertions, 22 deletions
diff --git a/admin/themes/default/template/header.tpl b/admin/themes/default/template/header.tpl
index 5188edff4..1979c9d58 100644
--- a/admin/themes/default/template/header.tpl
+++ b/admin/themes/default/template/header.tpl
@@ -1,8 +1,6 @@
{*
-
Warning : This is the admin pages header only
don't confuse with the public page header
-
*}
<!DOCTYPE html>
<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
@@ -11,27 +9,32 @@
<title>{$GALLERY_TITLE} :: {$PAGE_TITLE}</title>
<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
-{get_combined_css}
+{strip}
{foreach from=$themes item=theme}
-{if $theme.load_css}
-{combine_css path="admin/themes/`$theme.id`/theme.css" order=-10}
-{/if}
-{if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}
+ {if $theme.load_css}
+ {combine_css path="admin/themes/`$theme.id`/theme.css" order=-10}
+ {/if}
+ {if !empty($theme.local_head)}
+ {include file=$theme.local_head load_css=$theme.load_css}
+ {/if}
{/foreach}
-{combine_css path="admin/themes/default/fontello/css/fontello.css"}
-<!-- BEGIN get_combined_scripts -->
-{get_combined_scripts load='header'}
-<!-- END get_combined_scripts -->
+{combine_css path="admin/themes/default/fontello/css/fontello.css"}
{combine_script id='jquery' path='themes/default/js/jquery.min.js'}
+{/strip}
+
+<!-- BEGIN get_combined -->
+{get_combined_css}
+
+{get_combined_scripts load='header'}
+<!-- END get_combined -->
{if not empty($head_elements)}
{foreach from=$head_elements item=elt}
-{$elt}
+ {$elt}
{/foreach}
{/if}
-
</head>
<body id="{$BODY_ID}">
@@ -48,18 +51,18 @@
<div id="pwgHead">
<h1>
- <a href="{$U_RETURN}" title="{'Visit Gallery'|@translate}">
- <span class="icon-home" style="font-size:larger"></span>
- {$GALLERY_TITLE}
+ <a href="{$U_RETURN}" title="{'Visit Gallery'|translate}" class="tiptip">
+ <span class="icon-home" style="font-size:larger"></span>
+ {$GALLERY_TITLE}
</a>
</h1>
<div id="headActions">
- {'Hello'|@translate} {$USERNAME} |
- <a class="icon-eye" href="{$U_RETURN}">{'Visit Gallery'|@translate}</a> |
- <a class="icon-brush" href="{$U_CHANGE_THEME}" title="{'Switch to clear or dark colors for administration'|@translate}">{'Change Admin Colors'|@translate}</a> |
- <a class="icon-help-circled" href="{$U_FAQ}" title="{'Instructions to use Piwigo'|@translate}">{'Help Me'|@translate}</a> |
- <a class="icon-logout" href="{$U_LOGOUT}">{'Logout'|@translate}</a>
+ {'Hello'|translate} {$USERNAME} |
+ <a class="icon-eye" href="{$U_RETURN}">{'Visit Gallery'|translate}</a> |
+ <a class="icon-brush tiptip" href="{$U_CHANGE_THEME}" title="{'Switch to clear or dark colors for administration'|translate}">{'Change Admin Colors'|translate}</a> |
+ <a class="icon-help-circled tiptip" href="{$U_FAQ}" title="{'Instructions to use Piwigo'|@translate}">{'Help Me'|translate}</a> |
+ <a class="icon-logout" href="{$U_LOGOUT}">{'Logout'|translate}</a>
</div>
</div>
@@ -73,4 +76,4 @@
</div>
{/if}
-<div id="pwgMain"> \ No newline at end of file
+<div id="pwgMain">