PluginProbe ʕ •ᴥ•ʔ
Backup Migration / 1.3.0
Backup Migration v1.3.0
2.1.6 2.1.5.2 trunk 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.6.1 1.4.7 1.4.8 1.4.9 1.4.9.1 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.5.1
backup-backup / includes / dashboard / modals / backup-error-modal.php
backup-backup / includes / dashboard / modals Last commit date
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
backup-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 $backupErrorInstruction = __('Please click on the button below to enable us to investigate.', 'backup-backup');
10
11 $messageBackupError1 = __("That's unusual! But no worries – we're happy to look into it,%s3and fix it for you (%s1for free!%s2)", 'backup-backup');
12 $messageBackupError1 = str_replace('%s1', '<b>', $messageBackupError1);
13 $messageBackupError1 = str_replace('%s2', '</b>', $messageBackupError1);
14 $messageBackupError1 = str_replace('%s3', '<br>', $messageBackupError1);
15
16 $bmiTroubleshootingLogShareInfo = __("You'll share: Website URL, %s1backup 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-backup-log-url hoverable secondary" download="backup_logs.txt">', $bmiTroubleshootingLogShareInfo);
20 $bmiTroubleshootingLogShareInfo = str_replace('%s2', '</a>', $bmiTroubleshootingLogShareInfo);
21
22 ?>
23
24 <div class="bmi-modal" id="backup-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 mb">
31 <div class="mb"><?php _e('There were some hick-ups...', 'backup-backup') ?></div>
32 <img src="<?php echo $this->get_asset('images', 'x-face.png'); ?>" alt="red-cross" width="110px">
33 </div>
34
35 <div class="mm60 f22 lh28">
36 <?php echo $messageBackupError1; ?>
37 </div>
38
39 <div class="mm60 f22 mbl mtl lh28">
40 <?php echo $backupErrorInstruction; ?>
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="backup-error-modal"><?php _e('Close window', 'backup-backup') ?></a>
56 </div>
57
58 </div>
59 </div>
60
61 </div>
62