X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Flistcommands%2Fmailout.php;h=99f402fadb1c54302380c9d480c2b484769fec2d;hb=91e0dccca7b2452d8b450791cae3aa4125e8889e;hp=e505465a8c2a02f6851fb6e8162af185f06c0104;hpb=15ac78fea238aa18aac22dca396055b742394f71;p=squirrelmail.git diff --git a/plugins/listcommands/mailout.php b/plugins/listcommands/mailout.php index e505465a..99f402fa 100644 --- a/plugins/listcommands/mailout.php +++ b/plugins/listcommands/mailout.php @@ -2,12 +2,15 @@ /** * mailout.php * - * Copyright (c) 1999-2003 The SquirrelMail Project Team + * Copyright (c) 1999-2004 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * $Id$ + * @package plugins + * @subpackage listcommands */ +/** @ignore */ define('SM_PATH','../../'); /* SquirrelMail required files. */ @@ -16,6 +19,7 @@ include_once(SM_PATH . 'functions/page_header.php'); include_once(SM_PATH . 'include/load_prefs.php'); include_once(SM_PATH . 'functions/html.php'); require_once(SM_PATH . 'functions/identity.php'); +require_once(SM_PATH . 'functions/forms.php'); displayPageHeader($color, $mailbox); @@ -47,7 +51,7 @@ case 'unsubscribe': printf( $out_string, htmlspecialchars($send_to) ); -echo '
'; +echo addForm('../../src/compose.php', 'POST'); $idents = get_identities(); @@ -68,10 +72,11 @@ if (count($idents) > 1) { } echo '
' -. '' -. '' -. '' -. '' -. '

' +. addHidden('send_to', $send_to) +. addHidden('subject', $subject) +. addHidden('body', $body) +. addHidden('mailbox', $mailbox) +. addSubmit(_("Send Mail"), 'send') +. '

' . '

'; -?> +?> \ No newline at end of file