phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/templates/idots head.inc.php, 1.1.2.9, 1.1.2


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] phpgwapi/templates/idots head.inc.php, 1.1.2.9, 1.1.2.10
Date: Sun, 30 Nov 2003 16:13:08 +0000

Update of /cvsroot/phpgroupware/phpgwapi/templates/idots
In directory subversions:/tmp/cvs-serv18792

Modified Files:
      Tag: Version-0_9_16-branch
        head.inc.php 
Log Message:
fixed wrong using of file_exists

Index: head.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/templates/idots/Attic/head.inc.php,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -C2 -d -r1.1.2.9 -r1.1.2.10
*** head.inc.php        28 Aug 2003 05:37:30 -0000      1.1.2.9
--- head.inc.php        30 Nov 2003 16:13:06 -0000      1.1.2.10
***************
*** 21,26 ****
        }
  
!       $theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . 
'/phpgwapi/templates/idots/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
!       if (!file_exists($theme_css))
        {
                $theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] 
. '/phpgwapi/templates/idots/css/idots.css';
--- 21,29 ----
        }
  
!       if(file_exists(PHPGW_SERVER_ROOT . '/phpgwapi/templates/idots/css/' . 
$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'] . '.css'))
!       {
!               $theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] 
. 
'/phpgwapi/templates/idots/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
!       }
!       else
        {
                $theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] 
. '/phpgwapi/templates/idots/css/idots.css';





reply via email to

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