From 227fae4a4df5119a6662a6c027370695056739a7 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 May 2010 09:11:23 +0000 Subject: [PATCH] Updated properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18350 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/goto/class_terminalInfo.inc | 32 +++++++++++++------ 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc index a60e94c7d..e16f90999 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc @@ -245,15 +245,29 @@ class terminfo extends plugin /* Return plugin informations for acl handling */ static function plInfo() { - return (array( - "plShortName" => _("System info"), - "plDescription" => _("System informations"), - "plSelfModify" => FALSE, - "plDepends" => array(), - "plPriority" => 33, - "plSection" => array("administration"), - "plCategory" => array("workstation","server","terminal"), - "plProvidedAcls"=> array() + return (array( + "plShortName" => _("System info"), + "plDescription" => _("System informations"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 33, + "plSection" => array("administration"), + "plCategory" => array("workstation","server","terminal"), + + "plProperties" => array( + array( + "name" => "snmpCommunity", + "type" => "string", + "default" => "", + "description" => _("In order to make use of SNMP information, you can set the 'snmpCommunity'."), + "check" => "gosaProperty::isString", + "migrate" => "", + "group" => "plugin", + "mandatory" => FALSE + ) + ), + + "plProvidedAcls"=> array() )); } } -- 2.30.2