Link to resume composing a draft email.
authorfallas <fallas@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 28 Oct 2001 11:06:08 +0000 (11:06 +0000)
committerfallas <fallas@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 28 Oct 2001 11:06:08 +0000 (11:06 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1633 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/read_body.php

index 1b12317..6f7e3c1 100644 (file)
       echo "               <A HREF=\"delete_message.php?mailbox=$urlMailbox&message=$passed_id&sort=$sort&startMessage=$startMessage\">";
    }
    echo _("Delete") .
       echo "               <A HREF=\"delete_message.php?mailbox=$urlMailbox&message=$passed_id&sort=$sort&startMessage=$startMessage\">";
    }
    echo _("Delete") .
-        '</A>&nbsp;&nbsp;' .
+        '</A>&nbsp;';
+   if (($mailbox == $draft_folder) && ($save_as_draft)) {
+      echo '|&nbsp;';
+      echo "               <A HREF=\"compose.php?mailbox=$mailbox&send_to=$to_string&send_to_cc=$cc_string&send_to_bcc=$
+      echo _("Resume") .
+           '</a>';
+   }
+   echo '&nbsp;&nbsp;' .
         '               </SMALL>' .
         '            </TD><TD WIDTH="33%" ALIGN="CENTER">' .
         '               <SMALL>' . "\n";
         '               </SMALL>' .
         '            </TD><TD WIDTH="33%" ALIGN="CENTER">' .
         '               <SMALL>' . "\n";
    do_hook('read_body_bottom');
    do_hook('html_bottom');
    sqimap_logout($imapConnection);
    do_hook('read_body_bottom');
    do_hook('html_bottom');
    sqimap_logout($imapConnection);
-?>
\ No newline at end of file
+?>