Changeset 5190


Ignore:
Timestamp:
03/19/10 14:30:21 (10 years ago)
Author:
plg
Message:

feature 1502: replace the theme.name by theme.id for theme.css load

Location:
trunk
Files:
3 edited

Legend:

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

    r5182 r5190  
    1616{foreach from=$themes item=theme} 
    1717{if isset($theme.local_head)}{include file=$theme.local_head}{/if} 
    18 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.name}/theme.css"> 
     18<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.id}/theme.css"> 
    1919{/foreach} 
    2020 
  • trunk/include/template.class.php

    r5177 r5190  
    9898    } 
    9999 
    100     $tpl_var = array('name' => $themeconf['name']); 
     100    $tpl_var = array('id' => $theme); 
    101101    if (!empty($themeconf['local_head']) ) 
    102102    { 
  • trunk/themes/default/template/header.tpl

    r5129 r5190  
    3333{foreach from=$themes item=theme} 
    3434{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"> 
     35<link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/{$theme.id}/theme.css"> 
    3636{/foreach} 
    3737 
Note: See TracChangeset for help on using the changeset viewer.