diff options
Diffstat (limited to 'plugins/archive')
-rw-r--r-- | plugins/archive/archive.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/archive/archive.php b/plugins/archive/archive.php index 38b4f9fcb..7a81606ab 100644 --- a/plugins/archive/archive.php +++ b/plugins/archive/archive.php @@ -41,7 +41,7 @@ class archive extends rcube_plugin 'domain' => $this->ID, ), 'toolbar'); - + // register hook to localize the archive folder $this->add_hook('render_mailboxlist', array($this, 'render_mailboxlist')); @@ -75,10 +75,10 @@ class archive extends rcube_plugin { $rcmail = rcmail::get_instance(); $archive_folder = $rcmail->config->get('archive_mbox'); - $localize_name = $rcmail->config->get('archive_localize_name', true); + $show_real_name = $rcmail->config->get('show_real_foldernames'); // set localized name for the configured archive folder - if ($archive_folder && $localize_name) { + if ($archive_folder && !$show_real_name) { if (isset($p['list'][$archive_folder])) $p['list'][$archive_folder]['name'] = $this->gettext('archivefolder'); else // search in subfolders |