From: hickert Date: Tue, 21 Oct 2008 12:23:47 +0000 (+0000) Subject: Fixed UnitTagging. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e1031cc4648db5a676e68b35d18f1fdf229fa8fb;p=gosa.git Fixed UnitTagging. -Renaming of the ACLs caused Problems with the tagging. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12751 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/departments/class_departmentGeneric.inc b/gosa-core/plugins/admin/departments/class_departmentGeneric.inc index d0273c1e0..04d0fd63c 100644 --- a/gosa-core/plugins/admin/departments/class_departmentGeneric.inc +++ b/gosa-core/plugins/admin/departments/class_departmentGeneric.inc @@ -254,7 +254,7 @@ class department extends plugin /* Save tagging flag */ if ($this->acl_is_writeable("gosaUnitTag")){ - if (isset($_POST['gosaUnitTag'])){ + if (isset($_POST['is_administrational_unit'])){ $this->is_administrational_unit= true; } else { $this->is_administrational_unit= false; diff --git a/gosa-core/plugins/admin/departments/country.tpl b/gosa-core/plugins/admin/departments/country.tpl index 7974f812d..3164c3ed6 100644 --- a/gosa-core/plugins/admin/departments/country.tpl +++ b/gosa-core/plugins/admin/departments/country.tpl @@ -49,7 +49,7 @@

{t}Administrative settings{/t}

{render acl=$gosaUnitTagACL} - + {/render} diff --git a/gosa-core/plugins/admin/departments/dcObject.tpl b/gosa-core/plugins/admin/departments/dcObject.tpl index 3994fbeb7..6e985f049 100644 --- a/gosa-core/plugins/admin/departments/dcObject.tpl +++ b/gosa-core/plugins/admin/departments/dcObject.tpl @@ -49,7 +49,7 @@

{t}Administrative settings{/t}

{render acl=$gosaUnitTagACL} - + {/render} diff --git a/gosa-core/plugins/admin/departments/generic.tpl b/gosa-core/plugins/admin/departments/generic.tpl index f99312fa1..48f58dbc6 100644 --- a/gosa-core/plugins/admin/departments/generic.tpl +++ b/gosa-core/plugins/admin/departments/generic.tpl @@ -113,7 +113,7 @@

{t}Administrative settings{/t}

{render acl=$gosaUnitTagACL} - + {/render} diff --git a/gosa-core/plugins/admin/departments/locality.tpl b/gosa-core/plugins/admin/departments/locality.tpl index eb330eacc..3328695a6 100644 --- a/gosa-core/plugins/admin/departments/locality.tpl +++ b/gosa-core/plugins/admin/departments/locality.tpl @@ -49,7 +49,7 @@

{t}Administrative settings{/t}

{render acl=$gosaUnitTagACL} - + {/render} diff --git a/gosa-core/plugins/admin/departments/organization.tpl b/gosa-core/plugins/admin/departments/organization.tpl index 028d1d22d..7a955f3f5 100644 --- a/gosa-core/plugins/admin/departments/organization.tpl +++ b/gosa-core/plugins/admin/departments/organization.tpl @@ -113,7 +113,7 @@

{t}Administrative settings{/t}

{render acl=$gosaUnitTagACL} - + {/render}