Fix html errors that cause display problems in NS4. Thanks "ME".
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 19 Jan 2003 11:40:23 +0000 (11:40 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 19 Jan 2003 11:40:23 +0000 (11:40 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4435 7612ce4b-ef26-0410-bec9-ea0150e637f0

ChangeLog
plugins/squirrelspell/sqspell_functions.php
src/options_highlight.php

index e7345388881255f78096e8e40c80956f30f21bcc..af73b011d6560e3ca02cc9369f2eed523132246f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -31,6 +31,7 @@ Version 1.4.0 RC 2
   - Obsolete sqm_topdir(), which caused login trouble with installs that
     have open_basedir restrictions. Thanks Jimmy Connor.
   - Fix broken abook_take plugin.
+  - Fix HTML errors that caused display problems in NS4.
        
 Version 1.4.0 RC 1
 ------------------
index 15d5c3172b494034c4ce19b99cf3666d88d332cb..c6a9d106ffb14b44fcaf2f3a0f53c29a76d69189 100644 (file)
@@ -79,7 +79,7 @@ function sqspell_makePage($title, $scriptsrc, $body){
           ) . "\n"
     . html_tag( 'tr',
           html_tag( 'td', 'SquirrelSpell ' . $SQSPELL_VERSION, 'center', $color[9] )
-      ) . "\n";
+      ) . "\n</table>\n";
 }
 
 /**
index e4803c5477f9d9774f5677c22cd97ca91aeed37d..2af438b568185bd386f6123cf350e848e6bf65d4 100644 (file)
@@ -108,15 +108,15 @@ html_tag( 'table', "\n" .
     html_tag( 'tr', "\n" .
         html_tag( 'td', '<center><b>' . _("Options") . ' - ' . _("Message Highlighting") . '</b></center>', 'left')
     ),
-    'center', $color[9], 'width="95% border="0" cellpadding="1" cellspacing="0"' ) . "<br>\n" .
-html_tag( 'table', '', '', '', 'width="100% border="0" cellpadding="1" cellspacing="0"' ) . 
+    'center', $color[9], 'width="95%" border="0" cellpadding="1" cellspacing="0"' ) . "<br>\n" .
+html_tag( 'table', '', '', '', 'width="100%" border="0" cellpadding="1" cellspacing="0"' ) . 
      html_tag( 'tr' ) . "\n" .
          html_tag( 'td', '', 'left' );
 
 echo '<center>[<a href="options_highlight.php?action=add">' . _("New") . '</a>]'.
         ' - [<a href="options.php">'._("Done").'</a>]</center><br>'."\n";
 if (count($message_highlight_list) >= 1) {
-    echo html_tag( 'table', '', 'center', '', 'width="80% border="0" cellpadding="3" cellspacing="0"' ) . "\n";
+    echo html_tag( 'table', '', 'center', '', 'width="80%" border="0" cellpadding="3" cellspacing="0"' ) . "\n";
     for ($i=0; $i < count($message_highlight_list); $i++) {
         $match_type = '';
         switch ($message_highlight_list[$i]['match_type'] ) {
@@ -436,4 +436,4 @@ if ($action == 'edit' || $action == 'add') {
 }
 do_hook('options_highlight_bottom');
 ?>
-</body></html>
+</table></body></html>