From 0fa24cb611579babbaa58635d9613934089e70f6 Mon Sep 17 00:00:00 2001 From: jervfors Date: Mon, 16 Aug 2004 00:23:02 +0000 Subject: [PATCH] Making use of forms.php git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7922 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/compose.php b/src/compose.php index 89f6d12d..5057a585 100644 --- a/src/compose.php +++ b/src/compose.php @@ -1005,14 +1005,14 @@ function showInputForm ($session, $values=false) { html_tag( 'td', '', 'right', $color[4] ) . _("Cc") . ':' . "\n" . html_tag( 'td', '', 'left', $color[4] ) . - addInput('send_to_cc', $send_to_cc, 60). '
' . "\n" . + addInput('send_to_cc', $send_to_cc, 60). '
' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . html_tag( 'td', '', 'right', $color[4] ) . _("Bcc") . ':' . "\n" . html_tag( 'td', '', 'left', $color[4] ) . - addInput('send_to_bcc', $send_to_bcc, 60).'
' . "\n" . + addInput('send_to_bcc', $send_to_bcc, 60).'
' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . @@ -1074,7 +1074,7 @@ function showInputForm ($session, $values=false) { } else { echo ' ' . "\n" . html_tag( 'td', '', 'right', '', 'colspan="2"' ) . "\n" . - ' ' . "\n" . + ' ' . addSubmit(_("Send"), 'send'). '     

' . "\n" . ' ' . "\n" . ' ' . "\n"; @@ -1132,9 +1132,9 @@ function showInputForm ($session, $values=false) { $attachment->mime_header->type1; $s_a[] = '
'. - addCheckBox('delete[]', FALSE, $key). - "\n" . $attached_filename . + '" border="0">
'. + addCheckBox('delete[]', FALSE, $key). + "\n" . $attached_filename . '- ' . $type . '('. show_readable_size( filesize( $attached_file ) ) . ')
'."\n"; } @@ -1161,18 +1161,18 @@ function showInputForm ($session, $values=false) { } echo '' . "\n" . - addHidden('username', $username). - addHidden('smaction', $action). - addHidden('mailbox', $mailbox); + addHidden('username', $username). + addHidden('smaction', $action). + addHidden('mailbox', $mailbox); /* store the complete ComposeMessages array in a hidden input value so we can restore them in case of a session timeout. */ sqgetGlobalVar('QUERY_STRING', $queryString, SQ_SERVER); echo addHidden('restoremessages', serialize($compose_messages)). - addHidden('composesession', $composesession). - addHidden('querystring', $queryString). - "\n"; + addHidden('composesession', $composesession). + addHidden('querystring', $queryString). + "\n"; if (!(bool) ini_get('file_uploads')) { /* File uploads are off, so we didn't show that part of the form. To avoid bogus bug reports, tell the user why. */ @@ -1546,4 +1546,5 @@ function deliverMessage($composeMessage, $draft=false) { return $succes; } +// vim: et ts=4 ?> \ No newline at end of file -- 2.25.1