[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.126,1.127
From: |
Miles Lott <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.126,1.127 |
Date: |
Mon, 21 Jan 2002 23:30:54 -0500 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv22677
Modified Files:
class.common.inc.php
Log Message:
Change default back to gif, change switch value to phpgw_info element for
config later
Index: class.common.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.common.inc.php,v
retrieving revision 1.126
retrieving revision 1.127
diff -C2 -r1.126 -r1.127
*** class.common.inc.php 21 Jan 2002 19:13:26 -0000 1.126
--- class.common.inc.php 22 Jan 2002 04:30:51 -0000 1.127
***************
*** 777,784 ****
function find_image($appname,$image)
{
! switch(PHPGW_IMGTYPE_PREF)
{
case 1:
! $imgpref = Array('gif','jpg','png');
break;
case 2:
--- 777,784 ----
function find_image($appname,$image)
{
! switch($GLOBALS['phpgw_info']['server']['image_type'])
{
case 1:
! $imgpref = Array('png','jpg','gif');
break;
case 2:
***************
*** 786,790 ****
break;
default:
! $imgpref = Array('png','jpg','gif');
}
--- 786,790 ----
break;
default:
! $imgpref = Array('gif','jpg','png');
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.126,1.127,
Miles Lott <address@hidden> <=