|
|
@ -1828,17 +1828,22 @@ class rcube_sieve_engine
|
|
|
|
$out .= '</div>';
|
|
|
|
$out .= '</div>';
|
|
|
|
|
|
|
|
|
|
|
|
// mailbox select
|
|
|
|
// mailbox select
|
|
|
|
if ($action['type'] == 'fileinto')
|
|
|
|
if ($action['type'] == 'fileinto') {
|
|
|
|
$mailbox = $this->mod_mailbox($action['target'], 'out');
|
|
|
|
$mailbox = $this->mod_mailbox($action['target'], 'out');
|
|
|
|
else
|
|
|
|
// make sure non-existing (or unsubscribed) mailbox is listed (#1489956)
|
|
|
|
|
|
|
|
$additional = array($mailbox);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else {
|
|
|
|
$mailbox = '';
|
|
|
|
$mailbox = '';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$select = $this->rc->folder_selector(array(
|
|
|
|
$select = $this->rc->folder_selector(array(
|
|
|
|
'realnames' => false,
|
|
|
|
'realnames' => false,
|
|
|
|
'maxlength' => 100,
|
|
|
|
'maxlength' => 100,
|
|
|
|
'id' => 'action_mailbox' . $id,
|
|
|
|
'id' => 'action_mailbox' . $id,
|
|
|
|
'name' => "_action_mailbox[$id]",
|
|
|
|
'name' => "_action_mailbox[$id]",
|
|
|
|
'style' => 'display:'.(empty($action['type']) || $action['type'] == 'fileinto' ? 'inline' : 'none')
|
|
|
|
'style' => 'display:'.(empty($action['type']) || $action['type'] == 'fileinto' ? 'inline' : 'none'),
|
|
|
|
|
|
|
|
'additional' => $additional,
|
|
|
|
));
|
|
|
|
));
|
|
|
|
$out .= $select->show($mailbox);
|
|
|
|
$out .= $select->show($mailbox);
|
|
|
|
$out .= '</td>';
|
|
|
|
$out .= '</td>';
|
|
|
|