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
pre-restore-modal.php
68 lines
| 1 | <?php |
| 2 | |
| 3 | // Namespace |
| 4 | namespace BMI\Plugin\Dashboard; |
| 5 | |
| 6 | // Exit on direct access |
| 7 | if (!defined('ABSPATH')) { |
| 8 | exit; |
| 9 | } |
| 10 | |
| 11 | // Premium |
| 12 | $sellcodes = BMI_AUTHOR_URI; |
| 13 | $tooltip = str_replace('"', "'", BMI_PREMIUM_TOOLTIP); |
| 14 | |
| 15 | ?> |
| 16 | |
| 17 | <div class="bmi-modal" id="pre-restore-modal"> |
| 18 | |
| 19 | <div class="bmi-modal-wrapper no-hpad no-vpad" style="max-width: 900px; max-width: min(900px, 80vw)"> |
| 20 | <a href="#" class="bmi-modal-close">×</a> |
| 21 | <div class="bmi-modal-content"> |
| 22 | |
| 23 | <div class="prenotices"> |
| 24 | |
| 25 | <div class="prenotice red top"> |
| 26 | <div class="text bold"> |
| 27 | <?php _e('All existing folders, files & databases on this site will be overwritten and destroyed for good. *', 'backup-backup') ?> |
| 28 | </div> |
| 29 | </div> |
| 30 | |
| 31 | </div> |
| 32 | |
| 33 | <div class="mm60 center f20 mbl"> |
| 34 | <label for="restore-ok"> |
| 35 | <input type="checkbox" id="restore-ok" /> |
| 36 | <span><?php _e('Yes, I understand that. I am sound in mind.', 'backup-backup') ?></span> |
| 37 | </label> |
| 38 | </div> |
| 39 | |
| 40 | <div class="mm60 center mbl"> |
| 41 | <a href="#" class="btn max280" id="restore-start-sure"> |
| 42 | <div class="text"> |
| 43 | <div class="f20 bold"><?php _e('Start restoring!', 'backup-backup') ?></div> |
| 44 | </div> |
| 45 | </a> |
| 46 | </div> |
| 47 | |
| 48 | <div class="mm60 center mbl f18"> |
| 49 | <div class="premium-wrapper center block inline" tooltip="<?php echo $tooltip; ?>"> |
| 50 | <div class="premium premium-img"> |
| 51 | <?php _e('Only want to restore parts of the backup?', 'backup-backup') ?> |
| 52 | </div> |
| 53 | </div> |
| 54 | </div> |
| 55 | |
| 56 | <div class="mm60 f18 center mbll"> |
| 57 | <a href="#" class="bmi-modal-closer text-muted" data-close="pre-restore-modal"><?php _e('Close window & do not restore', 'backup-backup') ?></a> |
| 58 | </div> |
| 59 | |
| 60 | <div class="mm60 center mb"> |
| 61 | <?php _e('* Only those folders, files & database will be replaced which also exist in the backup file.', 'backup-backup') ?> |
| 62 | </div> |
| 63 | |
| 64 | </div> |
| 65 | </div> |
| 66 | |
| 67 | </div> |
| 68 |