diff options
author | Andrew Dolgov <[email protected]> | 2019-02-22 10:48:56 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-02-22 10:48:56 +0300 |
commit | 335147e572c8557751c0a035647a7ad729b43674 (patch) | |
tree | ff40a4363b4f7eb3c07c06fdaed104d2c8c97214 /plugins/import_export/init.php | |
parent | e9f58427c07956898234f0459b26c74ad8b98e28 (diff) |
dialogs: use semantic markup instead of dlgsec stuff
continue unifying quoting style for html strings
Diffstat (limited to 'plugins/import_export/init.php')
-rwxr-xr-x | plugins/import_export/init.php | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/plugins/import_export/init.php b/plugins/import_export/init.php index c49426f9f..9f2aa18c4 100755 --- a/plugins/import_export/init.php +++ b/plugins/import_export/init.php @@ -437,24 +437,23 @@ class Import_Export extends Plugin implements IHandler { print "<p style='text-align : center' id='export_status_message'>You need to prepare exported data first by clicking the button below.</p>"; - print "<div align='center'>"; - print "<button dojoType=\"dijit.form.Button\" + print "<footer class='text-center'>"; + print "<button dojoType='dijit.form.Button' + type='submit' class='alt-primary' onclick=\"dijit.byId('dataExportDlg').prepare()\">". __('Prepare data')."</button>"; - print "<button dojoType=\"dijit.form.Button\" + print "<button dojoType='dijit.form.Button' onclick=\"dijit.byId('dataExportDlg').hide()\">". __('Close this window')."</button>"; - print "</div>"; - - + print "</footer>"; } function dataImport() { header("Content-Type: text/html"); # required for iframe - print "<div style='text-align : center'>"; + print "<footer class='text-center'>"; if ($_FILES['export_file']['error'] != 0) { print_error(T_sprintf("Upload failed with error code %d (%s)", @@ -486,7 +485,7 @@ class Import_Export extends Plugin implements IHandler { } } - print "<button dojoType=\"dijit.form.Button\" + print "<button dojoType='dijit.form.Button' onclick=\"dijit.byId('dataImportDlg').hide()\">". __('Close this window')."</button>"; |