@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | if ($checkUserAccess->checkSession() === false || $checkUserAccess->userAccessPage('import') === false) { |
| 73 | 73 | // Not allowed page |
| 74 | 74 | $session->set('system-error_code', ERR_NOT_ALLOWED); |
| 75 | - include $SETTINGS['cpassman_dir'] . '/error.php'; |
|
| 75 | + include $SETTINGS['cpassman_dir'].'/error.php'; |
|
| 76 | 76 | exit; |
| 77 | 77 | } |
| 78 | 78 | ?> |
@@ -511,7 +511,7 @@ discard block |
||
| 511 | 511 | const errorMessages = JSON.parse(response.message); |
| 512 | 512 | let errorHtml = '<ul>'; |
| 513 | 513 | errorMessages.forEach(function(error) { |
| 514 | - errorHtml += '<li><?php echo $lang->get('import_error_folder_creation');?> "<b>'+error.errorPath+'</b>": '+error.errorMessage+'</li>'; |
|
| 514 | + errorHtml += '<li><?php echo $lang->get('import_error_folder_creation'); ?> "<b>'+error.errorPath+'</b>": '+error.errorMessage+'</li>'; |
|
| 515 | 515 | }); |
| 516 | 516 | |
| 517 | 517 | $('#import-feedback-progress-text').html( |
@@ -994,7 +994,7 @@ discard block |
||
| 994 | 994 | // Isolate first item |
| 995 | 995 | if (itemsList.length > 0) { |
| 996 | 996 | $('#import-feedback-progress-text') |
| 997 | - .html('<i class="fa-solid fa-cog fa-spin ml-4 mr-2"></i><?php echo $lang->get('operation_progress');?> ('+((counter*100)/itemsNumber).toFixed(2)+'%) - <i id="item-title"></i>'); |
|
| 997 | + .html('<i class="fa-solid fa-cog fa-spin ml-4 mr-2"></i><?php echo $lang->get('operation_progress'); ?> ('+((counter*100)/itemsNumber).toFixed(2)+'%) - <i id="item-title"></i>'); |
|
| 998 | 998 | |
| 999 | 999 | // XSS Filtering : |
| 1000 | 1000 | //$('#import-feedback-progress-text').text(itemsList[0].Title); |
@@ -28,8 +28,8 @@ |
||
| 28 | 28 | * @see https://www.teampass.net |
| 29 | 29 | */ |
| 30 | 30 | |
| 31 | - // TO REMOVE |
|
| 32 | - // - selected_items_to_be_imported |
|
| 31 | + // TO REMOVE |
|
| 32 | + // - selected_items_to_be_imported |
|
| 33 | 33 | |
| 34 | 34 | return array( |
| 35 | 35 | 'import_error_folder_creation' => 'Error while creating folder', |