From 9988d19e65d7ea81cb1dfaf534a54d45a13ba2c7 Mon Sep 17 00:00:00 2001 From: lkehresman Date: Mon, 8 May 2000 15:49:39 +0000 Subject: [PATCH] added some fixed mentioned on the mailing list git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@502 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 2 +- src/folders_create.php | 2 ++ src/read_body.php | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 8ffb15e6..809aa404 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -250,7 +250,7 @@ // loop through and display the info for each message. $t = 0; // $t is used for the checkbox number if ($numMessages == 0) { // if there's no messages in this folder - echo "

". _("THIS FOLDER IS EMPTY") ."
 
"; + echo "

". _("THIS FOLDER IS EMPTY") ."
 
"; } else if ($startMessage == $endMessage) { // if there's only one message in the box, handle it different. $i = $startMessage - 1; reset($msort); diff --git a/src/folders_create.php b/src/folders_create.php index e8f08c73..8731191e 100644 --- a/src/folders_create.php +++ b/src/folders_create.php @@ -32,6 +32,8 @@ if ($folder_prefix && (substr($subfolder, 0, strlen($folder_prefix)) != $folder_prefix)){ $subfolder_orig = $subfolder; $subfolder = $folder_prefix . $subfolder; + } else { + $subfolder_orig = $subfolder; } if ((trim($subfolder_orig) == "[ None ]") || (trim(stripslashes($subfolder_orig)) == "[ None ]")) { diff --git a/src/read_body.php b/src/read_body.php index 01fc7db4..7ef15604 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -160,7 +160,7 @@ echo " "; echo " \n"; if ($currentArrayIndex == -1) { - echo "Previous | Next"; + echo "Previous | Next"; } else { $prev = findPreviousMessage(); $next = findNextMessage(); -- 2.25.1