Thomas Bruederli
2014-03-09 1394025bdf0e85dc0c14bf55b0285023653fc3f6
Re-arrange buttons in import dialog to match the rest of the appplication
1 files modified
7 ■■■■■ changed files
program/steps/addressbook/import.inc 7 ●●●●● patch | view | raw | blame | history
program/steps/addressbook/import.inc
@@ -308,10 +308,11 @@
        $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;