From 3027826accdf2a81f7dc39e279e67a6b94214170 Mon Sep 17 00:00:00 2001 From: stekkel Date: Thu, 19 Jun 2003 08:08:36 +0000 Subject: [PATCH] Fix for bug #749568 Removal of non breaking spaces because they do not wrap. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5092 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index efce2944..9f8fcab6 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -94,10 +94,10 @@ function printMessageInfo($imapConnection, $t, $not_last=true, $key, $mailbox, } } } - + $senderName = str_replace(' ',' ',$senderName); $msg['SUBJECT'] = decodeHeader($msg['SUBJECT']); $subject = processSubject($msg['SUBJECT'], $indent_array[$msg['ID']]); - + $subject = str_replace(' ',' ',$subject); echo html_tag( 'tr','','','','VALIGN="top"') . "\n"; if (isset($msg['FLAG_FLAGGED']) && ($msg['FLAG_FLAGGED'] == true)) { @@ -675,7 +675,9 @@ function mail_message_listing_beginning ($imapConnection, * This is the beginning of the message list table. * It wraps around all messages */ - echo '
' ."\n" + $safe_name = preg_replace("/[^0-9A-Za-z_]/", '_', $mailbox); + $form_name = "FormMsgs" . $safe_name; + echo '' ."\n" . $moveFields . html_tag( 'table' , html_tag( 'tr', @@ -881,18 +883,22 @@ function get_selectall_link($start_msg, $sort) { $result = ''; if ($javascript_on) { + $safe_name = preg_replace("/[^0-9A-Za-z_]/", '_', $mailbox); + $func_name = "CheckAll" . $safe_name; + $form_name = "FormMsgs" . $safe_name; $result = '' . _("Toggle All") + . '' . _("Toggle All") +/* . '' . _("Toggle All")*/ . "\n"; } else { if (strpos($PHP_SELF, "?")) { -- 2.25.1