|
|
|
@ -1403,9 +1403,10 @@ function rcmail_settings_tabs($attrib)
|
|
|
|
|
'attrib' => $attrib,
|
|
|
|
|
));
|
|
|
|
|
|
|
|
|
|
$attrib = $plugin['attrib'];
|
|
|
|
|
$tagname = $attrib['tagname'];
|
|
|
|
|
$tabs = array();
|
|
|
|
|
$selected = $RCMAIL->action ?: 'preferences';
|
|
|
|
|
$attrib = $plugin['attrib'];
|
|
|
|
|
$tagname = $attrib['tagname'];
|
|
|
|
|
$tabs = array();
|
|
|
|
|
|
|
|
|
|
foreach ($plugin['actions'] as $action) {
|
|
|
|
|
$task_action = $action['command'] ? $action['command'] : $action['action'];
|
|
|
|
@ -1434,7 +1435,7 @@ function rcmail_settings_tabs($attrib)
|
|
|
|
|
else if (!empty($cmd)) {
|
|
|
|
|
$classnames[] = $cmd;
|
|
|
|
|
}
|
|
|
|
|
if ($RCMAIL->action == $cmd) {
|
|
|
|
|
if ($cmd == $selected) {
|
|
|
|
|
$classnames[] = $attrib['selclass'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|