From: jervfors
Date: Mon, 25 Oct 2004 23:00:21 +0000 (+0000)
Subject: XHTML fixes
X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=83ae18bcffdbda8eb4b4c5d7d88979df319d2e95;ds=sidebyside
XHTML fixes
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8249 7612ce4b-ef26-0410-bec9-ea0150e637f0
---
diff --git a/src/printer_friendly_bottom.php b/src/printer_friendly_bottom.php
index 6c4d811c..460dbb51 100644
--- a/src/printer_friendly_bottom.php
+++ b/src/printer_friendly_bottom.php
@@ -71,7 +71,7 @@ $body = '';
if ($ent_ar[0] != '') {
for ($i = 0; $i < count($ent_ar); $i++) {
$body .= formatBody($imapConnection, $message, $color, $wrap_at, $ent_ar[$i], $passed_id, $mailbox);
- $body .= '
';
+ $body .= '
';
}
$hookResults = do_hook('message_body', $body);
$body = $hookResults[1];
@@ -139,7 +139,7 @@ echo '
' . "\n" . $body, 'left', '', 'colspan="2"' )
+ html_tag( 'td', '
' . "\n" . $body, 'left', '', 'colspan="2"' )
) . "\n" .
'' . "\n" .
diff --git a/src/read_body.php b/src/read_body.php
index 1c02e88e..57b1bd6f 100644
--- a/src/read_body.php
+++ b/src/read_body.php
@@ -883,7 +883,7 @@ $cnt = count($ent_ar);
for ($i = 0; $i < $cnt; $i++) {
$messagebody .= formatBody($imapConnection, $message, $color, $wrap_at, $ent_ar[$i], $passed_id, $mailbox);
if ($i != $cnt-1) {
- $messagebody .= '
';
+ $messagebody .= '
';
}
}
@@ -959,4 +959,4 @@ sqimap_logout($imapConnection);
$mailbox_cache[$aMailbox['NAME']] = $aMailbox;
sqsession_register($mailbox_cache,'mailbox_cache');
?>
-