diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-06-06 12:54:04 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-06-06 12:54:04 +0200 |
commit | 709ccc08f5f3a9fa6e1a233d57a1d4e267d2e8cb (patch) | |
tree | 4106b5b44a80f4efddbf9c06d64d41ff81d8f717 | |
parent | a5fe9a651f487891cda219d6fe7c62917908ab99 (diff) | |
parent | 4a9a0e1f0fc1977e067806e49b7ce5fa8c47dab5 (diff) |
Merge pull request #195 from dpc22/folder_realnames
Use show_real_foldernames in folder_selector().
-rw-r--r-- | program/include/rcmail.php | 3 | ||||
-rw-r--r-- | program/steps/settings/edit_folder.inc | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 1a227927e..f4689215c 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -1325,7 +1325,8 @@ class rcmail extends rcube */ public function folder_selector($p = array()) { - $p += array('maxlength' => 100, 'realnames' => false, 'is_escaped' => true); + $realnames = $this->config->get('show_real_foldernames'); + $p += array('maxlength' => 100, 'realnames' => $realnames, 'is_escaped' => true); $a_mailboxes = array(); $storage = $this->get_storage(); diff --git a/program/steps/settings/edit_folder.inc b/program/steps/settings/edit_folder.inc index c61ac6da9..30a187fc4 100644 --- a/program/steps/settings/edit_folder.inc +++ b/program/steps/settings/edit_folder.inc @@ -135,7 +135,6 @@ function rcmail_folder_form($attrib) 'id' => '_parent', 'name' => '_parent', 'noselection' => '---', - 'realnames' => false, 'maxlength' => 150, 'unsubscribed' => true, 'skip_noinferiors' => true, |