From 9fee0ed9af6bb1daa3af2ff7290f5589040b4821 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 16 Oct 2005 15:12:24 -0400
Subject: [PATCH] Fixed folder display; added Portuguese and Catalan

---
 program/include/rcube_imap.inc |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc
index 24cd94a..4c707e3 100644
--- a/program/include/rcube_imap.inc
+++ b/program/include/rcube_imap.inc
@@ -268,7 +268,7 @@
     else
       $count = iil_C_CountMessages($this->conn, $mailbox);
 
-//print "/**** get messagecount for $mailbox ($mode): $count ****/\n";
+// print "/**** get messagecount for $mailbox ($mode): $count ****/\n";
 
     if (is_array($a_mailbox_cache[$mailbox]))
       $a_mailbox_cache[$mailbox] = array();
@@ -312,8 +312,8 @@
       $a_header_index = iil_C_FetchHeaders($this->conn, $mailbox, "1:$max");
       $a_msg_headers = array();
       foreach ($a_header_index as $i => $headers)
-		if (!$headers->deleted)
-			$a_msg_headers[$headers->uid] = $headers;
+      if (!$headers->deleted)
+        $a_msg_headers[$headers->uid] = $headers;
         
 // print "/**** fetch headers ****/\n";
       }
@@ -445,7 +445,7 @@
     $cache_key = $this->mailbox.'.msg';
     if ($this->caching_enabled && $result && ($a_cached_headers = $this->get_cache($cache_key)))
       {
-      // close and re-open connection      
+      // close and re-open connection
       $this->reconnect();
 
       foreach ($uids as $uid)

--
Gitblit v1.9.1