summaryrefslogtreecommitdiffstats
path: root/frontends/php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-26 14:39:03 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-26 14:39:03 +0000
commit8c219636c506ed1678f653443f8ab863bc5ee51a (patch)
treefd4c6ff0b1863053dcaf3de285fb5f5c490c4537 /frontends/php
parenta042b8c4adefccae2030d5b6820f2b00870e0a54 (diff)
downloadzabbix-8c219636c506ed1678f653443f8ab863bc5ee51a.tar.gz
zabbix-8c219636c506ed1678f653443f8ab863bc5ee51a.tar.xz
zabbix-8c219636c506ed1678f653443f8ab863bc5ee51a.zip
- [DEV-177] fixes to checkboxes for range selection (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5802 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php')
-rw-r--r--frontends/php/include/forms.inc.php2
-rw-r--r--frontends/php/popup_media.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index 8aaefa72..cbfd701a 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -856,7 +856,7 @@
'&active='.$one_media['active'];
$media_table->AddRow(array(
- new CCheckBox('user_medias_to_del[]',null,null,$id),
+ new CCheckBox('user_medias_to_del['.$id.']',null,null,$id),
new CSpan($media_types[$one_media['mediatypeid']], 'nowrap'),
new CSpan($one_media['sendto'], 'nowrap'),
new CSpan($one_media['period'], 'nowrap'),
diff --git a/frontends/php/popup_media.php b/frontends/php/popup_media.php
index f116d39e..7259025c 100644
--- a/frontends/php/popup_media.php
+++ b/frontends/php/popup_media.php
@@ -128,7 +128,7 @@ include_once "include/page_header.php";
array_push($frm_row,
array(
new CCheckBox(
- "severity[]",
+ "severity[$i]",
str_in_array($i,$severity)?'yes':'no',
null, /* action */
$i), /* value */