XHTML fixes
authorjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 25 Oct 2004 23:00:21 +0000 (23:00 +0000)
committerjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 25 Oct 2004 23:00:21 +0000 (23:00 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8249 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/printer_friendly_bottom.php
src/read_body.php

index 6c4d811ca7a64ddc7ff3ba2981501fd5dfdabb56..460dbb511ea67aedd4af7330419eeaf610f944bd 100644 (file)
@@ -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);
 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 .= '<hr noshade size="1" />';
+     $body .= '<hr style="height: 1px;" />';
   }
   $hookResults = do_hook('message_body', $body);
   $body = $hookResults[1];
   }
   $hookResults = do_hook('message_body', $body);
   $body = $hookResults[1];
@@ -139,7 +139,7 @@ echo '<body text="#000000" bgcolor="#FFFFFF" link="#000000" vlink="#000000" alin
      }
      /* body */
      echo html_tag( 'tr',
      }
      /* body */
      echo html_tag( 'tr',
-         html_tag( 'td', '<hr noshade size="1" /><br />' . "\n" . $body, 'left', '', 'colspan="2"' )
+         html_tag( 'td', '<hr style="height: 1px;" /><br />' . "\n" . $body, 'left', '', 'colspan="2"' )
      ) . "\n" .
 
      '</table>' . "\n" .
      ) . "\n" .
 
      '</table>' . "\n" .
index 1c02e88ee66da8a619c0cadc7372856af2a6ccac..57b1bd6f6309694592c69c6cd09ec4fdcffdf04a 100644 (file)
@@ -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) {
 for ($i = 0; $i < $cnt; $i++) {
    $messagebody .= formatBody($imapConnection, $message, $color, $wrap_at, $ent_ar[$i], $passed_id, $mailbox);
    if ($i != $cnt-1) {
-       $messagebody .= '<hr noshade size="1" />';
+       $messagebody .= '<hr style="height: 1px;" />';
    }
 }
 
    }
 }
 
@@ -959,4 +959,4 @@ sqimap_logout($imapConnection);
 $mailbox_cache[$aMailbox['NAME']] = $aMailbox;
 sqsession_register($mailbox_cache,'mailbox_cache');
 ?>
 $mailbox_cache[$aMailbox['NAME']] = $aMailbox;
 sqsession_register($mailbox_cache,'mailbox_cache');
 ?>
-</body></html>
+</body></html>
\ No newline at end of file