Code

Updated fai images
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 08:54:11 +0000 (08:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 08:54:11 +0000 (08:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11772 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiManagement.inc
gosa-plugins/fai/admin/fai/main.inc
gosa-plugins/fai/html/images/plugin.png [new file with mode: 0644]

index 7c08866ca461bca487610de3e28dce4ff11c6b75..18de1f4b29049e938adcabc5a5fc682bb67f5f55 100644 (file)
@@ -23,7 +23,8 @@ class faiManagement extends plugin
 {
        /* Definitions */
   var $plHeadline     = "Software deployment";
-  var $plDescription    = "Manage software packages and deployment reciepes";
+  var $plDescription  = "Manage software packages and deployment reciepes";
+  var $plIcon         = "plugins/fai/plugin.png";
 
        /* Headpage attributes */
   var $lock_type    = "";    // should be branch/freeze
index 5357a01e9c3d24d99f950781b85f8b642c98b290..9ffb498abd8a43633e091235c20822b96f2f5c6a 100644 (file)
@@ -44,9 +44,9 @@ if ($remove_lock){
        }
        /* Page header*/
        if (session::is_set('objectinfo')){
-               $display= print_header(get_template_path('images/fai.png'), _("Software deployment"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/locked.png')."\"> ".@LDAP::fix(session::get('objectinfo')));
+               $display= print_header(get_template_path($FAI->plIcon), _("Software deployment"), "<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/fai.png'), _("Software deployment"));
+               $display= print_header(get_template_path($FAI->plIcon), _("Software deployment"));
        }
        $display.= $output;
 
diff --git a/gosa-plugins/fai/html/images/plugin.png b/gosa-plugins/fai/html/images/plugin.png
new file mode 100644 (file)
index 0000000..3bd55d2
Binary files /dev/null and b/gosa-plugins/fai/html/images/plugin.png differ