From 4eac15812cb94bd5b7a367fa7ae6544941fc1854 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 10 Mar 2008 14:55:36 +0000 Subject: [PATCH] Made "SetInformation" optional git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9599 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/ihtml/themes/default/MultiSelectWindow.tpl | 4 +++- gosa-core/plugins/admin/acl/class_divListACL.inc | 1 - .../plugins/admin/departments/class_divListDepartment.inc | 1 - gosa-core/plugins/admin/groups/class_divListGroup.inc | 1 - gosa-core/plugins/admin/ogroups/class_divListOGroup.inc | 1 - gosa-core/plugins/admin/users/class_divListUsers.inc | 1 - 6 files changed, 3 insertions(+), 6 deletions(-) diff --git a/gosa-core/ihtml/themes/default/MultiSelectWindow.tpl b/gosa-core/ihtml/themes/default/MultiSelectWindow.tpl index e7ceae46b..5c20585bb 100644 --- a/gosa-core/ihtml/themes/default/MultiSelectWindow.tpl +++ b/gosa-core/ihtml/themes/default/MultiSelectWindow.tpl @@ -39,6 +39,7 @@ {if $is_headpage} {$UserBox1} + {if $Information != ""}

[i]{t}Information{/t} @@ -47,8 +48,9 @@

{$Information}
- {$UserBox2}
+ {/if} + {$UserBox2} {if !$Skip_Filter_Part }

diff --git a/gosa-core/plugins/admin/acl/class_divListACL.inc b/gosa-core/plugins/admin/acl/class_divListACL.inc index dd6d643e6..422b06aa6 100644 --- a/gosa-core/plugins/admin/acl/class_divListACL.inc +++ b/gosa-core/plugins/admin/acl/class_divListACL.inc @@ -53,7 +53,6 @@ class divListACL extends MultiSelectWindow /* Result page will look like a headpage */ $this->SetHeadpageMode(); - $this->SetInformation(_("This menu allows you to edit and delete selected acls.")); $this->EnableAplhabet (true); diff --git a/gosa-core/plugins/admin/departments/class_divListDepartment.inc b/gosa-core/plugins/admin/departments/class_divListDepartment.inc index a7d50cbf7..2022c38bf 100644 --- a/gosa-core/plugins/admin/departments/class_divListDepartment.inc +++ b/gosa-core/plugins/admin/departments/class_divListDepartment.inc @@ -50,7 +50,6 @@ class divListDepartment extends MultiSelectWindow /* Result page will look like a headpage */ $this->SetHeadpageMode(); - $this->SetInformation(_("This menu allows you to create, delete and edit selected departments. Having a large number of departments, you might prefer the range selectors on top of the department list.")); /* Disable buttonsm */ $this->EnableCloseButton(false); diff --git a/gosa-core/plugins/admin/groups/class_divListGroup.inc b/gosa-core/plugins/admin/groups/class_divListGroup.inc index 802f19f10..835cd7068 100644 --- a/gosa-core/plugins/admin/groups/class_divListGroup.inc +++ b/gosa-core/plugins/admin/groups/class_divListGroup.inc @@ -58,7 +58,6 @@ class divListGroup extends MultiSelectWindow /* Result page will look like a headpage */ $this->SetHeadpageMode(); - $this->SetInformation(_("This menu allows you to add, edit and remove selected groups. You may want to use the range selector on top of the group listbox, when working with a large number of groups.")); /* Disable buttonsm */ $this->EnableCloseButton(false); diff --git a/gosa-core/plugins/admin/ogroups/class_divListOGroup.inc b/gosa-core/plugins/admin/ogroups/class_divListOGroup.inc index e9df2b359..220656f8a 100644 --- a/gosa-core/plugins/admin/ogroups/class_divListOGroup.inc +++ b/gosa-core/plugins/admin/ogroups/class_divListOGroup.inc @@ -62,7 +62,6 @@ class divListOGroup extends MultiSelectWindow /* Result page will look like a headpage */ $this->SetHeadpageMode(); - $this->SetInformation(_("This menu allows you to add, edit or remove selected groups. You may want to use the range selector on top of the group listbox, when working with a large number of groups.")); /* Disable buttonsm */ $this->EnableCloseButton(false); diff --git a/gosa-core/plugins/admin/users/class_divListUsers.inc b/gosa-core/plugins/admin/users/class_divListUsers.inc index 65c69f64a..5f27641fb 100644 --- a/gosa-core/plugins/admin/users/class_divListUsers.inc +++ b/gosa-core/plugins/admin/users/class_divListUsers.inc @@ -57,7 +57,6 @@ class divListUsers extends MultiSelectWindow /* Result page will look like a headpage */ $this->SetHeadpageMode(); - $this->SetInformation(_("This menu allows you to create, edit and delete selected users. Having a great number of users, you may want to use the range selectors on top of the user list.")); $this->EnableAplhabet (true); -- 2.30.2