|
|
|
@ -193,16 +193,16 @@ class rcube_install
|
|
|
|
|
$value = '%p';
|
|
|
|
|
}
|
|
|
|
|
else if ($prop == 'default_folders') {
|
|
|
|
|
$value = array();
|
|
|
|
|
foreach ($this->config['default_folders'] as $_folder) {
|
|
|
|
|
switch ($_folder) {
|
|
|
|
|
case 'Drafts': $_folder = $this->config['drafts_mbox']; break;
|
|
|
|
|
case 'Sent': $_folder = $this->config['sent_mbox']; break;
|
|
|
|
|
case 'Junk': $_folder = $this->config['junk_mbox']; break;
|
|
|
|
|
case 'Trash': $_folder = $this->config['trash_mbox']; break;
|
|
|
|
|
$value = array();
|
|
|
|
|
foreach ($this->config['default_folders'] as $_folder) {
|
|
|
|
|
switch ($_folder) {
|
|
|
|
|
case 'Drafts': $_folder = $this->config['drafts_mbox']; break;
|
|
|
|
|
case 'Sent': $_folder = $this->config['sent_mbox']; break;
|
|
|
|
|
case 'Junk': $_folder = $this->config['junk_mbox']; break;
|
|
|
|
|
case 'Trash': $_folder = $this->config['trash_mbox']; break;
|
|
|
|
|
}
|
|
|
|
|
if (!in_array($_folder, $value))
|
|
|
|
|
$value[] = $_folder;
|
|
|
|
|
if (!in_array($_folder, $value))
|
|
|
|
|
$value[] = $_folder;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else if (is_bool($default)) {
|
|
|
|
@ -453,8 +453,8 @@ class rcube_install
|
|
|
|
|
'0.4-beta', '0.4.2',
|
|
|
|
|
'0.5-beta', '0.5', '0.5.1',
|
|
|
|
|
'0.6-beta', '0.6',
|
|
|
|
|
'0.7-beta', '0.7', '0.7.1', '0.7.2',
|
|
|
|
|
'0.8-beta', '0.8-rc', '0.8.0',
|
|
|
|
|
'0.7-beta', '0.7', '0.7.1', '0.7.2', '0.7.3',
|
|
|
|
|
'0.8-beta', '0.8-rc', '0.8.0', '0.8.1',
|
|
|
|
|
));
|
|
|
|
|
return $select;
|
|
|
|
|
}
|
|
|
|
|