summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes/cformtable.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-07-19 14:17:45 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-07-19 14:17:45 +0000
commit2691ad6741639192c107509983aa42a0fcd39141 (patch)
tree83dfc7e8829477e3ee68d4917dc4eb7e80446cc3 /frontends/php/include/classes/cformtable.inc.php
parent9952250afe4243f8ac3de8fbcb7d4b5b1292179d (diff)
downloadzabbix-2691ad6741639192c107509983aa42a0fcd39141.tar.gz
zabbix-2691ad6741639192c107509983aa42a0fcd39141.tar.xz
zabbix-2691ad6741639192c107509983aa42a0fcd39141.zip
- developed "Copty to" functionality for trigger groups (Eugene)
- developed "Copty to" functionality for item groups (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@3067 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/cformtable.inc.php')
-rw-r--r--frontends/php/include/classes/cformtable.inc.php16
1 files changed, 13 insertions, 3 deletions
diff --git a/frontends/php/include/classes/cformtable.inc.php b/frontends/php/include/classes/cformtable.inc.php
index fb5640ed..e2be6439 100644
--- a/frontends/php/include/classes/cformtable.inc.php
+++ b/frontends/php/include/classes/cformtable.inc.php
@@ -30,10 +30,20 @@
var $center_items = array();
var $bottom_items = array();
/* public */
- function CFormTable($title=NULL, $action=NULL, $method='get', $enctype=NULL)
+ function CFormTable($title=null, $action=null, $method=null, $enctype=null, $form_variable=null)
{
global $_REQUEST;
+ if( null == $method )
+ {
+ $method = 'get';
+ }
+
+ if( null == $form_variable )
+ {
+ $form_variable = 'form';
+ }
+
parent::CForm($action,$method,$enctype);
$this->SetTitle($title);
$this->SetAlign('center');
@@ -43,8 +53,8 @@
// $frm_link->SetName("formtable");
$this->AddItemToTopRow($frm_link);
- $this->AddVar("form",get_request("form",1));
- $this->AddVar("form_refresh",get_request("form_refresh",0)+1);
+ $this->AddVar($form_variable, get_request($form_variable, 1));
+ $this->AddVar('form_refresh',get_request('form_refresh',0)+1);
$this->bottom_items = new CCol(NULL,'form_row_last');
$this->bottom_items->SetColSpan(2);