Ignore:
Timestamp:
03/16/10 18:27:59 (14 years ago)
Author:
rodsouza
Message:

Ticket #987 - Unificando local da inclusão do css do tema.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/templates/default/head.inc.php

    r890 r2273  
    3333 
    3434        #_debug_array($GLOBALS['phpgw_info']['user']['preferences']['common']); 
    35         $theme_css = ".".$GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/'.$GLOBALS['phpgw_info']['server']['template_set'].'/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css'; 
    36         if(!file_exists($theme_css)) 
    37         { 
    38                 $theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/'.$GLOBALS['phpgw_info']['server']['template_set'].'/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css'; 
    39         } 
    4035 
    4136        //pngfix defaults to yes 
     
    9489                'website_title' => $GLOBALS['phpgw_info']['server']['site_title'].$app, 
    9590                'body_tags'     => $bodyheader .' '. $GLOBALS['phpgw']->common->get_body_attribs(), 
    96                 'theme_css'     => $theme_css, 
    9791                'css'           => $GLOBALS['phpgw']->common->get_css(), 
    9892                'java_script'   => $GLOBALS['phpgw']->common->get_java_script(), 
Note: See TracChangeset for help on using the changeset viewer.