remove comment code which is not needed

This commit is contained in:
Miles Lott 2004-02-20 15:04:26 +00:00
parent 57c55f4899
commit 2f32ca43b2

View File

@ -16,7 +16,7 @@
{
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 = '';
$edittable = $head['_edittable'];
@ -68,7 +68,6 @@
}
}
// if(gettype($head['_cols'])=="NULL")
if(@is_null($head['_cols']))
{
$cols = $this->arr_keys($rows[0]);
@ -171,7 +170,7 @@
$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);
for($rno=$start;$rno<$stop;$rno++)
@ -244,11 +243,11 @@
function edit_table($rows,$head='',$obj, $frtn)
{
$nocols = $GLOBALS['HTTP_POST_VARS']['nocols'];
$noflds = $GLOBALS['HTTP_POST_VARS']['noflds'];
$norows = $GLOBALS['HTTP_POST_VARS']['norows'];
$layout = $GLOBALS['HTTP_POST_VARS']['layout'];
$_cols = $GLOBALS['HTTP_POST_VARS']['_cols'];
$nocols = $_POST['nocols'];
$noflds = $_POST['noflds'];
$norows = $_POST['norows'];
$layout = $_POST['layout'];
$_cols = $_POST['_cols'];
$html = '';
$html .= '<form method="post" action="'
@ -272,7 +271,6 @@
}
else
{
// if(gettype($head['_cols'])=="NULL")
if(@is_null($head['_cols']))
{
$cols = $this->arr_keys($rows[0]);