Code

Updated lsit summary, replaced text with images
[gosa.git] / plugins / admin / mimetypes / class_divListMimeTypes.inc
index 58e319193315235c619071ead9d3658d2e42e7de..cf5f165f70ac19613aa860ca97c406437e6aece7 100755 (executable)
@@ -295,16 +295,22 @@ class divListMimeTypes extends MultiSelectWindow
       $this->AddElement(array($field0,$field1,$field2,$field3));
     }
 
+
     /* Create summary string for list footer */
     $num_deps=0;
     if(!$this->SubSearch){
       $num_deps = count($this->Added_Departments);
     }
     $num_objs = count($list);
-    $str = $num_objs." ";
-    $num_objs      != 1  ? $str.=_("Mimetypes").", "    : $str .= _("Mimetype").", ";
-    $str.= $num_deps." ";
-    $num_deps       != 1  ? $str.=_("Departments")    : $str .= _("Department");
+
+    $num_obj_str = _("Number of listed mimetypes");
+    $num_dep_str = _("Number of listed departments");
+
+    $str = "<img class='center' src='images/select_mimetype.png'
+              title='".$num_obj_str."' alt='".$num_obj_str."'>&nbsp;".$num_objs."&nbsp;&nbsp;&nbsp;&nbsp;";
+    $str.= "<img class='center' src='images/folder.png'
+              title='".$num_dep_str."' alt='".$num_dep_str."'>&nbsp;".$num_deps."&nbsp;&nbsp;&nbsp;&nbsp;";
+
     $this->set_List_Bottom_Info($str);
   }