phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/templates/probusiness head.inc.php, 1.1.2.1,


From: Chris Weiss <address@hidden>
Subject: [Phpgroupware-cvs] phpgwapi/templates/probusiness head.inc.php, 1.1.2.1, 1.1.2.2
Date: Thu, 23 Oct 2003 14:11:44 +0000

Update of /cvsroot/phpgroupware/phpgwapi/templates/probusiness
In directory subversions:/tmp/cvs-serv3613/phpgwapi/templates/probusiness

Modified Files:
      Tag: Version-0_9_16-branch
        head.inc.php 
Log Message:
fixed bug: cant use another css file when not using full webserver url in setup


Index: head.inc.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/phpgwapi/templates/probusiness/Attic/head.inc.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** head.inc.php        23 Oct 2003 02:08:39 -0000      1.1.2.1
--- head.inc.php        23 Oct 2003 14:11:40 -0000      1.1.2.2
***************
*** 27,32 ****
        }
  
!       $theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . 
'/phpgwapi/templates/probusiness/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
!       if (!file_exists($theme_css))
        {
                $theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] 
. '/phpgwapi/templates/probusiness/css/styles.css';
--- 27,35 ----
        }
  
!       if (file_exists(PHPGW_SERVER_ROOT . 
'/phpgwapi/templates/probusiness/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css'))
!       {
!               $theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] 
. 
'/phpgwapi/templates/probusiness/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
!       }
!       else
        {
                $theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] 
. '/phpgwapi/templates/probusiness/css/styles.css';





reply via email to

[Prev in Thread] Current Thread [Next in Thread]