X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Flistcommands%2Fmailout.php;h=dd9e5de180ee7a551e8ab7891cf0628cd5a41c17;hp=666f96ee7cdb5c64e38d2215dd99b3b6d6b04784;hb=769a819ddfb1917b473e2b36f86f7c5b99b14600;hpb=b1379bdf5bd35c0d816bc0eedad43341403ba73f diff --git a/plugins/listcommands/mailout.php b/plugins/listcommands/mailout.php index 666f96ee..dd9e5de1 100644 --- a/plugins/listcommands/mailout.php +++ b/plugins/listcommands/mailout.php @@ -1,94 +1,87 @@ display('footer.tpl'); + exit; +} echo html_tag('p', '', 'left' ) . -html_tag( 'table', '', 'center', $color[0], 'border="0" width="75%"' ) . "\n" . + html_tag( 'table', '', 'center', $color[0], 'border="0" width="75%"' ) . "\n" . html_tag( 'tr', - html_tag( 'th', _("Mailinglist") . ' ' . _($action), '', $color[9] ) - ) . + html_tag( 'th', _("Mailinglist") . ': ' . $fieldsdescr[$action], '', $color[9] ) + ) . html_tag( 'tr' ) . html_tag( 'td', '', 'left' ); -switch ( $action ) { -case 'help': - $out_string = _("This will send a message to %s requesting help for this list. You will receive an emailed response at the address below."); - break; -case 'subscribe': - $out_string = _("This will send a message to %s requesting that you will be subscribed to this list. You will be subscribed with the address below."); - break; -case 'unsubscribe': - $out_string = _("This will send a message to %s requesting that you will be unsubscribed from this list. It will try to unsubscribe the adress below."); -} - -printf( $out_string, htmlspecialchars($send_to) ); +printf($out_string, '"' . htmlspecialchars($send_to) . '"'); -echo '