phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/inc class.editor.inc.php,1.17,1.18
Date: Wed, 25 Sep 2002 12:27:13 -0400

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

Modified Files:
        class.editor.inc.php 
Log Message:
fixed a warning

Index: class.editor.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.editor.inc.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** class.editor.inc.php        24 Sep 2002 21:55:16 -0000      1.17
--- class.editor.inc.php        25 Sep 2002 16:27:11 -0000      1.18
***************
*** 182,186 ****
                        $this->etemplate->style = $content['style'];
  
!                       $this->etemplate->data = 
array($content['width']+$content['height']+$content['class']);
                        $row = 1; $col = 0;
                        while (isset($content[$name = 
$this->etemplate->num2chrs($col) . $row]))
--- 182,195 ----
                        $this->etemplate->style = $content['style'];
  
!                       $opts = array();
!                       $names = array('width','height','class');
!                       while (list(,$opt) = each($names))
!                       {
!                               if (is_array($content[$opt]))
!                               {
!                                       $opts += $content[$opt];
!                               }
!                       }
!                       $this->etemplate->data = array($opts);
                        $row = 1; $col = 0;
                        while (isset($content[$name = 
$this->etemplate->num2chrs($col) . $row]))





reply via email to

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