From 25307fc1a057a21e06778ae861c59d28cb50d13a Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 17 Sep 2015 09:21:33 +0200 Subject: [PATCH] Introduce form class HostActionForm refs #5600 --- .../forms/Navigation/HostActionForm.php | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 modules/monitoring/application/forms/Navigation/HostActionForm.php diff --git a/modules/monitoring/application/forms/Navigation/HostActionForm.php b/modules/monitoring/application/forms/Navigation/HostActionForm.php new file mode 100644 index 000000000..726d740d0 --- /dev/null +++ b/modules/monitoring/application/forms/Navigation/HostActionForm.php @@ -0,0 +1,30 @@ +addElement( + 'text', + 'filter', + array( + 'allowEmpty' => true, + 'label' => $this->translate('Filter'), + 'description' => $this->translate( + 'Display this action only for hosts matching this filter. Leave' + . ' blank if you want this action being displayed for all hosts' + ) + ) + ); + } +}