Merge pull request #195 from dpc22/folder_realnames

Use show_real_foldernames in folder_selector().
pull/196/head
Aleksander Machniak 11 years ago
commit 709ccc08f5

@ -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();

@ -135,7 +135,6 @@ function rcmail_folder_form($attrib)
'id' => '_parent',
'name' => '_parent',
'noselection' => '---',
'realnames' => false,
'maxlength' => 150,
'unsubscribed' => true,
'skip_noinferiors' => true,

Loading…
Cancel
Save