Code

Updated for icons
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Sep 2009 09:31:46 +0000 (09:31 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Sep 2009 09:31:46 +0000 (09:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14401 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsiLicenses/class_divListLicenses.inc
gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc
gosa-plugins/opsi/admin/opsiLicenses/main.inc

index 7b4d50f380ad02791155958568f646e4ad957225..b5b47e147c5c52f2e909270c901d32be74dd2fcd 100644 (file)
@@ -166,7 +166,7 @@ class divListLicense extends MultiSelectWindow
       $field0 = array("string" => "<input type='checkbox' id='item_selected_".$key."' 
           name='item_selected_".$key."'>" ,
           "attach" => "style='width:20px;'");
-      $field1 = array("string" => "<img src='plugins/opsiLicenses/images/license.png' 
+      $field1 = array("string" => "<img src='plugins/opsi/images/license.png' 
           alt='"._("License")."' ".$title.">", 
           "attach" => "style='text-align:center;width: 20px;'");
       $field2 = array("string" => sprintf($editlink,$key,$display), 
@@ -184,7 +184,7 @@ class divListLicense extends MultiSelectWindow
     }
     $num_objs = count($list);
     $num_obj_str = _("Number of listed licenses");
-    $str = "<img class='center' src='plugins/opsiLicenses/images/license.png'
+    $str = "<img class='center' src='plugins/opsi/images/license.png'
               title='".$num_obj_str."' alt='".$num_obj_str."'>&nbsp;".$num_objs."&nbsp;&nbsp;&nbsp;&nbsp;";
     $this->set_List_Bottom_Info($str);
   }
index 0115e4a68f3dd5e6900252216728947e7661c375..dd77e93b0dedf52235bf736c1686881dc1f5f73d 100644 (file)
@@ -25,6 +25,7 @@ class opsiLicenses extends plugin
   /* Definitions */
   var $plHeadline= "Software licences";
   var $plDescription= "Software licenses";
+  var $plIcon= "plugins/opsi/images/plugin.png";
 
   // The headpage list handler. 
   var $DivListLicenses    = NULL;
index 2c79a887c472b16cc43c9d6d0690c1b79753a29c..865e23b2c4c4fbe650a45540876007f12b9bb974 100644 (file)
@@ -49,12 +49,12 @@ if ( $cleanup ){
 
   /* Page header*/
   if (get_object_info() != ""){
-    $display= print_header(get_template_path('plugins/opsiLicenses/images/plugin.png'),
+    $display= print_header(get_template_path('plugins/opsi/images/plugin.png'),
         _("Software licenses"),
         "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/locked.png')."\"> ".
         LDAP::fix(get_object_info()));
   } else {
-    $display= print_header(get_template_path('plugins/opsiLicenses/images/plugin.png'), _("Software licenses"));
+    $display= print_header(get_template_path('plugins/opsi/images/plugin.png'), _("Software licenses"));
   }
 
   $display.= $output;