[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.listbox.inc.php,1.6,1.7 class
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.listbox.inc.php,1.6,1.7 class.portalbox.inc.php,1.13,1.14 |
Date: |
Sat, 05 Oct 2002 17:59:30 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv31884
Modified Files:
class.listbox.inc.php class.portalbox.inc.php
Log Message:
update portalbox functions
Index: class.listbox.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.listbox.inc.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** class.listbox.inc.php 3 Oct 2002 23:14:38 -0000 1.6
--- class.listbox.inc.php 5 Oct 2002 21:59:27 -0000 1.7
***************
*** 58,62 ****
}
$this->portalbox($param['title']);
! $this->start_template();
}
--- 58,62 ----
}
$this->portalbox($param['title']);
! //$this->start_template();
}
***************
*** 67,70 ****
--- 67,79 ----
function draw($extra_data='')
{
+ if ($extra_data)
+ {
+ $this->start_template(True);
+ }
+ else
+ {
+ $this->start_template();
+ }
+
if(count($this->data))
{
***************
*** 80,83 ****
--- 89,93 ----
$this->output['listbox'] = $var;
}
+
$this->set_internal($extra_data);
return $this->draw_box();
Index: class.portalbox.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.portalbox.inc.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** class.portalbox.inc.php 3 Oct 2002 23:14:38 -0000 1.13
--- class.portalbox.inc.php 5 Oct 2002 21:59:27 -0000 1.14
***************
*** 27,30 ****
--- 27,31 ----
//Set up the Object, reserving memory space for variables
+ var $app_name;
var $outerwidth;
var $width;
***************
*** 76,88 ****
This is the constructor for the object.
*/
! function portalbox($title='')
{
$this->setvar('title',$title);
// echo 'After SetVar Title =
'.$this->getvar('title')."<br>\n";
}
! function start_template()
{
! $GLOBALS['phpgw']->xslttpl->add_file(array('portal'));
$this->output = array
--- 77,97 ----
This is the constructor for the object.
*/
! function portalbox($title = '')
{
$this->setvar('title',$title);
+
// echo 'After SetVar Title =
'.$this->getvar('title')."<br>\n";
}
! function start_template($extra = False)
{
! if ($extra)
! {
!
$GLOBALS['phpgw']->xslttpl->add_file(array('portal',$GLOBALS['phpgw']->common->get_tpl_dir($this->getvar('app_name'),'default')
. SEP . 'extrabox'));
! }
! else
! {
!
$GLOBALS['phpgw']->xslttpl->add_file(array('portal'));
! }
$this->output = array
***************
*** 112,119 ****
}
! $this->output['extrabox'] = array
! (
! 'data' => $data
! );
}
--- 121,125 ----
}
! $this->output['extrabox'] = $data;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.listbox.inc.php,1.6,1.7 class.portalbox.inc.php,1.13,1.14,
Bettina Gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/templates/default cat_filter.xsl,1.4,1.5 portal.xsl,1.3,1.4
- Next by Date:
[Phpgroupware-cvs] CVS: notes/templates/default list.xsl,1.11,1.12
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/templates/default cat_filter.xsl,1.4,1.5 portal.xsl,1.3,1.4
- Next by thread:
[Phpgroupware-cvs] CVS: notes/templates/default list.xsl,1.11,1.12
- Index(es):