Changeset 7990 for trunk


Ignore:
Timestamp:
Dec 3, 2010, 8:13:33 PM (13 years ago)
Author:
rvelices
Message:

admin theme uses combined_css

Location:
trunk/admin/themes/default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/local_head.tpl

    r6363 r7990  
     1{if $load_css}
    12<!--[if lt IE 7]>
    2   <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/default/fix-ie5-ie6.css">
     3        <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/default/fix-ie5-ie6.css">
    34<![endif]-->
     5{/if}
  • trunk/admin/themes/default/template/header.tpl

    r6363 r7990  
    1414<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
    1515
     16{get_combined_css}
    1617{foreach from=$themes item=theme}
    1718{if $theme.load_css}
    18 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.id}/theme.css">
     19{combine_css path="admin/themes/`$theme.id`/theme.css" order=-10}
    1920{/if}
    20 {if isset($theme.local_head)}{include file=$theme.local_head}{/if}
     21{if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}
    2122{/foreach}
    2223
Note: See TracChangeset for help on using the changeset viewer.