Re-arrange buttons in import dialog to match the rest of the appplication

pull/181/head
Thomas Bruederli 10 years ago
parent 238c6a0f55
commit 1394025bdf

@ -308,10 +308,11 @@ function rcmail_import_buttons($attrib)
$out = $OUTPUT->button(array('command' => 'list', 'prop' => $target, 'label' => 'done') + $attrib);
}
else {
$out = $OUTPUT->button(array('command' => 'list', 'label' => 'cancel') + $attrib);
$out .= ' ';
$cancel = $OUTPUT->button(array('command' => 'list', 'label' => 'cancel') + $attrib);
$attrib['class'] = trim($attrib['class'] . ' mainaction');
$out .= $OUTPUT->button(array('command' => 'import', 'label' => 'import') + $attrib);
$out = $OUTPUT->button(array('command' => 'import', 'label' => 'import') + $attrib);
$out .= ' ';
$out .= $cancel;
}
return $out;

Loading…
Cancel
Save