admin theme uses combined_css

git-svn-id: http://piwigo.org/svn/trunk@7990 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2010-12-03 19:13:33 +00:00
parent 9db8ee6008
commit 81f391a1e4
2 changed files with 8 additions and 5 deletions

View file

@ -1,3 +1,5 @@
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/default/fix-ie5-ie6.css">
<![endif]-->
{if $load_css}
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/default/fix-ie5-ie6.css">
<![endif]-->
{/if}

View file

@ -13,11 +13,12 @@
<title>{$GALLERY_TITLE} :: {$PAGE_TITLE}</title>
<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
{get_combined_css}
{foreach from=$themes item=theme}
{if $theme.load_css}
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.id}/theme.css">
{combine_css path="admin/themes/`$theme.id`/theme.css" order=-10}
{/if}
{if isset($theme.local_head)}{include file=$theme.local_head}{/if}
{if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if}
{/foreach}
{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=1} {*jQuery is always available by default*}