Code

Updated goto plugin - image setup
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 08:23:59 +0000 (08:23 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 08:23:59 +0000 (08:23 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11765 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc
gosa-plugins/goto/admin/mimetypes/main.inc
gosa-plugins/goto/html/images/mimetypes.png [new file with mode: 0644]

index 080c596a231f72950f02da80a507bee326753579..27b5383b47a266bb4abd10a5c5265c4b2de32511 100644 (file)
@@ -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;
index a9a7b0b0557bb0f149f3ae2939752c78a36ffac9..5acff3063a3c29149fbc9f26a4be89b7793a4756 100644 (file)
@@ -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"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/locked.png')."\"> ".@LDAP::fix(session::get('objectinfo')));
+    $display= print_header(get_template_path($MimeTypeManagement->plIcon), _("Mimetype management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/locked.png')."\"> ".@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 (file)
index 0000000..603a6a6
Binary files /dev/null and b/gosa-plugins/goto/html/images/mimetypes.png differ