summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 58d6e44)
raw | patch | inline | side by side (parent: 58d6e44)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 Jul 2006 06:42:58 +0000 (06:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 Jul 2006 06:42:58 +0000 (06:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4187 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_workstationGeneric.inc | patch | blob | history | |
plugins/admin/systems/class_workstationService.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc
index f689de9e03d3b550ecafe88cacf579fd60a7dfa5..3f5d1b717d7f87c420fda814c9122267a9358658 100644 (file)
function plInfo()
{
return (array(
- "plDescription" => _("Workstation"),
- "plSelfModify" => FALSE,
- "plDepends" => array("objectClass" => "gotoWorkstation","description"=>_("Workstation")),
-
- "cn" => _("Workstation name"),
-
- "gotoMode" => _("Goto mode"),
- "gotoSyslogServer" => _("Syslog server"),
- "gotoNtpServer" => _("Ntp server"),
- "FAIstate" => _("Action flag"),
-
-// "gotoFloppyEnable" => _(""),
-// "gotoCdromEnable" => _(""),
-// "gotoSndModule" => _(""),
-
-// "ghCpuType" => _(""),
-// "ghMemSize" => _(""),
-// "ghUsbSupport" => _(""),
-// "ghGfxAdapter" => _(""),
-// "ghSoundAdapter" => _(""),
-// "gotoLastUser" => _(""),
-// "l" => _(""),
-// "FAIscript" => _("FAI status ")
- ));
+ "plShortName" => _("Generic"),
+ "plDescription" => _("Workstation generic"),
+ "plSelfModify" => FALSE,
+ "plDepends" => array(),
+ "plPriority" => 0,
+ "plSection" => array("administration"),
+ "plCategory" => array("workstation" => array("description" => _("Workstation"),
+ "objectClass" => _("gotoWorkstation"))),
+ "plProvidedAcls"=> array(
+ "cn" => _("Workstation name"),
+ "gotoMode" => _("Goto mode"),
+ "gotoSyslogServer" => _("Syslog server"),
+ "gotoNtpServer" => _("Ntp server"),
+ "FAIstate" => _("Action flag"))
+ ));
}
}
diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc
index 2293bc4fb928b2c07f500af30c21bd50f8a24540..cbf0a3224cfa94c5c8542da78d96db93b857a9a6 100644 (file)
$this->handle_post_events("modify");
}
-
- /* Return plugin informations for acl handling */
+ /* Return plugin informations for acl handling */
function plInfo()
{
- return (array(
- "plDescription" => _("Services"),
- "plSelfModify" => FALSE,
- "plDepends" => array("objectClass" => "gotoWorkstation"),
-
- "gotoXMonitor" => _("Monitor"),
- "gotoXDriver" => _("Driver"),
- "gotoXResolution" => _("Resolution"),
- "gotoXColordepth" => _("Color depth"),
- "gotoXHsync" => _("H sync"),
- "gotoXVsync" => _("V sync"),
-
- "gotoScannerEnable" => _("Enable scanner"),
- "gotoScannerClients" => _("Scanner client"),
- "gotoScannerBackend" => _("Scanner backend"),
-
- "gotoXKbModel" => _("Keyboard model"),
- "gotoXKbLayout" => _("Keyboard layout"),
- "gotoXKbVariant" => _("Keyboard Variant"),
- "gotoXMouseType" => _("Mouse type"),
- "gotoXMouseport" => _("Mouse port"),
- "goFonHardware" => _("Telefon Hardware")));
+ return (array(
+ "plShortName" => _("Service"),
+ "plDescription" => _("Workstation service"),
+ "plSelfModify" => FALSE,
+ "plDepends" => array(),
+ "plPriority" => 0,
+ "plSection" => array("administration"),
+ "plCategory" => array("workstation"),
+
+ "plProvidedAcls"=> array(
+ "gotoXMonitor" => _("Monitor"),
+ "gotoXDriver" => _("Gfx driver"),
+ "gotoXResolution" => _("Gfx resolution"),
+ "gotoXColordepth" => _("Gfx color depth"),
+ "gotoXHsync" => _("Hsync"),
+ "gotoXVsync" => _("Vsync"),
+ "gotoScannerEnable" => _("Scanner enabled"),
+ "gotoXKbModel" => _("Keyboard model"),
+ "gotoXKbLayout" => _("Keyboard layout"),
+ "gotoXKbVariant" => _("Keyboard variant"),
+ "gotoXMouseType" => _("Mouse type"),
+ "gotoXMouseport" => _("Mouse port"),
+ "goFonHardware" => _("Telephone hardware"))
+ ));
}
}