From a7818e8e57e671a6e0bf1c8549451639500c0aed Mon Sep 17 00:00:00 2001 From: ullgren Date: Tue, 8 Jan 2002 09:06:00 +0000 Subject: [PATCH] Bugfix: Implemented 'sticky priority' git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2102 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/read_body.php | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/read_body.php b/src/read_body.php index 380c5fcb..bf3ce391 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -416,7 +416,9 @@ if (isset ($message->header->bcc[0]) && trim($message->header->bcc[0])){ } if ($default_use_priority) { - switch(substr($message->header->priority,0,1)) { + $priority_level = substr($message->header->priority,0,1); + + switch($priority_level) { /* First, check for a higher then normal priority. */ case "1": case "2": $priority_string = _("High"); break; @@ -498,13 +500,19 @@ if ( !($where && $what) ) { echo ' ' . "\n" . ' ' . ' ' . - ' " . + ' " . _("Forward") . ' | ' . - ' " . + ' " . _("Reply") . ' | ' . - ' " . + ' " . _("Reply All") . '  ' . ' ' . @@ -661,4 +669,4 @@ do_hook('html_bottom'); sqimap_logout($imapConnection); ?> - \ No newline at end of file + -- 2.25.1