Added Pontus Ullgren's message priority code.

This commit is contained in:
phutnick 2001-09-04 00:43:08 +00:00
parent c43eab3c5a
commit 536fd3b48a
2 changed files with 10 additions and 1 deletions

View file

@ -141,6 +141,10 @@
echo "A\n";
$stuff = true;
}
if (ereg('(5)',substr($msg['PRIORITY'],0,1))) {
echo "<font color=$color[8]>v</font>\n";
$stuff = true;
}
if ($msg['TYPE0'] == 'multipart') {
echo "+\n";
$stuff = true;

View file

@ -362,6 +362,11 @@
echo " <input type=submit name=\"html_addr_search\" value=\""._("Addresses")."\">";
}
echo "\n <INPUT TYPE=SUBMIT NAME=send VALUE=\"". _("Send") . "\">\n";
echo "\n ". _("Priority") .":<select name=\"mailprio\">".
"\n <option value=1>". _("High") ."</option>".
"\n <option value=3 selected>". _("Normal") ."</option>".
"\n <option value=5>". _("Low") ."</option>".
"\n </select>";
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();
}