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.3,1.4


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.listbox.inc.php,1.3,1.4
Date: Thu, 03 Oct 2002 17:37:05 -0400

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

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

Index: class.listbox.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.listbox.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** class.listbox.inc.php       3 Oct 2002 00:11:48 -0000       1.3
--- class.listbox.inc.php       3 Oct 2002 21:37:03 -0000       1.4
***************
*** 1,27 ****
  <?php
!   /**************************************************************************\
!   * phpGroupWare API - Link box generator                                    *
!   * http://www.phpgroupware.org/api                                          *
!   * This file written by Mark Peters <address@hidden>              *
!   * Creates listboxes using templates                                        *
!   * Copyright (C) 2000, 2001 Mark Peters                                     *
!   * -------------------------------------------------------------------------*
!   * This library is part of the phpGroupWare API                             *
!   * http://www.phpgroupware.org/api                                          
* 
!   * ------------------------------------------------------------------------ *
!   * This library is free software; you can redistribute it and/or modify it  *
!   * under the terms of the GNU Lesser General Public License as published by *
!   * the Free Software Foundation; either version 2.1 of the License,         *
!   * or any later version.                                                    *
!   * This library is distributed in the hope that it will be useful, but      *
!   * WITHOUT ANY WARRANTY; without even the implied warranty of               *
!   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                     *
!   * See the GNU Lesser General Public License for more details.              *
!   * You should have received a copy of the GNU Lesser General Public License *
!   * along with this library; if not, write to the Free Software Foundation,  *
!   * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA            *
!   \**************************************************************************/
! 
!   /* $Id$ */
  
        CreateObject('phpgwapi.portalbox');
--- 1,26 ----
  <?php
!       
/**************************************************************************\
!       * phpGroupWare API - Link box generator                                 
   *
!       * http://www.phpgroupware.org/api                                       
   *
!       * Written by Mark Peters <address@hidden>                        *
!       * Creates listboxes using templates                                     
   *
!       * Copyright (C) 2000 - 2002 Mark Peters                                 
   *
!       * 
------------------------------------------------------------------------ *
!       * This library is part of the phpGroupWare API                          
   *
!       * http://www.phpgroupware.org/api                                       
   * 
!       * 
------------------------------------------------------------------------ *
!       * This library is free software; you can redistribute it and/or modify 
it  *
!       * under the terms of the GNU Lesser General Public License as published 
by *
!       * the Free Software Foundation; either version 2.1 of the License,      
   *
!       * or any later version.                                                 
   *
!       * This library is distributed in the hope that it will be useful, but   
   *
!       * WITHOUT ANY WARRANTY; without even the implied warranty of            
   *
!       * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                  
   *
!       * See the GNU Lesser General Public License for more details.           
   *
!       * You should have received a copy of the GNU Lesser General Public 
License *
!       * along with this library; if not, write to the Free Software 
Foundation,  *
!       * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA         
   *
!       
\**************************************************************************/
!       /* $Id$ */
  
        CreateObject('phpgwapi.portalbox');
***************
*** 71,86 ****
                        if(count($this->data))
                        {
-                               
$this->p->parse('row','portal_listbox_header',True);
- 
                                for ($x = 0; $x < count($this->data); $x++)
                                {
!                                       $var = Array(
!                                               'text'  => 
$this->data[$x]['text'],
!                                               'link'  => 
$this->data[$x]['link']
                                        );
-                                       $this->p->set_var($var);
-                                       
$this->p->parse('row','portal_listbox_link',True);
                                }
-                               
$this->p->parse('row','portal_listbox_footer',True);
                        }
                        $this->set_internal($extra_data);
--- 70,86 ----
                        if(count($this->data))
                        {
                                for ($x = 0; $x < count($this->data); $x++)
                                {
!                                       $var = array
!                                       (
!                                               'text'                          
        => $this->data[$x]['text'],
!                                               'link'                          
        => $this->data[$x]['link'],
!                                               'lang_link_statustext'  => 
$this->data[$x]['lang_link_statustext']
!                                       );
!                                       $this->output['portal_row'] = array
!                                       (
!                                               'listbox'       => $var
                                        );
                                }
                        }
                        $this->set_internal($extra_data);
***************
*** 88,89 ****
--- 88,90 ----
                }
        }
+ ?>





reply via email to

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