Ignore:
Timestamp:
Mar 14, 2012, 2:35:33 PM (13 years ago)
Author:
plg
Message:

import theme Simple version 2.3.1

Compatibility with Piwigo 2.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/simple_themes/simple/template/header.tpl

    r13549 r13550  
    3737  {/if}
    3838
    39   <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/simple/content.css">
    40   {foreach from=$themes item=theme}
    41   {if $theme.load_css}
    42   <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/{$theme.id}/theme.css">
    43   {/if}
    44   {if !empty($theme.local_head)}{include file=$theme.local_head}{/if}
    45   {/foreach}
     39{get_combined_css}
     40{combine_css path="themes/simple/content.css" order="-10"}
     41{foreach from=$themes item=theme}
     42{if $theme.load_css}
     43{combine_css path="themes/`$theme.id`/theme.css" order=-10}
     44{/if}
     45{if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}
     46{/foreach}
    4647
    4748  {if isset($U_PREFETCH)}<link rel="prefetch" href="{$U_PREFETCH}">{/if}
     
    5354  <link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed (images, comments)'|@translate}" href="{$U_FEED}">
    5455  {/if}
     56  {get_combined_scripts load='header'}
     57  {combine_script id="simplescripts" require="jquery" path="themes/simple/js/scripts.min.js"}
     58
    5559  {if not empty($head_elements)}
    5660    {foreach from=$head_elements item=elt}{$elt}
    5761    {/foreach}
    5862  {/if}
    59   {known_script id="jquery" src=$ROOT_URL|@cat:"themes/simple/js/jquery-1.4.4.min.js"}
    60   {known_script id="simplescripts" src=$ROOT_URL|@cat:"themes/simple/js/scripts.min.js"}
    6163  <script type="text/javascript">
    6264    document.documentElement.className = 'js';
Note: See TracChangeset for help on using the changeset viewer.