From: hickert Date: Wed, 23 Jul 2008 08:23:59 +0000 (+0000) Subject: Updated goto plugin - image setup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=994c44fa06f99eb2eb0417702889f6a960024ba8;p=gosa.git Updated goto plugin - image setup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11765 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc index 080c596a2..27b5383b4 100644 --- a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc +++ b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc @@ -23,6 +23,7 @@ class mimetypeManagement extends plugin /* Definitions */ var $plHeadline = "Mime types"; var $plDescription = "Manage mime types"; + var $plIcon = "plugins/goto/images/mimetypes.png"; /* Dialog attributes */ var $ui = NULL; diff --git a/gosa-plugins/goto/admin/mimetypes/main.inc b/gosa-plugins/goto/admin/mimetypes/main.inc index a9a7b0b05..5acff3063 100644 --- a/gosa-plugins/goto/admin/mimetypes/main.inc +++ b/gosa-plugins/goto/admin/mimetypes/main.inc @@ -38,7 +38,7 @@ if ($remove_lock){ /* Page header*/ if (session::is_set('objectinfo')){ - $display= print_header(get_template_path('images/mimetypes.png'), _("Mimetype management"), "\"\" ".@LDAP::fix(session::get('objectinfo'))); + $display= print_header(get_template_path($MimeTypeManagement->plIcon), _("Mimetype management"), "\"\" ".@LDAP::fix(session::get('objectinfo'))); } else { $display= print_header(get_template_path('images/mimetypes.png'), _("Mimetype management")); } diff --git a/gosa-plugins/goto/html/images/mimetypes.png b/gosa-plugins/goto/html/images/mimetypes.png new file mode 100644 index 000000000..603a6a690 Binary files /dev/null and b/gosa-plugins/goto/html/images/mimetypes.png differ