From: tokul Date: Sat, 6 May 2006 06:48:34 +0000 (+0000) Subject: same text icon style as the one that is used in msg listing. Using nbsp X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=de783fdf64963a66ea45fd218033f8d2a79a77d4 same text icon style as the one that is used in msg listing. Using nbsp instead of regular space in order to prevent wrapping git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11112 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/addressbook.php b/functions/addressbook.php index 75eb5596..1b7356bd 100644 --- a/functions/addressbook.php +++ b/functions/addressbook.php @@ -382,19 +382,22 @@ function show_abook_sort_button($abook_sort_order, $alt_tag, $Down, $Up ) { /* Figure out which image we want to use. */ if ($abook_sort_order != $Up && $abook_sort_order != $Down) { $img = 'sort_none.png'; + $text_icon = '◻'; // U+25FB WHITE MEDIUM SQUARE $which = $Up; } elseif ($abook_sort_order == $Up) { $img = 'up_pointer.png'; + $text_icon = '⇧'; // U+21E7 UPWARDS WHITE ARROW $which = $Down; } else { $img = 'down_pointer.png'; + $text_icon = '⇩'; // U+21E9 DOWNWARDS WHITE ARROW $which = 8; } /* Now that we have everything figured out, show the actual button. */ - return ' ' . - getIcon($icon_theme_path, $img, $alt_tag, _("Click here to change the sorting of the address list")) . + return ' ' . + getIcon($icon_theme_path, $img, $text_icon, $alt_tag) . ''; }