Ignore:
Timestamp:
Jun 13, 2014, 9:10:41 PM (10 years ago)
Author:
mistic100
Message:

clean HTML code of header and footer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/header.tpl

    r28689 r28690  
    11{*
    2 
    32          Warning : This is the admin pages header only
    43          don't confuse with the public page header
    5 
    64*}
    75<!DOCTYPE html>
     
    1210<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
    1311
    14 {get_combined_css}
     12{strip}
    1513{foreach from=$themes item=theme}
    16 {if $theme.load_css}
    17 {combine_css path="admin/themes/`$theme.id`/theme.css" order=-10}
    18 {/if}
    19 {if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}
     14  {if $theme.load_css}
     15  {combine_css path="admin/themes/`$theme.id`/theme.css" order=-10}
     16  {/if}
     17  {if !empty($theme.local_head)}
     18  {include file=$theme.local_head load_css=$theme.load_css}
     19  {/if}
    2020{/foreach}
     21
    2122{combine_css path="admin/themes/default/fontello/css/fontello.css"}
    2223
    23 <!-- BEGIN get_combined_scripts -->
     24{combine_script id='jquery' path='themes/default/js/jquery.min.js'}
     25{/strip}
     26
     27<!-- BEGIN get_combined -->
     28{get_combined_css}
     29
    2430{get_combined_scripts load='header'}
    25 <!-- END get_combined_scripts -->
    26 
    27 {combine_script id='jquery' path='themes/default/js/jquery.min.js'}
     31<!-- END get_combined -->
    2832
    2933{if not empty($head_elements)}
    3034{foreach from=$head_elements item=elt}
    31 {$elt}
     35  {$elt}
    3236{/foreach}
    3337{/if}
    34 
    3538</head>
    3639
     
    4952<div id="pwgHead">
    5053  <h1>
    51     <a href="{$U_RETURN}" title="{'Visit Gallery'|@translate}">
    52                         <span class="icon-home" style="font-size:larger"></span>
    53                         {$GALLERY_TITLE}
     54    <a href="{$U_RETURN}" title="{'Visit Gallery'|translate}" class="tiptip">
     55      <span class="icon-home" style="font-size:larger"></span>
     56      {$GALLERY_TITLE}
    5457    </a>
    5558  </h1>
    5659
    5760  <div id="headActions">
    58     {'Hello'|@translate} {$USERNAME} |
    59     <a class="icon-eye" href="{$U_RETURN}">{'Visit Gallery'|@translate}</a> |
    60     <a class="icon-brush" href="{$U_CHANGE_THEME}" title="{'Switch to clear or dark colors for administration'|@translate}">{'Change Admin Colors'|@translate}</a> |
    61     <a class="icon-help-circled" href="{$U_FAQ}" title="{'Instructions to use Piwigo'|@translate}">{'Help Me'|@translate}</a> |
    62     <a class="icon-logout" href="{$U_LOGOUT}">{'Logout'|@translate}</a>
     61    {'Hello'|translate} {$USERNAME} |
     62    <a class="icon-eye" href="{$U_RETURN}">{'Visit Gallery'|translate}</a> |
     63    <a class="icon-brush tiptip" href="{$U_CHANGE_THEME}" title="{'Switch to clear or dark colors for administration'|translate}">{'Change Admin Colors'|translate}</a> |
     64    <a class="icon-help-circled tiptip" href="{$U_FAQ}" title="{'Instructions to use Piwigo'|@translate}">{'Help Me'|translate}</a> |
     65    <a class="icon-logout" href="{$U_LOGOUT}">{'Logout'|translate}</a>
    6366  </div>
    6467</div>
Note: See TracChangeset for help on using the changeset viewer.