git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@502
7612ce4b-ef26-0410-bec9-
ea0150e637f0
// 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> </CENTER></TD></TR>";
+ echo "<TR><TD BGCOLOR=\"$color[4]\" COLSPAN=5><CENTER><BR><B>". _("THIS FOLDER IS EMPTY") ."</B><BR> </CENTER></TD></TR>";
} else if ($startMessage == $endMessage) { // if there's only one message in the box, handle it different.
$i = $startMessage - 1;
reset($msort);
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 ]")) {
echo " </TD><TD WIDTH=33% ALIGN=CENTER>";
echo " <SMALL>\n";
if ($currentArrayIndex == -1) {
- echo "Previous | Next";
+ echo "Previous | Next";
} else {
$prev = findPreviousMessage();
$next = findNextMessage();