phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.Template.inc.php,1.15,1.16 cl


From: Dan Kuykendall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.Template.inc.php,1.15,1.16 class.common.inc.php,1.125,1.126
Date: Mon, 21 Jan 2002 14:13:28 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv29484

Modified Files:
        class.Template.inc.php class.common.inc.php 
Log Message:
now only removes all gifs is policy is set

Index: class.Template.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.Template.inc.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** class.Template.inc.php      21 Jan 2002 19:04:57 -0000      1.15
--- class.Template.inc.php      21 Jan 2002 19:13:26 -0000      1.16
***************
*** 335,339 ****
                        }
                        /* If they want NOGIF policy, then I do a global 
replace */
!                       if 
($GLOBALS['phpgw_info']['server']['imgtype_preference'] == 2)
                        {
                                $str = str_replace (".gif", ".png",$str);
--- 335,339 ----
                        }
                        /* If they want NOGIF policy, then I do a global 
replace */
!                       if (PHPGW_IMGTYPE_PREF == 2)
                        {
                                $str = str_replace (".gif", ".png",$str);

Index: class.common.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.common.inc.php,v
retrieving revision 1.125
retrieving revision 1.126
diff -C2 -r1.125 -r1.126
*** class.common.inc.php        21 Jan 2002 19:04:57 -0000      1.125
--- class.common.inc.php        21 Jan 2002 19:13:26 -0000      1.126
***************
*** 777,781 ****
                function find_image($appname,$image)
                {
!                       
switch($GLOBALS['phpgw_info']['server']['imgtype_preference'])
                        {
                                case 1:
--- 777,781 ----
                function find_image($appname,$image)
                {
!                       switch(PHPGW_IMGTYPE_PREF)
                        {
                                case 1:




reply via email to

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