logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

SF.net SVN: squirrelmail: [12334] trunk/squirrelmail/functions/template/ me: msg#00067

Subject: SF.net SVN: squirrelmail: [12334] trunk/squirrelmail/functions/template/ message_list_util.php
Revision: 12334
          
http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=12334&view=rev
Author:   jervfors
Date:     2007-03-12 02:35:28 -0700 (Mon, 12 Mar 2007)

Log Message:
-----------
Images require an alternate text.

Modified Paths:
--------------
    trunk/squirrelmail/functions/template/message_list_util.php

Modified: trunk/squirrelmail/functions/template/message_list_util.php
===================================================================
--- trunk/squirrelmail/functions/template/message_list_util.php 2007-03-10 
06:12:19 UTC (rev 12333)
+++ trunk/squirrelmail/functions/template/message_list_util.php 2007-03-12 
09:35:28 UTC (rev 12334)
@@ -174,13 +174,13 @@
     switch ($priority) {
         case 1:
         case 2:
-            $icon = getIcon($icon_theme_path, 'prio_high.png', 
create_span('!', 'high_priority'));
+            $icon = getIcon($icon_theme_path, 'prio_high.png', 
create_span('!', 'high_priority'), _("High priority"));
             break;
         case 5:
-            $icon = getIcon($icon_theme_path, 'prio_low.png', 
create_span('↓', 'low_priority'));
+            $icon = getIcon($icon_theme_path, 'prio_low.png', 
create_span('↓', 'low_priority'), _("Low priority"));
             break;
         default:
-            $icon = getIcon($icon_theme_path, 'transparent.png', '', '', 5);
+            $icon = getIcon($icon_theme_path, 'transparent.png', '', _("Normal 
priority"), 5);
             break;
     }
 
@@ -200,9 +200,9 @@
     $icon = '';
     
     $icon_file = $attach ? 'attach.png' : 'transparent.png';
+    $alt_text = $attach ? _("Attachment") : _("No attachment");
     $text = $attach ? '+' : '';
-    $icon = getIcon($icon_theme_path, $icon_file, $text);
+    $icon = getIcon($icon_theme_path, $icon_file, $text, $alt_text);
 
     return $icon;
 }
-


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>