summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/forms.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-10 13:52:28 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-10 13:52:28 +0000
commit90b40771d51d4dac7ca62f2f171883ad3407ced1 (patch)
treebda655d9edc39a96c498b779511da477a52a1465 /frontends/php/include/forms.inc.php
parent16a95e579ffc753f58f775d50a0b28aa64672cc9 (diff)
downloadzabbix-90b40771d51d4dac7ca62f2f171883ad3407ced1.tar.gz
zabbix-90b40771d51d4dac7ca62f2f171883ad3407ced1.tar.xz
zabbix-90b40771d51d4dac7ca62f2f171883ad3407ced1.zip
- minor fix of screen name validateion
git-svn-id: svn://svn.zabbix.com/trunk@3989 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
-rw-r--r--frontends/php/include/forms.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index 15240c79..42c093e0 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -31,7 +31,7 @@
$form = new CFormTable(S_SLIDESHOW, null, 'post');
$form->SetHelp('config_advanced.php');
- $form->AddVar('configid', 1);
+ $form->AddVar('config', 1);
if(isset($_REQUEST['slideshowid']))
{
@@ -149,7 +149,7 @@
$form->AddItemToBottomRow(new CButton('clone',S_CLONE));
$form->AddItemToBottomRow(SPACE);
$form->AddItemToBottomRow(new CButtonDelete(S_DELETE_SLIDESHOW_Q,
- url_param('form').url_param('slideshowid').url_param('configid')));
+ url_param('form').url_param('slideshowid').url_param('config')));
}
$form->AddItemToBottomRow(SPACE);
$form->AddItemToBottomRow(new CButtonCancel());
@@ -3458,7 +3458,7 @@ include_once 'include/discovery.inc.php';
$frmScr = new CFormTable($frm_title,"screenconf.php");
$frmScr->SetHelp("web.screenconf.screen.php");
- $frmScr->AddVar('configid', 0);
+ $frmScr->AddVar('config', 0);
if(isset($_REQUEST["screenid"]))
{