From fbc01d144fcd034be66c23f6da76a7b48e6872b0 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 15 Apr 2008 13:29:15 +0000 Subject: [PATCH] * Added automatic icon handling * Moved first plugin icons git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10476 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/contrib/gosa.conf | 3 +-- .../departments/images/plugin.png} | Bin gosa-core/plugins/admin/acl/class_divListACL.inc | 2 +- gosa-core/plugins/admin/acl/main.inc | 4 ++-- gosa-core/plugins/admin/departments/main.inc | 4 ++-- 5 files changed, 6 insertions(+), 7 deletions(-) rename gosa-core/html/{images/department.png => plugins/departments/images/plugin.png} (100%) diff --git a/gosa-core/contrib/gosa.conf b/gosa-core/contrib/gosa.conf index 8e9edbc63..c87bca3a1 100644 --- a/gosa-core/contrib/gosa.conf +++ b/gosa-core/contrib/gosa.conf @@ -40,8 +40,7 @@
- + %s"; - $list_left_icon = ""._("ACL").""; + $list_left_icon = ""._("ACL").""; $cn = htmlentities(utf8_decode($acl_entry['dn'])); /* Add actions depending on acls */ diff --git a/gosa-core/plugins/admin/acl/main.inc b/gosa-core/plugins/admin/acl/main.inc index 3a19c9459..f9dddcc16 100644 --- a/gosa-core/plugins/admin/acl/main.inc +++ b/gosa-core/plugins/admin/acl/main.inc @@ -42,9 +42,9 @@ if (!session::is_set('macl') || (isset($_GET['reset']) && $_GET['reset'] == 1)){ /* Page header*/ if (session::is_set('objectinfo')){ - $display= print_header(get_template_path('images/acl.png'), _("ACL management"), "\"\" ".@LDAP::fix(session::get('objectinfo'))); + $display= print_header(get_template_path('plugins/acl/images/plugin.png'), _("ACL management"), "\"\" ".@LDAP::fix(session::get('objectinfo'))); } else { - $display= print_header(get_template_path('images/acl.png'), _("ACL management")); + $display= print_header(get_template_path('plugins/acl/images/plugin.png'), _("ACL management")); } /* Reset requested? */ diff --git a/gosa-core/plugins/admin/departments/main.inc b/gosa-core/plugins/admin/departments/main.inc index 2d8a82dcb..8a6c69698 100644 --- a/gosa-core/plugins/admin/departments/main.inc +++ b/gosa-core/plugins/admin/departments/main.inc @@ -40,9 +40,9 @@ if ($remove_lock){ /* Page header*/ if (session::is_set('objectinfo')){ - $display= print_header(get_template_path('images/department.png'), _("Department management"), "\"\" ".@LDAP::fix(session::get('objectinfo'))); + $display= print_header(get_template_path('plugins/departments/images/plugin.png'), _("Department management"), "\"\" ".@LDAP::fix(session::get('objectinfo'))); } else { - $display= print_header(get_template_path('images/department.png'), _("Department management")); + $display= print_header(get_template_path('plugins/departments/images/plugin.png'), _("Department management")); } /* Reset requested? */ -- 2.30.2