AA-Modal-Template.php
2 years ago
after-logs-sent.php
2 years ago
backup-error-modal.php
2 years ago
backup-progress-modal.php
2 years ago
backup-success-modal.php
2 years ago
bfs-modal.php
2 years ago
delete-confirm-modal.php
2 years ago
freeze-loading.php
2 years ago
logs-sharing-ask.php
2 years ago
pre-restore-modal.php
2 years ago
prenotice-modal.php
2 years ago
reset-confirm-modal.php
2 years ago
restore-error-modal.php
2 years ago
restore-progress-modal.php
2 years ago
restore-success-modal.php
2 years ago
staging-delete-confirm-modal.php
2 years ago
staging-error-modal.php
2 years ago
staging-prenotice-modal.php
2 years ago
staging-progress-modal.php
2 years ago
staging-rename-modal.php
2 years ago
staging-success-modal.php
2 years ago
upload-exist-file-modal.php
2 years ago
upload-invalid-manifest-modal.php
2 years ago
upload-success-modal.php
2 years ago
upload-wrong-file-modal.php
2 years ago
restore-error-modal.php
62 lines
| 1 | <?php |
| 2 | |
| 3 | // Namespace |
| 4 | namespace BMI\Plugin\Dashboard; |
| 5 | |
| 6 | // Exit on direct access |
| 7 | if (!defined('ABSPATH')) exit; |
| 8 | |
| 9 | $restoreErrorInstruction = __('Please click on the button below to enable us to investigate.', 'backup-backup'); |
| 10 | |
| 11 | $messageRestoreError1 = __("That's unusual! But no worries – we're happy to look into it,%s3and fix it for you (%s1for free!%s2)", 'backup-backup'); |
| 12 | $messageRestoreError1 = str_replace('%s1', '<b>', $messageRestoreError1); |
| 13 | $messageRestoreError1 = str_replace('%s2', '</b>', $messageRestoreError1); |
| 14 | $messageRestoreError1 = str_replace('%s3', '<br>', $messageRestoreError1); |
| 15 | |
| 16 | $bmiTroubleshootingLogShareInfo = __("You'll share: Website URL, %s1restore logs%s2, our plugin logs & configuration, basic data about your site.", 'backup-backup'); |
| 17 | $bmiTroubleshootingLogShareInfo2 = __("No confidential data such as email gets shared.", 'backup-backup'); |
| 18 | |
| 19 | $bmiTroubleshootingLogShareInfo = str_replace('%s1', '<a href="#" class="download-restore-log-url hoverable secondary" download="restore_logs.txt">', $bmiTroubleshootingLogShareInfo); |
| 20 | $bmiTroubleshootingLogShareInfo = str_replace('%s2', '</a>', $bmiTroubleshootingLogShareInfo); |
| 21 | |
| 22 | ?> |
| 23 | |
| 24 | <div class="bmi-modal" id="restore-error-modal"> |
| 25 | |
| 26 | <div class="bmi-modal-wrapper no-hpad" style="max-width: 900px; max-width: min(900px, 80vw)"> |
| 27 | <a href="#" class="bmi-modal-close">×</a> |
| 28 | <div class="bmi-modal-content center"> |
| 29 | |
| 30 | <div class="mm60 f30 bold black flex flexcenter mb"> |
| 31 | <img src="<?php echo $this->get_asset('images', 'red-cross.svg'); ?>" alt="red-cross" width="110px"> |
| 32 | <?php _e('Restore failed', 'backup-backup') ?> |
| 33 | </div> |
| 34 | |
| 35 | <div class="mm60 f22 lh28"> |
| 36 | <?php echo $messageRestoreError1; ?> |
| 37 | </div> |
| 38 | |
| 39 | <div class="mm60 f22 mbl mtl lh28"> |
| 40 | <?php echo $restoreErrorInstruction; ?> |
| 41 | </div> |
| 42 | |
| 43 | <div class="mm60"> |
| 44 | <a class="btn inline semibold mm60 f16 bmi-send-troubleshooting-logs" href="#!" target="_blank"> |
| 45 | <?php _e('Share debug infos with BackupBliss team', 'backup-backup') ?> |
| 46 | </a> |
| 47 | </div> |
| 48 | |
| 49 | <div class="mm60 f16 lh28 mtl"> |
| 50 | <?php echo $bmiTroubleshootingLogShareInfo; ?><br> |
| 51 | <?php echo $bmiTroubleshootingLogShareInfo2; ?> |
| 52 | </div> |
| 53 | |
| 54 | <div class="mm60 f18 center mb mtl"> |
| 55 | <a href="#" class="bmi-modal-closer text-muted" data-close="restore-error-modal"><?php _e('Close window', 'backup-backup') ?></a> |
| 56 | </div> |
| 57 | |
| 58 | </div> |
| 59 | </div> |
| 60 | |
| 61 | </div> |
| 62 |