From 5ae0173b1ccf2ba43b8a7c0e669b951304048d06 Mon Sep 17 00:00:00 2001 From: phutnick Date: Tue, 4 Sep 2001 00:43:08 +0000 Subject: [PATCH] Added Pontus Ullgren's message priority code. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1483 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 4 ++++ src/compose.php | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 89ae5eba..825ce528 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -141,6 +141,10 @@ echo "A\n"; $stuff = true; } + if (ereg('(5)',substr($msg['PRIORITY'],0,1))) { + echo "v\n"; + $stuff = true; + } if ($msg['TYPE0'] == 'multipart') { echo "+\n"; $stuff = true; diff --git a/src/compose.php b/src/compose.php index b0db9b73..f0334c1e 100644 --- a/src/compose.php +++ b/src/compose.php @@ -362,6 +362,11 @@ echo " "; } echo "\n \n"; + echo "\n ". _("Priority") .":"; do_hook("compose_button_row"); @@ -447,7 +452,7 @@ do_hook("compose_send"); - if (! sendMessage($send_to, $send_to_cc, $send_to_bcc, $subject, $body, $reply_id)) { + if (! sendMessage($send_to, $send_to_cc, $send_to_bcc, $subject, $body, $reply_id, $mailprio)) { showInputForm(); exit(); } -- 2.25.1