Code

Added ACL to selectboxes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Nov 2005 13:06:47 +0000 (13:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Nov 2005 13:06:47 +0000 (13:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1848 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/nagios/nagios.tpl

index b5cc3e99f17246eb8a5db66c15ca8c167dd3b9f1..a90058e9056e6b7986bba8251388d5c44e994247 100644 (file)
@@ -15,7 +15,7 @@
 
        <tr>
        <td><LABEL for="HostNotificationPeriod">{t}Host notification period{/t}</LABEL>{$must}</td>
-       <td><select name="HostNotificationPeriod" id="HostNotificationPeriod">
+       <td><select name="HostNotificationPeriod" id="HostNotificationPeriod" {$HostNotificationPeriodACL}>
        {html_options options=$HostNotificationPeriodValues values=$HostNotificationPeriodValues selected=$HostNotificationPeriod }
        </select>
        </td>
 
        <tr>
        <td><LABEL for="ServiceNotificationPeriod">{t}Service notification period{/t}</LABEL>{$must}</td>
-       <td><select name="ServiceNotificationPeriod" id="ServiceNotificationPeriod">
+       <td><select name="ServiceNotificationPeriod" id="ServiceNotificationPeriod" {$ServiceNotificationPeriod}>
        {html_options options=$ServiceNotificationPeriodValues values=$ServiceNotificationPeriodValues selected=$ServiceNotificationPeriod}
        </select>
        </td>
        </tr>
        <tr>
        <td><LABEL for="ServiceNotificationOptions">{t}Service notification options{/t}</LABEL>{$must}</td>
-       <td><select name="ServiceNotificationOptions" id="ServiceNotificationOptions">
+       <td><select name="ServiceNotificationOptions" id="ServiceNotificationOptions" {$ServiceNotificationOptions}>
        {html_options options=$ServiceNotificationOptionsValues values=$ServiceNotificationOptionsValues selected=$ServiceNotificationOptions}
        </select>
        </td>
@@ -39,7 +39,7 @@
 
        <tr>
        <td><LABEL for="HostNotificationOptions">{t}Host notification options{/t}</LABEL>{$must}</td>
-       <td><select name="HostNotificationOptions" id="HostNotificationOptions">
+       <td><select name="HostNotificationOptions" id="HostNotificationOptions" {$HostNotificationOptions}>
        {html_options options=$HostNotificationOptionsValues values=$HostNotificationOptionsValues selected=$HostNotificationOptions }
        </select>
        </td>