Code

Updated application list summary
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 8 Aug 2007 09:37:32 +0000 (09:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 8 Aug 2007 09:37:32 +0000 (09:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6997 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/applications/class_divListApplication.inc

index b74df1b2668cc4c8fcbc6564f591c83c7c447e7b..55edfc77f847a96afd32afb70330e36edbfa9138 100755 (executable)
@@ -191,10 +191,15 @@ class divListApplication extends MultiSelectWindow
       $num_deps = count($this->Added_Departments);
     }
     $num_apps = count($list);
-    $str = $num_apps." ";
-    $num_apps      != 1  ? $str.=_("Applications").", "    : $str .= _("Application").", ";
-    $str.= $num_deps." ";
-    $num_deps       != 1  ? $str.=_("Departments")    : $str .= _("Department");
+
+    $num_app_str = _("Number of listed applications");
+    $num_dep_str = _("Number of listed departments");
+  
+    $str = "&nbsp;<img class='center' src='images/select_application.png' 
+                    title='".$num_app_str."' alt='".$num_app_str."'>&nbsp;#".$num_apps;
+    $str.= "&nbsp;<img class='center' src='images/select_department.png' 
+                    title='".$num_dep_str."' alt='".$num_dep_str."'>&nbsp;#".$num_deps;
+
     $this->set_List_Bottom_Info($str);
   }