From 5d5dc46c8b75a6a11b95bf63022d1430ccadc755 Mon Sep 17 00:00:00 2001 From: stakadush Date: Mon, 8 Jul 2002 07:40:43 +0000 Subject: [PATCH] More fixes due to R2L implementation (bugs were posted to squirrel-devel) The bug in listcommands was an extra tag. The bug in read_body.php was a misplaced do_hook (line #793). git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3071 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/listcommands/setup.php | 1 - src/read_body.php | 13 ++++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/plugins/listcommands/setup.php b/plugins/listcommands/setup.php index a5fe5957..b33ababf 100644 --- a/plugins/listcommands/setup.php +++ b/plugins/listcommands/setup.php @@ -110,7 +110,6 @@ function plugin_listcommands_menu() { } if (count($output) > 0) { - echo ""; echo html_tag( 'tr', html_tag( 'td', str_replace(' ', ' ', _("Mailing List:")), 'right', $color[0]) . html_tag( 'td', diff --git a/src/read_body.php b/src/read_body.php index 8e38c507..07e06960 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -786,13 +786,12 @@ echo '' . ' '; /** from **/ -echo html_tag( 'tr', "\n" . - html_tag( 'td', _("From:"), 'right', $color[0], 'valign="top"' ) . - html_tag( 'td', - '' . $from_name . ' ' . "\n" , - 'left', $color[0] ) - ) . "\n"; - do_hook("read_body_after_from"); +echo html_tag( 'tr') . "\n" . + html_tag( 'td', _("From:"), 'right', $color[0], 'valign="top"' ) . + html_tag( 'td', '', 'left', $color[0] ) . + '' . $from_name . '  '; + do_hook("read_body_after_from"); +echo " \n" . ''; /** date **/ echo html_tag( 'tr', "\n" . html_tag( 'td', _("Date:"), 'right', $color[0], 'valign="top"' ) . -- 2.25.1