Code

Updated properties.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 09:11:23 +0000 (09:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 09:11:23 +0000 (09:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18350 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc

index a60e94c7d9c5eb360e8743f17d4f69af5694e09e..e16f90999bae7bbe7ac7e3be73c2bfecd659de52 100644 (file)
@@ -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()
             ));
   }
 }