From f6536dcfbf68dcc00a5e5171e409ec2178e20af3 Mon Sep 17 00:00:00 2001 From: kink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0> Date: Sun, 19 Jan 2003 11:40:23 +0000 Subject: [PATCH] Fix html errors that cause display problems in NS4. Thanks "ME". git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4435 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 1 + plugins/squirrelspell/sqspell_functions.php | 2 +- src/options_highlight.php | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index e7345388..af73b011 100644 --- 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 ------------------ diff --git a/plugins/squirrelspell/sqspell_functions.php b/plugins/squirrelspell/sqspell_functions.php index 15d5c317..c6a9d106 100644 --- a/plugins/squirrelspell/sqspell_functions.php +++ b/plugins/squirrelspell/sqspell_functions.php @@ -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"; } /** diff --git a/src/options_highlight.php b/src/options_highlight.php index e4803c54..2af438b5 100644 --- a/src/options_highlight.php +++ b/src/options_highlight.php @@ -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> -- 2.25.1