feature 1502: Add $themeconf['load_parent_css'] parameter

git-svn-id: http://piwigo.org/svn/trunk@5991 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
patdenice 2010-04-29 12:45:27 +00:00
commit a2ccb9a5c9
3 changed files with 15 additions and 4 deletions

View file

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