From: opensides Date: Tue, 27 Sep 2005 08:56:59 +0000 (+0000) Subject: finally understood how to get data back from the session ;-( X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5b008727d85430f0732e690b90ec162dc61fb93c;p=gosa.git finally understood how to get data back from the session ;-( git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1429 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/nagios/class_nagiosAccount.inc b/plugins/personal/nagios/class_nagiosAccount.inc index 02bda738c..25466ed40 100644 --- a/plugins/personal/nagios/class_nagiosAccount.inc +++ b/plugins/personal/nagios/class_nagiosAccount.inc @@ -94,8 +94,20 @@ class nagiosAccount extends plugin return($display); } } + + foreach(array("NagiosAlias", "NagiosPager", "NagiosMail", "HostNotificationPeriod", + "ServiceNotificationPeriod", "HostNotificationCommands", "ServiceNotificationCommands", + "HostNotificationOptions", "ServiceNotificationOptions", "AuthorizedAllHosts", "AuthorizedAllServices", + "AuthorizedSystemCommands", "AuthorizedAllHostCommands", "AuthorizedAllServiceCommands", + "AuthorizedConfigurationInformation", "AuthorizedSystemInformation") as $val) { + + $smarty->assign("$val", $this->$val); + $smarty->assign("$val"."ACL", chkacl($this->acl, "$val")); + } + $display.= $smarty->fetch (get_template_path('nagios.tpl', TRUE, dirname(__FILE__))); return ($display); + } /* Save to LDAP */