X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Flistcommands%2Fmailout.php;h=b84c16d3d6cdbd64bd5728526f25b838a54ce641;hp=5d08b20b78d992801783f71786dd500c136a5661;hb=a67cf4877d741cffdf17affd2fae6359921b12ab;hpb=dcc1cc825e550711d0207a737f9ea3ac2b38e923 diff --git a/plugins/listcommands/mailout.php b/plugins/listcommands/mailout.php index 5d08b20b..b84c16d3 100644 --- a/plugins/listcommands/mailout.php +++ b/plugins/listcommands/mailout.php @@ -1,26 +1,24 @@ display('footer.tpl'); + exit; } -printf( $out_string, htmlspecialchars($send_to) ); +echo html_tag('p', '', 'left' ) . + html_tag( 'table', '', 'center', $color[0], 'border="0" width="75%"' ) . "\n" . + html_tag( 'tr', + html_tag( 'th', _("Mailinglist") . ': ' . $fieldsdescr[$action], '', $color[9] ) + ) . + html_tag( 'tr' ) . + html_tag( 'td', '', 'left' ); -echo '
'; +printf($out_string, '"' . htmlspecialchars($send_to) . '"'); +echo addForm(SM_PATH . 'src/compose.php', 'post'); $idents = get_identities(); @@ -62,19 +68,20 @@ if (count($idents) > 1) { foreach($idents as $nr=>$data) { echo '

'; +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