- Timestamp:
- 06/28/19 13:54:48 (6 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/importExport/inc/class.dc.import.flat.php
r3874 r3993 151 151 152 152 echo 153 '<script type="text/javascript">' . "\n" . 154 dcPage::jsVar('dotclear.msg.confirm_full_import', 155 __('Are you sure you want to import a full backup file?')) . 156 "$(function() {" . 157 "$('#up_single_file').change(function() { " . 158 "if (this.value != '') { $('#public_single_file').val(''); } " . 159 "}); " . 160 "$('#public_single_file').change(function() { " . 161 "if (this.value != '') { $('#up_single_file').val(''); } " . 162 "}); " . 163 "$('#up_full_file').change(function() { " . 164 "if (this.value != '') { $('#public_full_file').val(''); } " . 165 "}); " . 166 "$('#public_full_file').change(function() { " . 167 "if (this.value != '') { $('#up_full_file').val(''); } " . 168 "}); " . 169 "$('#formfull').submit(function() { " . 170 "return window.confirm(dotclear.msg.confirm_full_import); " . 171 "}); " . 172 "});\n" . 173 "</script>\n"; 174 153 dcPage::jsJson('ie_import_flat_msg', 154 ['confirm_full_import' => __('Are you sure you want to import a full backup file?')]) . 155 dcPage::jsLoad(dcPage::getPF('importExport/js/import_flat.js')); 175 156 echo 176 157 '<form action="' . $this->getURL(true) . '" method="post" enctype="multipart/form-data" class="fieldset">' .
Note: See TracChangeset
for help on using the changeset viewer.