Ignore:
Timestamp:
10/25/10 17:46:06 (14 years ago)
Author:
rafaelraymundo
Message:

Ticket #1309 - Escolha automática do tema, em função da url do cliente.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/phpgwapi/inc/class.common.inc.php

    r3170 r3410  
    12731273                                $template = $GLOBALS['phpgw_info']['server']['template_set']; 
    12741274                                $GLOBALS['phpgw']->css->validate_file( "phpgwapi/templates/".$template."/css/base.css");  
    1275                                 $GLOBALS['phpgw']->css->validate_file( "phpgwapi/templates/".$template."/css/".$GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'common' ][ 'theme' ].".css");  
    1276                                 $GLOBALS['phpgw']->css->validate_file( $GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'currentapp' ]."/templates/".$template."/css/".$GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'common' ][ 'theme' ].".css");  
     1275                                $GLOBALS['phpgw']->css->validate_file( "phpgwapi/templates/".$template."/css/".get_theme().".css"); 
     1276                                $GLOBALS['phpgw']->css->validate_file( $GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'currentapp' ]."/templates/".$template."/css/".get_theme().".css"); 
    12771277                                $GLOBALS['phpgw']->css->validate_file( $GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'currentapp' ]."/templates/".$template."/css/app.css");  
    12781278 
Note: See TracChangeset for help on using the changeset viewer.