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/themes
Files:
2 added
1 edited
1 copied

Legend:

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

    r5095 r5123  
    2121<title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else}
    2222<title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if}
    23 <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}template-common/favicon.ico">
     23<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
    2424
    2525<link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" >
     
    3131{if isset($U_UP)          }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if}
    3232
    33 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/layout.css">
    34 {* the next css is used to fix khtml (Konqueror/Safari) issue the "text/nonsense" prevents gecko based browsers to load it *}
    35 <link rel="stylesheet" type="text/nonsense" href="{$ROOT_URL}template/{$themeconf.template}/fix-khtml.css">
    36 <!--[if lt IE 7]>
    37         <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/fix-ie5-ie6.css">
    38 <![endif]-->
    39 <!--[if gt IE 6]>
    40         <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/fix-ie7.css">
    41 <![endif]-->
    42 <!--[if !IE]> <-->
    43         <link rel="stylesheet" href="{$ROOT_URL}template/{$themeconf.template}/not-ie.css" type="text/css">
    44 <!--> <![endif]-->
    45 <link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}template/{$themeconf.template}/print.css">
    46 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css">
    47 {$themeconf.local_head}
     33{foreach from=$themes item=theme}
     34{if isset($theme.local_head)}{include file=$theme.local_head}{/if}
     35<link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/{$theme.name}/theme.css">
     36{/foreach}
     37
    4838{if isset($U_PREFETCH)          }<link rel="prefetch" href="{$U_PREFETCH}">{/if}
    4939
    5040{if not empty($page_refresh)    }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if}
    5141
    52 <script type="text/javascript" src="{$ROOT_URL}template-common/scripts.js"></script>
     42<script type="text/javascript" src="{$ROOT_URL}{$themeconf.js_dir}/scripts.js"></script>
    5343<!--[if lt IE 7]>
    54 <style>
    55         {* only because we need {$ROOT_URL} otherwise use fix-ie5-ie6.css *}
    56         BODY {ldelim} behavior:url("{$ROOT_URL}template-common/csshover.htc"); }
    57         A IMG, .button, .icon {ldelim}
    58                 behavior:url("{$ROOT_URL}template-common/tooltipfix.htc");
    59         }
    60         FORM {ldelim} behavior: url("{$ROOT_URL}template-common/inputfix.htc"); }
    61 </style>
    62 <script type="text/javascript" src="{$ROOT_URL}template-common/pngfix.js"></script>
     44<script type="text/javascript" src="{$ROOT_URL}{$themeconf.js_dir}/pngfix.js"></script>
    6345<![endif]-->
    6446
Note: See TracChangeset for help on using the changeset viewer.