mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02:00
remove comment code which is not needed
This commit is contained in:
parent
57c55f4899
commit
2f32ca43b2
@ -16,7 +16,7 @@
|
|||||||
{
|
{
|
||||||
function hash_table($rows,$head='',$obj, $frtn)
|
function hash_table($rows,$head='',$obj, $frtn)
|
||||||
{
|
{
|
||||||
$start = $GLOBALS['HTTP_POST_VARS']['start'] ? $GLOBALS['HTTP_POST_VARS']['start'] : $GLOBALS['HTTP_GET_VARS']['start'];
|
$start = $_POST['start'] ? $_POST['start'] : $_GET['start'];
|
||||||
|
|
||||||
$html = '';
|
$html = '';
|
||||||
$edittable = $head['_edittable'];
|
$edittable = $head['_edittable'];
|
||||||
@ -68,7 +68,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// if(gettype($head['_cols'])=="NULL")
|
|
||||||
if(@is_null($head['_cols']))
|
if(@is_null($head['_cols']))
|
||||||
{
|
{
|
||||||
$cols = $this->arr_keys($rows[0]);
|
$cols = $this->arr_keys($rows[0]);
|
||||||
@ -171,7 +170,7 @@
|
|||||||
|
|
||||||
$html .= $this->html_head($head,$table,$printlist);
|
$html .= $this->html_head($head,$table,$printlist);
|
||||||
/*
|
/*
|
||||||
** Now (finaly) Generate the Html For the Table
|
** Now (finally) Generate the Html For the Table
|
||||||
*/
|
*/
|
||||||
//print_r($rows);
|
//print_r($rows);
|
||||||
for($rno=$start;$rno<$stop;$rno++)
|
for($rno=$start;$rno<$stop;$rno++)
|
||||||
@ -244,11 +243,11 @@
|
|||||||
|
|
||||||
function edit_table($rows,$head='',$obj, $frtn)
|
function edit_table($rows,$head='',$obj, $frtn)
|
||||||
{
|
{
|
||||||
$nocols = $GLOBALS['HTTP_POST_VARS']['nocols'];
|
$nocols = $_POST['nocols'];
|
||||||
$noflds = $GLOBALS['HTTP_POST_VARS']['noflds'];
|
$noflds = $_POST['noflds'];
|
||||||
$norows = $GLOBALS['HTTP_POST_VARS']['norows'];
|
$norows = $_POST['norows'];
|
||||||
$layout = $GLOBALS['HTTP_POST_VARS']['layout'];
|
$layout = $_POST['layout'];
|
||||||
$_cols = $GLOBALS['HTTP_POST_VARS']['_cols'];
|
$_cols = $_POST['_cols'];
|
||||||
|
|
||||||
$html = '';
|
$html = '';
|
||||||
$html .= '<form method="post" action="'
|
$html .= '<form method="post" action="'
|
||||||
@ -272,7 +271,6 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// if(gettype($head['_cols'])=="NULL")
|
|
||||||
if(@is_null($head['_cols']))
|
if(@is_null($head['_cols']))
|
||||||
{
|
{
|
||||||
$cols = $this->arr_keys($rows[0]);
|
$cols = $this->arr_keys($rows[0]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user