From 320eea2f3cb2926321e12cdb55fde7702b429e4e Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 28 Oct 2009 16:23:13 +0000 Subject: [PATCH] Enabled department removal git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14680 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../class_departmentManagement.inc | 25 ------------------- .../plugins/admin/departments/dep-list.xml | 2 +- .../plugins/admin/departments/remove.tpl | 12 +++------ 3 files changed, 4 insertions(+), 35 deletions(-) diff --git a/gosa-core/plugins/admin/departments/class_departmentManagement.inc b/gosa-core/plugins/admin/departments/class_departmentManagement.inc index 51a026e21..d419dd99d 100644 --- a/gosa-core/plugins/admin/departments/class_departmentManagement.inc +++ b/gosa-core/plugins/admin/departments/class_departmentManagement.inc @@ -170,31 +170,6 @@ class departmentManagement extends management $types['organizationalUnit']['IMG_FULL']= "images/lists/folder-full.png";//:wplugins/departments/images/department.png"; $types['organizationalUnit']['TITLE'] = _("Department"); $types['organizationalUnit']['TPL'] = "generic.tpl"; - -# /* Alias -# */ -# $types['alias']['ACL'] = "alias"; -# $types['alias']['CLASS'] = "alias"; -# $types['alias']['TAB'] = "ALIASTABS"; -# $types['alias']['ATTR'] = "???"; -# $types['alias']['OC'] = "???"; -# $types['alias']['IMG'] = "plugins/departments/images/department_alias.png"; -# $types['alias']['IMG_FULL']= "plugins/departments/images/department_alias.png"; -# $types['alias']['TITLE'] = _("Alias"); -# $types['alias']['TPL'] = "alias.tpl"; -# -# /* Referal -# */ -# $types['referal']['ACL'] = "referal"; -# $types['referal']['CLASS'] = "referal"; -# $types['referal']['TAB'] = "REFERALTABS"; -# $types['referal']['ATTR'] = "???"; -# $types['referal']['OC'] = "???"; -# $types['referal']['IMG'] = "plugins/departments/images/department_referal.png"; -# $types['referal']['IMG_FULL']= "plugins/departments/images/department_referal.png"; -# $types['referal']['TITLE'] = _("Referal"); -# $types['referal']['TPL'] = "referal.tpl"; - return($types); } } diff --git a/gosa-core/plugins/admin/departments/dep-list.xml b/gosa-core/plugins/admin/departments/dep-list.xml index 7a0b568e2..4bf9deffb 100644 --- a/gosa-core/plugins/admin/departments/dep-list.xml +++ b/gosa-core/plugins/admin/departments/dep-list.xml @@ -129,7 +129,7 @@ - remove_organizationalUnit + remove entry images/lists/trash.png diff --git a/gosa-core/plugins/admin/departments/remove.tpl b/gosa-core/plugins/admin/departments/remove.tpl index ce2f63071..7fd2cf187 100644 --- a/gosa-core/plugins/admin/departments/remove.tpl +++ b/gosa-core/plugins/admin/departments/remove.tpl @@ -11,14 +11,8 @@

- {if $multiple} - -   - - {else} - -   - - {/if} + +   +

-- 2.30.2