added some fixed mentioned on the mailing list
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 8 May 2000 15:49:39 +0000 (15:49 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 8 May 2000 15:49:39 +0000 (15:49 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@502 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php
src/folders_create.php
src/read_body.php

index 8ffb15e62ce9c6a24f16e542fe057ab2b3f8d063..809aa404ddf758ba60f4bfbda3bbbe3b7112cb38 100644 (file)
       // 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 "<TR><TD BGCOLOR=\"$color[4]\" COLSPAN=5><CENTER><BR><B>". _("THIS FOLDER IS EMPTY") ."</B><BR>&nbsp</CENTER></TD></TR>";
+         echo "<TR><TD BGCOLOR=\"$color[4]\" COLSPAN=5><CENTER><BR><B>". _("THIS FOLDER IS EMPTY") ."</B><BR>&nbsp;</CENTER></TD></TR>";
       } else if ($startMessage == $endMessage) { // if there's only one message in the box, handle it different.
          $i = $startMessage - 1;
          reset($msort);
index e8f08c73626c56b5390c4b1c1fe3a543d9a1b667..8731191e76e96d221b30fead8b93c2c462802e73 100644 (file)
@@ -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 ]")) {
index 01fc7db427660f2512b75a0ec9f009723b690fe6..7ef156042419906e12f9b847789c9c86c80375ce 100644 (file)
    echo "            </TD><TD WIDTH=33% ALIGN=CENTER>";
    echo "               <SMALL>\n";
    if ($currentArrayIndex == -1) {
-      echo "Previous&nbsp;|&nbspNext";
+      echo "Previous&nbsp;|&nbsp;Next";
    } else {
       $prev = findPreviousMessage();
       $next = findNextMessage();