summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-13 16:02:34 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-13 16:02:34 +0000
commitcf66c9fd93729244ae62947579913f7247532f0c (patch)
treef9f38350ad86be9ff8b4922e811bdb1b222608d1 /frontends/php/include/classes
parente9057de8be3f2273d6251b7d0a6095cf978f27f1 (diff)
downloadzabbix-cf66c9fd93729244ae62947579913f7247532f0c.tar.gz
zabbix-cf66c9fd93729244ae62947579913f7247532f0c.tar.xz
zabbix-cf66c9fd93729244ae62947579913f7247532f0c.zip
- Minor changes (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2524 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes')
-rw-r--r--frontends/php/include/classes/cformtable.inc.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/frontends/php/include/classes/cformtable.inc.php b/frontends/php/include/classes/cformtable.inc.php
index 6fb0c32c..699a7d2d 100644
--- a/frontends/php/include/classes/cformtable.inc.php
+++ b/frontends/php/include/classes/cformtable.inc.php
@@ -32,11 +32,20 @@
/* public */
function CFormTable($title=NULL, $action=NULL, $method='get', $enctype=NULL)
{
+ global $_REQUEST;
+
parent::CForm($action,$method,$enctype);
$this->SetTitle($title);
$this->SetAlign('center');
$this->SetHelp();
+ if(isset($_REQUEST["form"]) && is_string($_REQUEST["form"]))
+ $this->AddVar("form",$_REQUEST["form"]);
+ elseif(isset($title) && is_string($title))
+ $this->AddVar("form",$title);
+ else
+ $this->AddVar("form","form");
+
$this->bottom_items = new CCol(NULL,'form_row_last');
$this->bottom_items->SetColSpan(2);
}