summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fa7dceb)
raw | patch | inline | side by side (parent: fa7dceb)
author | guiguidoc <guiguidoc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Oct 2005 15:00:41 +0000 (15:00 +0000) | ||
committer | guiguidoc <guiguidoc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Oct 2005 15:00:41 +0000 (15:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1559 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/nagios/class_nagiosAccount.inc | patch | blob | history |
diff --git a/plugins/personal/nagios/class_nagiosAccount.inc b/plugins/personal/nagios/class_nagiosAccount.inc
index 9b4cf0c54c4cab37779c268f4e86f4b354ffb064..6a7eb30ead47a4cab6cc39da56aadf7e2fd14902 100644 (file)
$smarty->assign("$val", $this->$val);
$smarty->assign("$val"."ACL", chkacl($this->acl, "$val"));
}
- $smarty->assign('ServiceNotificationOptionsValues',array("d,u,r,v" ,"d,u,r" ,"d,u"));
- $smarty->assign('HostNotificationOptionsValues',array("w,u,c,r" ,"w,u,c" ,"c,w"));
+ $smarty->assign('ServiceNotificationOptionsValues',array("d,u,r,v"=>"d,u,r,v" ,"d,u,r"=>"d,u,r" ,"d,u"=>"d,u"));
+ $smarty->assign('HostNotificationOptionsValues',array("w,u,c,r"=>"w,u,c,r" ,"w,u,c"=>"w,u,c" ,"c,w"=>"c,w"));
- $smarty->assign('ServiceNotificationPeriodValues',array("24x7" ,"24x5" ,"8x5"));
- $smarty->assign('HostNotificationPeriodValues',array("24x7" ,"24x5" ,"8x5"));
+ $smarty->assign('ServiceNotificationPeriodValues',array("24x7"=>"24x7" ,"24x5"=>"24x5" ,"8x5"=>"8x5"));
+ $smarty->assign('HostNotificationPeriodValues',array("24x7"=>"24x7" ,"24x5"=>"24x5" ,"8x5"=>"8x5"));
$display.= $smarty->fetch (get_template_path('nagios.tpl', TRUE, dirname(__FILE__)));
return ($display);
}
}
-
- /* Check formular input */
+
function check()
{
$message= array();
return($message);
}
- /* Save data to object */
function save_object()
{
}
}
- /* remove object from parent */
function remove_from_parent()
{
/* Cancel if there's nothing to do here */