From 3d3f9639bc0524d6085d11041d70d23fbbda1c88 Mon Sep 17 00:00:00 2001 From: osmiy Date: Wed, 25 Jan 2006 15:08:07 +0000 Subject: - Frontend improvements (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@2564 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/classes/cformtable.inc.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'frontends/php/include/classes/cformtable.inc.php') diff --git a/frontends/php/include/classes/cformtable.inc.php b/frontends/php/include/classes/cformtable.inc.php index 3af7acae..1adb45d0 100644 --- a/frontends/php/include/classes/cformtable.inc.php +++ b/frontends/php/include/classes/cformtable.inc.php @@ -39,11 +39,21 @@ $this->SetAlign('center'); $this->SetHelp(); + $this->AddItemToTopRow(""); + $this->AddVar("form","1"); $this->bottom_items = new CCol(NULL,'form_row_last'); $this->bottom_items->SetColSpan(2); } + function SetAction($value) + { + if(!is_string($value)) + { + return $this->error("Incorrect value for SetAlign [$value]"); + } + parent::SetAction($value."#form"); + } function SetAlign($value) { if(!is_string($value)) -- cgit