[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.52,1.5
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.52,1.53 |
Date: |
Sat, 22 Feb 2003 07:27:21 -0500 |
Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv13362
Modified Files:
class.uietemplate.inc.php
Log Message:
some docu updates and cleaned up some debug-code
Index: class.uietemplate.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.uietemplate.inc.php,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -r1.52 -r1.53
*** class.uietemplate.inc.php 29 Oct 2002 00:52:59 -0000 1.52
--- class.uietemplate.inc.php 22 Feb 2003 12:27:16 -0000 1.53
***************
*** 68,72 ****
{
Header('Location: ' . $this->html->link(is_array($vars)
? '/index.php' : $vars,
! is_array($vars) ? $vars : ''));
$GLOBALS['phpgw']->common->phpgw_exit();
--- 68,72 ----
{
Header('Location: ' . $this->html->link(is_array($vars)
? '/index.php' : $vars,
! is_array($vars) ? $vars : ''));
$GLOBALS['phpgw']->common->phpgw_exit();
***************
*** 277,281 ****
$readonlys = array();
}
! if ($this->debug >= 1 || $this->debug == $this->name &&
$this->name)
{
echo "<p>etemplate.show($this->name): $cname
=\n"; _debug_array($content);
--- 277,281 ----
$readonlys = array();
}
! if (is_int($this->debug) && $this->debug >= 1 ||
$this->debug == $this->name && $this->name)
{
echo "<p>etemplate.show($this->name): $cname
=\n"; _debug_array($content);
***************
*** 415,419 ****
function
show_cell($cell,$content,$sel_options,$readonlys,$cname,$show_c,$show_row,&$span)
{
! if ($this->debug >= 3 || $this->debug == $cell['type'])
{
echo
"<p>etemplate.show_cell($this->name,name='${cell['name']}',type='${cell['type']}',cname='$cname')</p>\n";
--- 415,419 ----
function
show_cell($cell,$content,$sel_options,$readonlys,$cname,$show_c,$show_row,&$span)
{
! if (is_int($this->debug) && $this->debug >= 3 ||
$this->debug == $cell['type'])
{
echo
"<p>etemplate.show_cell($this->name,name='${cell['name']}',type='${cell['type']}',cname='$cname')</p>\n";
***************
*** 626,630 ****
}
}
! if ($this->debug >= 3 || $this->debug
== $cell['type'])
{
echo
"<p>show_cell::template(tpl=$this->name,name=$cell[name]): $obj_read</p>\n";
--- 626,630 ----
}
}
! if (is_int($this->debug) &&
$this->debug >= 3 || $this->debug == $cell['type'])
{
echo
"<p>show_cell::template(tpl=$this->name,name=$cell[name]): $obj_read</p>\n";
***************
*** 819,822 ****
--- 819,823 ----
@discussion This is only an internal function, dont call it
direct use only exec
@discussion Process_show uses a list of input-fields/widgets
generated by show.
+ @syntax process_show(&$content,$to_process,$cname='')
@param $content HTTP_POST_VARS[$cname]
@param $to_process list of widgets/form-fields to process
***************
*** 830,834 ****
return;
}
! if ($this->debug >= 1 || $this->debug == $this->name &&
$this->name)
{
echo "<p>process_show($this->name) start:
content ="; _debug_array($content);
--- 831,835 ----
return;
}
! if (is_int($this->debug) && $this->debug >= 1 ||
$this->debug == $this->name && $this->name)
{
echo "<p>process_show($this->name) start:
content ="; _debug_array($content);
***************
*** 912,916 ****
$content = $content[$cname];
}
! if ($this->debug >= 2 || $this->debug == $this->name &&
$this->name)
{
echo "<p>process_show($this->name) end: content
="; _debug_array($content);
--- 913,917 ----
$content = $content[$cname];
}
! if (is_int($this->debug) && $this->debug >= 2 ||
$this->debug == $this->name && $this->name)
{
echo "<p>process_show($this->name) end: content
="; _debug_array($content);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.52,1.53,
Ralf Becker <address@hidden> <=