phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.38,1.3


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.38,1.39
Date: Mon, 07 Oct 2002 20:08:43 -0400

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

Modified Files:
        class.uietemplate.inc.php 
Log Message:
added TITLE to link around img as submit-button

Index: class.uietemplate.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.uietemplate.inc.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -r1.38 -r1.39
*** class.uietemplate.inc.php   6 Oct 2002 00:20:32 -0000       1.38
--- class.uietemplate.inc.php   8 Oct 2002 00:08:40 -0000       1.39
***************
*** 488,491 ****
--- 488,492 ----
                                        break;
                                case 'button':
+                                       list($app) = explode('.',$this->name);
                                        if ($this->java_script() && 
$cell['onchange'])
                                        {
***************
*** 497,504 ****
                                        {
                                                list($img,$ro_img) = 
explode(',',$cell['size']);
! 
                                                $html .= !$readonly ? 
$this->html->submit_button($form_name,$label,'',
!                                                               strlen($label) 
<= 1 || $cell['no_lang'],$options,$img) :
!                                                       
$this->html->image(substr($this->name,0,strpos($this->name,'.')),$ro_img);
                                        }
                                        $extra_label = False;
--- 498,508 ----
                                        {
                                                list($img,$ro_img) = 
explode(',',$cell['size']);
!                   if (!empty($img))
!                                               {
!                                                       $options .= ' 
TITLE="'.$label.'"';
!                                               }
                                                $html .= !$readonly ? 
$this->html->submit_button($form_name,$label,'',
!                                                       strlen($label) <= 1 || 
$cell['no_lang'],$options,$img,$app) :
!                                                       
$this->html->image($app,$ro_img);
                                        }
                                        $extra_label = False;
***************
*** 827,829 ****
                        return $js;
                }
!       };
\ No newline at end of file
--- 831,833 ----
                        return $js;
                }
!       };





reply via email to

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