X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fread_body.php;h=be7f05a2340891b0b66138090468990e5add9b29;hp=a784ab43bcea7aaa7db2dd82180e23d2c84eeb8e;hb=d7f8e6e69e33b218bf6d7775a53c811d839bce61;hpb=cc766dd0fc5eca63edada3863e574f9d70b96232 diff --git a/src/read_body.php b/src/read_body.php index a784ab43..be7f05a2 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -690,19 +690,31 @@ if ($where && $what) { } echo _("Delete") . ' '; if (($mailbox == $draft_folder) && ($save_as_draft)) { - echo '| '. _("Resume Draft") . ''; } if ($mailbox == $sent_folder) { - echo '| '. _("Edit Message as New") . ''; @@ -737,31 +749,49 @@ if ( !($where && $what) ) { echo '' . '' . - '' . - '' ; + +$comp_uri = $base_uri . "src/compose.php?forward_id=$passed_id&". + "forward_subj=$url_subj&". + ($default_use_priority?"mailprio=$priority_level&":''). + "mailbox=$urlMailbox&ent_num=$ent_num"; + +if ($compose_new_win == '1') { + echo "'. _("Forward") . - ' | ' . - ' | '; + +$comp_uri = $base_uri . "src/compose.php?send_to=$url_replyto&". + "reply_subj=$url_subj&". + ($default_use_priority?"mailprio=$priority_level&":''). + "reply_id=$passed_id&mailbox=$urlMailbox&ent_num=$ent_num"; + +if ($compose_new_win == '1') { + echo "'. _("Reply") . - ' | ' . - ' | '; + +$comp_uri = $base_uri . "src/compose.php?send_to=$url_replytoall&". + "send_to_cc=$url_replytoallcc&reply_subj=$url_subj&". + ($default_use_priority?"mailprio=$priority_level&":''). + "reply_id=$passed_id&mailbox=$urlMailbox&ent_num=$ent_num"; + +if ($compose_new_win == '1') { + echo "'. _("Reply All") . '  ' .