Code

added alt to
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 May 2005 09:17:43 +0000 (09:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 May 2005 09:17:43 +0000 (09:17 +0000)
M    plugins/admin/groups/class_groupAcl.inc
M    plugins/admin/systems/class_terminalInfo.inc
M    plugins/admin/systems/class_terminalService.inc
M    plugins/admin/systems/main.inc

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@427 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupAcl.inc
plugins/admin/systems/class_terminalInfo.inc
plugins/admin/systems/class_terminalService.inc
plugins/admin/systems/main.inc

index 8020ea24f4915d79916945246327f226791b26a2..c56dd69c711bcfec4fd1584bf2d4733cead7e63c 100644 (file)
@@ -50,7 +50,7 @@ class acl extends plugin
   {
        /* Do we represent a valid group? */
        if (!$this->is_account && $this->parent == NULL){
-               $display= "<img src=\"images/stop.png\" align=\"middle\">&nbsp;<b>".
+               $display= "<img alt=\"\" src=\"images/stop.png\" align=\"middle\">&nbsp;<b>".
                _("This 'dn' is no acl container.")."</b>";
                return ($display);
        }
index ed0c65f7b9e5c3afa74d117d5dcd1e3dd443d0e4..82d7c0a0f041abce6150db3d8eecc88ab20b09ae 100644 (file)
@@ -57,7 +57,7 @@ class terminfo extends plugin
   {
     /* Do we represent a valid terminal? */
     if (!$this->is_account && $this->parent == NULL){
-      echo "<img src=\"images/stop.png\" align=middle>&nbsp;<b>".
+      echo "<img alt=\"\" src=\"images/stop.png\" align=middle>&nbsp;<b>".
         _("This 'dn' has no terminal features.")."</b>";
       return;
     }
@@ -127,10 +127,10 @@ class terminfo extends plugin
             }
             switch ($eflag){
               case 0:
-                $smarty->assign("$pname", "<img alt=\""._("running")."\" src=\"images/true.png\">");
+                $smarty->assign("$pname", "<img alt=\"\" alt=\""._("running")."\" src=\"images/true.png\">");
                 break;
               case 1:
-                $smarty->assign("$pname", "<img alt=\""._("not running")."\" src=\"images/false.png\">");
+                $smarty->assign("$pname", "<img alt=\"\" alt=\""._("not running")."\" src=\"images/false.png\">");
                 break;
               default:
                 $smarty->assign("$pname", _("not defined"));
@@ -152,7 +152,7 @@ class terminfo extends plugin
           $device= preg_replace('/^STRING: */', '', $device);
           $usage= @snmpget($host, $community, "UCD-SNMP-MIB::dskPercent.$n");
           $usage= preg_replace('/^INTEGER: */', '', $usage);
-          $partitions.= "<tr><td><b>$device</b></td><td><img src=\"progress.php?x=100&amp;y=16&amp;p=$usage\" align=\"middle\"></td></tr>\n";
+          $partitions.= "<tr><td><b>$device</b></td><td><img alt=\"\" src=\"progress.php?x=100&amp;y=16&amp;p=$usage\" align=\"middle\"></td></tr>\n";
         }
         $smarty->assign("partitions", $partitions);
       } else {
index 979ade253936e06763a1eaca77aee6af18f37db7..45fe6603e86c968ad8a5623f4fc2eca42154dfc3 100644 (file)
@@ -131,7 +131,7 @@ class termservice extends plugin
 
     /* Do we represent a valid terminal? */
     if (!$this->is_account && $this->parent == NULL){
-      $display= "<img src=\"images/stop.png\" align=\"middle\">&nbsp;<b>".
+      $display= "<img alt=\"\" src=\"images/stop.png\" align=\"middle\">&nbsp;<b>".
         _("This 'dn' has no terminal features.")."</b>";
       return ($display);
     }
index 08713d33672be019c592d6fcc4793247dd5c0adb..a0f26d1cc8dd7b890c305c2770b5e5a2d1a191c8 100644 (file)
@@ -42,7 +42,7 @@ if ($remove_lock){
 
        /* Page header*/
        if (isset($_SESSION['objectinfo'])){
-               $display= print_header(get_template_path('images/system.png'), _("System management"), "<img align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".$_SESSION['objectinfo']);
+               $display= print_header(get_template_path('images/system.png'), _("System management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".$_SESSION['objectinfo']);
        } else {
                $display= print_header(get_template_path('images/system.png'), _("System management"));
        }