From f24eb13febfaedbf2f546ec976f36d3a302e8dfb Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 19 Feb 2008 12:12:46 +0000 Subject: [PATCH] Added description to workstations git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8951 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_workstationGeneric.inc | 4 +++- gosa-plugins/goto/admin/systems/goto/workstation.tpl | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc index 321da4a4f..4107c747b 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc @@ -16,6 +16,7 @@ class workgeneric extends plugin var $gotoSndModule= ""; var $gotoFloppyEnable= ""; var $gotoCdromEnable= ""; + var $description= ""; var $ghCpuType= "-"; var $ghMemSize= "-"; var $ghUsbSupport= "-"; @@ -47,7 +48,7 @@ class workgeneric extends plugin var $ignore_account= TRUE; var $attributes= array("gotoMode", "gotoSyslogServer", "gotoNtpServer", "gotoFloppyEnable", "gotoCdromEnable", "cn", "gotoSndModule", - "ghCpuType", "ghMemSize", "ghUsbSupport", + "ghCpuType", "ghMemSize", "ghUsbSupport", "description", "ghGfxAdapter", "ghSoundAdapter", "gotoLastUser", "l","FAIscript"); var $objectclasses= array("top", "gotoWorkstation", "GOhard"); @@ -638,6 +639,7 @@ class workgeneric extends plugin "objectClass" => "gotoWorkstation")), "plProvidedAcls"=> array( "cn" => _("Workstation name"), + "description" => _("Description") , "l" => _("Location") , "base" => _("Base") , "gotoMode" => _("Goto mode"), diff --git a/gosa-plugins/goto/admin/systems/goto/workstation.tpl b/gosa-plugins/goto/admin/systems/goto/workstation.tpl index ba8489947..357c5ed22 100644 --- a/gosa-plugins/goto/admin/systems/goto/workstation.tpl +++ b/gosa-plugins/goto/admin/systems/goto/workstation.tpl @@ -15,6 +15,14 @@ {/if} + + + +{render acl=$descriptionACL} + +{/render} + + -- 2.30.2