summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/forms.inc.php
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-05-09 09:31:34 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-05-09 09:31:34 +0000
commita6b057c94aab1d1dd636fcce5237556164624046 (patch)
tree9950a6e97f79f47b94a4910166c98a4f5ecac30c /frontends/php/include/forms.inc.php
parent5422393afccc526b8289f2999fc44b29441b419f (diff)
downloadzabbix-a6b057c94aab1d1dd636fcce5237556164624046.tar.gz
zabbix-a6b057c94aab1d1dd636fcce5237556164624046.tar.xz
zabbix-a6b057c94aab1d1dd636fcce5237556164624046.zip
- [DEV-167] added support of Host Template=<template> in actions
git-svn-id: svn://svn.zabbix.com/trunk@5690 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
-rw-r--r--frontends/php/include/forms.inc.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index 38b93934..c461b2da 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -3017,6 +3017,17 @@
'T')
);
break;
+ case CONDITION_TYPE_HOST_TEMPLATE:
+ $frmAction->AddVar('new_condition[value]','0');
+ $rowCondition[] = array(
+ new CTextBox('host','',20,'yes'),
+ new CButton('btn1',S_SELECT,
+ "return PopUp('popup.php?dstfrm=".$frmAction->GetName().
+ "&dstfld1=new_condition%5Bvalue%5D&dstfld2=host&srctbl=host_templates".
+ "&srcfld1=hostid&srcfld2=host',450,450);",
+ 'T')
+ );
+ break;
case CONDITION_TYPE_HOST:
$frmAction->AddVar('new_condition[value]','0');
$rowCondition[] = array(