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.26,1.2


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.26,1.27
Date: Fri, 27 Sep 2002 20:09:50 -0400

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

Modified Files:
        class.uietemplate.inc.php 
Log Message:
changed templates to use ceb's css-theme-files

Index: class.uietemplate.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.uietemplate.inc.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** class.uietemplate.inc.php   27 Sep 2002 16:17:39 -0000      1.26
--- class.uietemplate.inc.php   28 Sep 2002 00:09:47 -0000      1.27
***************
*** 34,37 ****
--- 34,38 ----
                                                // 3=calls to show_cell and 
process_show_cell, or template-name or cell-type
                var $html,$sbox;        // instance of html / sbox2-class
+               var $class_conf = array('nmh' => 'th','nmr0' => 'row_on','nmr1' 
=> 'row_off');
  
                /*!
***************
*** 277,281 ****
                                        }
                                        $row_data[".$col"] .= 
$this->html->formatOptions($cell['align'],'ALIGN');
!                                       $row_data[".$col"] .= 
$this->html->formatOptions($cell['span'],',CLASS');
                                }
                                $rows[$row] = $row_data;
--- 278,284 ----
                                        }
                                        $row_data[".$col"] .= 
$this->html->formatOptions($cell['align'],'ALIGN');
!                                       list(,$cl) = explode(',',$cell['span']);
!                                       $cl = isset($this->class_conf[$cl]) ? 
$this->class_conf[$cl] : $cl;
!                                       $row_data[".$col"] .= 
$this->html->formatOptions($cl,'CLASS');
                                }
                                $rows[$row] = $row_data;
***************
*** 287,290 ****
--- 290,294 ----
                                        $cl .= $nmr_alternate++ & 1; // 
alternate color
                                }
+                               $cl = isset($this->class_conf[$cl]) ? 
$this->class_conf[$cl] : $cl;
                                $rows[".$row"] .= 
$this->html->formatOptions($cl,'CLASS');
                                $rows[".$row"] .= 
$this->html->formatOptions($class,',VALIGN');





reply via email to

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