[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.Template.inc.php,1.28,1.29 cl
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.Template.inc.php,1.28,1.29 class.common.inc.php,1.170,1.171 class.listbox.inc.php,1.13,1.14 class.portalbox.inc.php,1.22,1.23 class.xmltool.inc.php,1.7,1.8 class.xslttemplates.inc.php,1.9,1.10 |
Date: |
Fri, 25 Oct 2002 20:27:49 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv13151/inc
Modified Files:
class.Template.inc.php class.common.inc.php
class.listbox.inc.php class.portalbox.inc.php
class.xmltool.inc.php class.xslttemplates.inc.php
Log Message:
update xslt
Index: class.Template.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.Template.inc.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** class.Template.inc.php 6 Oct 2002 16:18:03 -0000 1.28
--- class.Template.inc.php 26 Oct 2002 00:27:46 -0000 1.29
***************
*** 155,158 ****
--- 155,164 ----
function set_var($varname, $value = '', $append=False)
{
+ if ($varname == 'phpgw_body' &&
is_object($GLOBALS['phpgw']->xslttpl))
+ {
+
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('body_data' => $value));
+ return;
+ }
+
if (!is_array($varname))
{
Index: class.common.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.common.inc.php,v
retrieving revision 1.170
retrieving revision 1.171
diff -C2 -r1.170 -r1.171
*** class.common.inc.php 25 Oct 2002 22:33:39 -0000 1.170
--- class.common.inc.php 26 Oct 2002 00:27:46 -0000 1.171
***************
*** 1213,1216 ****
--- 1213,1219 ----
$var['home'] = True;
break;
+ case 'about':
+ $var['about'] = True;
+ break;
}
Index: class.listbox.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.listbox.inc.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** class.listbox.inc.php 25 Oct 2002 21:40:09 -0000 1.13
--- class.listbox.inc.php 26 Oct 2002 00:27:46 -0000 1.14
***************
*** 28,33 ****
class listbox extends portalbox
{
- var $param;
-
/*
Set up the Object. You will notice, we have not reserved
--- 28,31 ----
Index: class.portalbox.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.portalbox.inc.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** class.portalbox.inc.php 25 Oct 2002 21:40:09 -0000 1.22
--- class.portalbox.inc.php 26 Oct 2002 00:27:46 -0000 1.23
***************
*** 29,33 ****
var $app_name;
var $app_id;
- var $controls;
var $up;
var $down;
--- 29,32 ----
***************
*** 50,71 ****
function portalbox($reset = False)
{
! $this->title = '';
! $this->app_name = '';
! $this->app_id = 0;
!
! $this->up = '';
! $this->down = '';
! $this->close = '';
! $this->question = '';
! $this->edit = '';
!
! $this->extrabox = '';
! $this->xextrabox = '';
! $this->listbox = '';
! $this->data = array();
if (!$reset)
{
! $this->output;
}
}
--- 49,70 ----
function portalbox($reset = False)
{
! $this->title = '';
! $this->app_name = '';
! $this->app_id = 0;
!
! $this->up = '';
! $this->down = '';
! $this->close = '';
! $this->question = '';
! $this->edit = '';
!
! $this->extrabox = '';
! $this->xextrabox = '';
! $this->listbox = '';
! $this->data = array();
if (!$reset)
{
! $this->output = array();
}
}
***************
*** 140,144 ****
function draw_box()
{
- $control = '';
if($this->up || $this->down || $this->close ||
$this->question || $this->edit)
{
--- 139,142 ----
Index: class.xmltool.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.xmltool.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** class.xmltool.inc.php 25 Oct 2002 20:34:36 -0000 1.7
--- class.xmltool.inc.php 26 Oct 2002 00:27:46 -0000 1.8
***************
*** 1,3 ****
--- 1,28 ----
<?php
+ /*******************************************************************\
+ * phpGroupWare API - XML tools *
+ * Written by Dan Kuykendall <address@hidden> *
+ * and Bettina Gille address@hidden *
+ * and Ralf Becker <address@hidden> *
+ * Copyright (C) 2002 Dan Kuykendall, Bettina Gille, Ralf Becker *
+ * ----------------------------------------------------------------- *
+ * This library is part of the phpGroupWare API *
+ * ----------------------------------------------------------------- *
+ * This library is free software; you can redistribute it and/or *
+ * modify it under the terms of the GNU General Public License as *
+ * published by the Free Software Foundation; either version 2 of *
+ * the License, or (at your option) any later version. *
+ * *
+ * This program 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 *
+ * General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
+ \*******************************************************************/
+ /* $Id$ */
+
function var2xml($name, $data)
{
Index: class.xslttemplates.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.xslttemplates.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** class.xslttemplates.inc.php 25 Oct 2002 20:34:36 -0000 1.9
--- class.xslttemplates.inc.php 26 Oct 2002 00:27:46 -0000 1.10
***************
*** 1,3 ****
--- 1,27 ----
<?php
+ /*******************************************************************\
+ * phpGroupWare API - XSLT Template class *
+ * Written by Dan Kuykendall <address@hidden> *
+ * and Bettina Gille address@hidden *
+ * and Ralf Becker <address@hidden> *
+ * Copyright (C) 2002 Dan Kuykendall, Bettina Gille, Ralf Becker *
+ * ----------------------------------------------------------------- *
+ * This library is part of the phpGroupWare API *
+ * ----------------------------------------------------------------- *
+ * This library is free software; you can redistribute it and/or *
+ * modify it under the terms of the GNU General Public License as *
+ * published by the Free Software Foundation; either version 2 of *
+ * the License, or (at your option) any later version. *
+ * *
+ * This program 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 *
+ * General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
+ \*******************************************************************/
+ /* $Id$ */
if (!extension_loaded('xslt'))
***************
*** 132,136 ****
}
! function set_var($name, $value, $append = False)
{
if($append)
--- 156,160 ----
}
! function set_var($name, $value, $append = True)
{
if($append)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.Template.inc.php,1.28,1.29 class.common.inc.php,1.170,1.171 class.listbox.inc.php,1.13,1.14 class.portalbox.inc.php,1.22,1.23 class.xmltool.inc.php,1.7,1.8 class.xslttemplates.inc.php,1.9,1.10,
Bettina Gille <address@hidden> <=