phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.listbox.inc.php,1.12,1.13 cla


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.listbox.inc.php,1.12,1.13 class.portalbox.inc.php,1.21,1.22
Date: Fri, 25 Oct 2002 17:40:12 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv13805/inc

Modified Files:
        class.listbox.inc.php class.portalbox.inc.php 
Log Message:
update xslt

Index: class.listbox.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.listbox.inc.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** class.listbox.inc.php       25 Oct 2002 16:43:00 -0000      1.12
--- class.listbox.inc.php       25 Oct 2002 21:40:09 -0000      1.13
***************
*** 46,53 ****
--- 46,55 ----
                function listbox()
                {
+                       $this->portalbox();
                }
  
                function set_params($param)
                {
+                       $this->portalbox(True);
                        @reset($param);
                        while(list($key,$value) = each($param))
***************
*** 88,93 ****
                {
                        $this->start_template();
! 
!                       if(count($this->data))
                        {
                                for ($x = 0; $x < count($this->data); $x++)
--- 90,94 ----
                {
                        $this->start_template();
!                       if(is_array($this->data) && !empty($this->data))
                        {
                                for ($x = 0; $x < count($this->data); $x++)
***************
*** 116,121 ****
                                $this->start_template();
                        }
! 
!                       if(count($this->data))
                        {
                                for ($x = 0; $x < count($this->data); $x++)
--- 117,121 ----
                                $this->start_template();
                        }
!                       if(is_array($this->data) && !empty($this->data))
                        {
                                for ($x = 0; $x < count($this->data); $x++)

Index: class.portalbox.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.portalbox.inc.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** class.portalbox.inc.php     25 Oct 2002 20:34:36 -0000      1.21
--- class.portalbox.inc.php     25 Oct 2002 21:40:09 -0000      1.22
***************
*** 48,52 ****
                /* This is the constructor for the object. */
  
!               function portalbox()
                {
                        $this->title = '';
--- 48,52 ----
                /* This is the constructor for the object. */
  
!               function portalbox($reset = False)
                {
                        $this->title = '';
***************
*** 63,69 ****
                        $this->xextrabox = '';
                        $this->listbox = '';
- 
-                       $this->output;
                        $this->data = array();
                }
  
--- 63,72 ----
                        $this->xextrabox = '';
                        $this->listbox = '';
                        $this->data = array();
+ 
+                       if (!$reset)
+                       {
+                               $this->output;
+                       }
                }
  





reply via email to

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