From 9f599fe38440e503feefc29822189727ee3bcbc2 Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Sat, 9 Feb 2002 19:18:27 +0000 Subject: [PATCH] Confirmation checkbox moved git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2396 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/compose.php b/src/compose.php index b8036a66..e499efe8 100644 --- a/src/compose.php +++ b/src/compose.php @@ -482,6 +482,7 @@ function showInputForm () { if ($em != '') { echo htmlspecialchars(' <' . $em . '>') . "\n"; } + echo ''; } echo '' . "\n" . ' ' . "\n" . @@ -556,8 +557,16 @@ function showInputForm () { if ($location_of_buttons == 'bottom') { showComposeButtonRow(); } else { - echo '  ' . "\n"; + echo ' '; + + $mdn_user_support=getPref($data_dir, $username, 'mdn_user_support',$default_use_mdn); + if ($default_use_mdn) { + if ($mdn_user_support) { + echo _("Confirm reading:"). + ""; + } + } + echo '   ' . "\n"; } /* This code is for attachments */ @@ -571,6 +580,7 @@ function showInputForm () { ' value="' . _("Add") .'">' . "\n" . ' ' . "\n" . ' ' . "\n"; + if (count($attachments)) { $hashed_attachment_dir = getHashedDir($username, $attachment_dir); echo '' . "\n" . @@ -596,7 +606,7 @@ function showInputForm () { echo '\n" . ''; - do_hook("compose_bottom"); + do_hook('compose_bottom'); echo '' . "\n"; } @@ -636,14 +646,6 @@ function showComposeButtonRow() ""; } - $mdn_user_support=getPref($data_dir, $username, 'mdn_user_support',$default_use_mdn); - if ($default_use_mdn) { - if ($mdn_user_support) { - echo _("Confirm reading:"). - ""; - } - } - do_hook('compose_button_row'); echo " \n\n"; -- 2.25.1