Added text icons for sorting
[squirrelmail.git] / templates / default / message_list.tpl
index a335c183da15c45a2d60df15f9644a4c987c94ca..ff63485f019a7d9bc11da6472664b9853494e58b 100644 (file)
@@ -260,16 +260,19 @@ $clickedColor = (empty($color[16])) ? $color[2] : $color[16];
             if ($sort == $aSortSupported[$iCol][0]) {
                 $newsort = $aSortSupported[$iCol][1];
                 $img = 'up_pointer.png';
+                $text_icon = '&#8657';
             } else if ($sort == $aSortSupported[$iCol][1]) {
                 $newsort = 0;
                 $img = 'down_pointer.png';
+                $text_icon = '&#8659';
             } else {
                 $newsort = $aSortSupported[$iCol][0];
                 $img = 'sort_none.png';
+                $text_icon = '[ ]';
             }
             /* Now that we have everything figured out, show the actual button. */
             echo " <a href=\"$baseurl&amp;startMessage=1&amp;srt=$newsort\">" .
-                 getIcon($icon_theme_path, $img, '&nbsp;', _("Click here to change the sorting of the message list")) . "\n" .
+                 getIcon($icon_theme_path, $img, $text_icon, _("Click here to change the sorting of the message list")) . "\n" .
                  '</a>';
         }
 ?>