phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: etemplate/inc class.html.inc.php,1.17,1.18


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/inc class.html.inc.php,1.17,1.18
Date: Tue, 22 Apr 2003 19:59:24 -0400

Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv12278

Modified Files:
        class.html.inc.php 
Log Message:
fix for HEAD, find_image does no longer lock in the api for not found images


Index: class.html.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.html.inc.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** class.html.inc.php  13 Apr 2003 16:01:29 -0000      1.17
--- class.html.inc.php  22 Apr 2003 23:59:21 -0000      1.18
***************
*** 114,122 ****
                if ($image != '')
                {
!                       if (strstr($image,'.') === False)
!                       {
!                               $image .= '.gif';
!                       }
!                       if (!($path = 
$GLOBALS['phpgw']->common->image($app,$image)))
                        {
                                $path = $image;         // name may already 
contain absolut path 
--- 114,120 ----
                if ($image != '')
                {
!                       if (strpos($image,'.')) $image = 
substr($image,0,strpos($image,'.'));
!                       if (!($path = 
$GLOBALS['phpgw']->common->image($app,$image)) &&
!                           !($path = 
$GLOBALS['phpgw']->common->image('phpgwapi',$image)))
                        {
                                $path = $image;         // name may already 
contain absolut path 





reply via email to

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