|
|
@ -1326,7 +1326,7 @@ class rcmail extends rcube
|
|
|
|
$msgcounts = $this->storage->get_cache('messagecount');
|
|
|
|
$msgcounts = $this->storage->get_cache('messagecount');
|
|
|
|
$collapsed = $this->config->get('collapsed_folders');
|
|
|
|
$collapsed = $this->config->get('collapsed_folders');
|
|
|
|
|
|
|
|
|
|
|
|
if ($this->config->get('show_actual_foldernames'))
|
|
|
|
if ($this->config->get('show_real_foldernames'))
|
|
|
|
$realnames = true;
|
|
|
|
$realnames = true;
|
|
|
|
|
|
|
|
|
|
|
|
$out = '';
|
|
|
|
$out = '';
|
|
|
@ -1494,7 +1494,7 @@ class rcmail extends rcube
|
|
|
|
if ($count > 1) {
|
|
|
|
if ($count > 1) {
|
|
|
|
for ($i = 0; $i < $count; $i++) {
|
|
|
|
for ($i = 0; $i < $count; $i++) {
|
|
|
|
$folder = implode($delimiter, array_slice($path, 0, -$i));
|
|
|
|
$folder = implode($delimiter, array_slice($path, 0, -$i));
|
|
|
|
if (!$this->config->get('show_actual_foldernames') &&
|
|
|
|
if (!$this->config->get('show_real_foldernames') &&
|
|
|
|
($folder_class = $this->folder_classname($folder))) {
|
|
|
|
($folder_class = $this->folder_classname($folder))) {
|
|
|
|
$name = implode($delimiter, array_slice($path, $count - $i));
|
|
|
|
$name = implode($delimiter, array_slice($path, $count - $i));
|
|
|
|
return $this->gettext($folder_class) . $delimiter . rcube_charset::convert($name, 'UTF7-IMAP');
|
|
|
|
return $this->gettext($folder_class) . $delimiter . rcube_charset::convert($name, 'UTF7-IMAP');
|
|
|
@ -1503,7 +1503,7 @@ class rcmail extends rcube
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!$this->config->get('show_actual_foldernames') &&
|
|
|
|
if (!$this->config->get('show_real_foldernames') &&
|
|
|
|
($folder_class = $this->folder_classname($name))) {
|
|
|
|
($folder_class = $this->folder_classname($name))) {
|
|
|
|
return $this->gettext($folder_class);
|
|
|
|
return $this->gettext($folder_class);
|
|
|
|
}
|
|
|
|
}
|
|
|
|