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.51,1.5


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.51,1.52
Date: Mon, 28 Oct 2002 19:53:01 -0500

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

Modified Files:
        class.uietemplate.inc.php 
Log Message:
changed behavior of no_lang on extra labels (labels in front of input-fields, 
not buttons), the get now always translated if they are longer than 1 char and 
do not contain variable content (via @ or $)


Index: class.uietemplate.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.uietemplate.inc.php,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -r1.51 -r1.52
*** class.uietemplate.inc.php   26 Oct 2002 18:45:37 -0000      1.51
--- class.uietemplate.inc.php   29 Oct 2002 00:52:59 -0000      1.52
***************
*** 777,781 ****
                        if ($extra_label && ($label != '' || $html == ''))
                        {
!                               if (strlen($label) > 1 && !$cell['no_lang'])
                                {
                                        $label = lang($label);
--- 777,781 ----
                        if ($extra_label && ($label != '' || $html == ''))
                        {
!                               if (strlen($label) > 1 && !($cell['no_lang'] && 
$cell['label'] != $label))
                                {
                                        $label = lang($label);





reply via email to

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