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.16,1.17


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.Template.inc.php,1.16,1.17
Date: Mon, 21 Jan 2002 23:33:38 -0500

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

Modified Files:
        class.Template.inc.php 
Log Message:
Change to use phpgw_info for image type selection



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




reply via email to

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