From 6c68e276ab6260657ef4b06a2dfe06fb677e5b5c Mon Sep 17 00:00:00 2001 From: stevetruckstuff Date: Tue, 28 Feb 2006 17:03:21 +0000 Subject: [PATCH] Added text icons for sorting git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10843 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default/message_list.tpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/default/message_list.tpl b/templates/default/message_list.tpl index a335c183..ff63485f 100644 --- a/templates/default/message_list.tpl +++ b/templates/default/message_list.tpl @@ -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 = '⇑'; } else if ($sort == $aSortSupported[$iCol][1]) { $newsort = 0; $img = 'down_pointer.png'; + $text_icon = '⇓'; } else { $newsort = $aSortSupported[$iCol][0]; $img = 'sort_none.png'; + $text_icon = '[ ]'; } /* Now that we have everything figured out, show the actual button. */ echo " " . - getIcon($icon_theme_path, $img, ' ', _("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" . ''; } ?> -- 2.25.1