From fb1f4f9d6bbfc27c52c50fa17482979a5ad11e7e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 24 Aug 2004 19:57:47 +0000 Subject: [PATCH] renamed html class in admin to html_tables, as the name clashes with the class html in the api --- ...lass.html.inc.php => class.html_tables.inc.php} | 2 +- admin/inc/class.uilog.inc.php | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) rename admin/inc/{class.html.inc.php => class.html_tables.inc.php} (99%) mode change 100755 => 100644 diff --git a/admin/inc/class.html.inc.php b/admin/inc/class.html_tables.inc.php old mode 100755 new mode 100644 similarity index 99% rename from admin/inc/class.html.inc.php rename to admin/inc/class.html_tables.inc.php index e20f2730c5..771aeb34fd --- a/admin/inc/class.html.inc.php +++ b/admin/inc/class.html_tables.inc.php @@ -12,7 +12,7 @@ /* $Id$ */ - class html + class html_tables { function hash_table($rows,$head='',$obj, $frtn) { diff --git a/admin/inc/class.uilog.inc.php b/admin/inc/class.uilog.inc.php index 7c06bb2423..0dced91fd6 100644 --- a/admin/inc/class.uilog.inc.php +++ b/admin/inc/class.uilog.inc.php @@ -31,15 +31,15 @@ $GLOBALS['phpgw']->redirect_link('/index.php'); } - $_cols = $GLOBALS['HTTP_POST_VARS']['_cols']; - $nocols = $GLOBALS['HTTP_POST_VARS']['nocols']; - $_delcol = $GLOBALS['HTTP_POST_VARS']['_delcol']; - $layout = $GLOBALS['HTTP_POST_VARS']['layout']; - $editable = $GLOBALS['HTTP_GET_VARS']['editable']; - $modifytable = $GLOBALS['HTTP_GET_VARS']['modifytable'] ? $GLOBALS['HTTP_GET_VARS']['modifytable'] : $GLOBALS['HTTP_POST_VARS']['modifytable']; + $_cols = $_POST['_cols']; + $nocols = $_POST['nocols']; + $_delcol = $_POST['_delcol']; + $layout = $_POST['layout']; + $editable = $_GET['editable']; + $modifytable = $_GET['modifytable'] ? $_GET['modifytable'] : $_POST['modifytable']; $this->bolog = CreateObject('admin.bolog',True); - $this->html = createobject('admin.html'); + $this->html = createobject('admin.html_tables'); $this->t = CreateObject('phpgwapi.Template',$GLOBALS['phpgw']->common->get_tpl_dir('admin')); $this->lastid = ''; $this->editmode = False;