Ignore:
Timestamp:
Mar 13, 2010, 1:00:52 AM (14 years ago)
Author:
plg
Message:

feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.

Location:
trunk/admin/themes
Files:
3 added
1 copied

Legend:

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

    r5098 r5123  
    1212<meta name="generator" content="Piwigo (aka PWG), see piwigo.org">
    1313<title>{$GALLERY_TITLE} :: {$PAGE_TITLE}</title>
    14 <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}template-common/favicon.ico">
     14<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
    1515
    16 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/layout.css">
     16{foreach from=$themes item=theme}
     17{if isset($theme.local_head)}{include file=$theme.local_head}{/if}
     18<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.name}/theme.css">
     19{/foreach}
     20
     21{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=1} {*jQuery is always available by default*}
     22
     23<script type="text/javascript" src="{$ROOT_URL}themes/default/js/scripts.js"></script>
    1724<!--[if lt IE 7]>
    18   <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/fix-ie5-ie6.css">
    19 <![endif]-->
    20 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/default-colors.css">
    21 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css">
    22 {known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js" now=1} {*jQuery is always available by default*}
    23 {$themeconf.local_head}
    24 <script type="text/javascript" src="{$ROOT_URL}template-common/scripts.js"></script>
    25 <!--[if lt IE 7]>
    26 <style>
    27   {* only because we need {$ROOT_URL} otherwise use fix-ie5-ie6.css *}
    28   BODY {ldelim} behavior:url("{$ROOT_URL}template-common/csshover.htc"); }
    29   A IMG, .button, .icon {ldelim}
    30     behavior:url("{$ROOT_URL}template-common/tooltipfix.htc");
    31   }
    32   FORM {ldelim} behavior: url("{$ROOT_URL}template-common/inputfix.htc"); }
    33 </style>
    34 <script type="text/javascript" src="{$ROOT_URL}template-common/pngfix.js"></script>
     25<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script>
    3526<![endif]-->
    3627
     
    5041  <h1>
    5142    <a href="{$U_RETURN}" title="Visit Gallery">
    52       <img src="admin/template/goto/icon/home.png" alt="{'Home'|@translate}">
     43      <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/home.png" alt="{'Home'|@translate}">
    5344      {$GALLERY_TITLE}
    5445    </a>
     
    6051    <a href="{$U_CHANGE_THEME}" title="Switch to clear theme for administration">Change Theme</a> |
    6152    <a href="{$U_LOGOUT}">{'Logout'|@translate}</a>
    62     <a href="{$U_FAQ}" title="{'Instructions'|@translate}" id="instructions"><img style="padding-left:10px;" src="{$ROOT_URL}admin/template/goto/icon/help.png" class="button" alt="(?)"></a>
     53    <a href="{$U_FAQ}" title="{'Instructions'|@translate}" id="instructions"><img style="padding-left:10px;" src="{$ROOT_URL}{$themeconf.admin_icon_dir}/help.png" class="button" alt="(?)"></a>
    6354  </div>
    6455</div>
Note: See TracChangeset for help on using the changeset viewer.