Code

Enabled department removal
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Oct 2009 16:23:13 +0000 (16:23 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Oct 2009 16:23:13 +0000 (16:23 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14680 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/departments/class_departmentManagement.inc
gosa-core/plugins/admin/departments/dep-list.xml
gosa-core/plugins/admin/departments/remove.tpl

index 51a026e219491105db8d87c8e8e0ce8319401485..d419dd99db19aee3760b358305626cd4ff2f42aa 100644 (file)
@@ -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);
   }
 } 
index 7a0b568e251afb8ee8df6abc623982207536fe78..4bf9deffbd7e30df3a1462bf27559160c297eaf1 100644 (file)
     </action>
 
     <action>
-      <name>remove_organizationalUnit</name>
+      <name>remove</name>
       <type>entry</type>
       <nospan></nospan>
       <image>images/lists/trash.png</image>
index ce2f63071ebdd595ebc0c0891307c37f92261624..7fd2cf187c38ea78aaf4079893c4b5b39671b6e7 100644 (file)
 </p>
 
 <p class="plugbottom">
-       {if $multiple}
-               <input type=submit name="delete_multiple_department_confirm" value="{msgPool type=delButton}">
-               &nbsp;
-               <input type=submit name="delete_multiple_department_cancel" value="{msgPool type=cancelButton}">
-               {else}
-               <input type=submit name="delete_department_confirm" value="{msgPool type=delButton}">
-               &nbsp;
-               <input type=submit name="delete_cancel" value="{msgPool type=cancelButton}">
-       {/if}
+       <input type=submit name="delete_confirmed" value="{msgPool type=delButton}">
+       &nbsp;
+       <input type=submit name="delete_cancel" value="{msgPool type=cancelButton}">
 </p>