PluginProbe ʕ •ᴥ•ʔ
Backup Migration / 2.1.2
Backup Migration v2.1.2
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 / error-modal.php
backup-backup / includes / dashboard / modals Last commit date
AA-Modal-Template.php 3 months ago after-logs-sent.php 3 months ago backup-progress-modal.php 3 months ago backup-success-modal.php 3 months ago bb-disconnect-modal.php 3 months ago bb-warning-notice.php 3 months ago before-update-confirm-modal.php 3 months ago bfs-modal.php 3 months ago delete-confirm-modal.php 3 months ago error-modal.php 3 months ago freeze-loading.php 3 months ago logs-modal.php 3 months ago logs-sharing-ask.php 3 months ago pre-restore-modal.php 3 months ago prenotice-modal.php 3 months ago reset-confirm-modal.php 3 months ago restore-parts-modal.php 3 months ago restore-progress-modal.php 3 months ago restore-success-modal.php 3 months ago staging-delete-confirm-modal.php 3 months ago staging-error-modal.php 3 months ago staging-prenotice-modal.php 3 months ago staging-progress-modal.php 3 months ago staging-rename-modal.php 3 months ago staging-success-modal.php 3 months ago supportive-restore-success-cont.php 3 months ago supportive-restore-success-modal.php 3 months ago upload-exist-file-modal.php 3 months ago upload-invalid-manifest-modal.php 3 months ago upload-success-modal.php 3 months ago upload-wrong-file-modal.php 3 months ago
error-modal.php
120 lines
1 <?php
2
3 // Namespace
4 namespace BMI\Plugin\Dashboard;
5 use BMI\Plugin\Checker\Compatibility;
6
7
8 // Exit on direct access
9 if (!defined('ABSPATH')) exit;
10
11 $debugSectionStatment = __('For more details, %s1see%s2 or %s3download%s4 the logs. Maybe you (or your webmaster) can fix it yourself based on those pointers?','backup-backup');
12 $debugSectionStatment = str_replace(
13 ['%s1', '%s2', '%s3', '%s4'],
14 [
15 '<a href="#" class="link open-logs-modal-url">',
16 '</a>',
17 '<a href="#" class="link download-log-url censored" download="secure-log.txt">',
18 '</a>',
19 ],
20 $debugSectionStatment
21 );
22
23 $sharingLogStatment= __("%s1You'll share:%s2 Website URL, %s3logs%s4, our plugin logs & configuration, basic data about your site. No confidential data such as email gets shared.", 'backup-backup');
24 $sharingLogStatment = str_replace(
25 ['%s1','%s2','%s3','%s4'],
26 [
27 '<b>',
28 '</b>',
29 '<a href="#" class="nlink secondary hoverable open-logs-modal-url">',
30 '</a>'
31 ],
32 $sharingLogStatment
33 );
34
35 $diskSpaceCheckStatment = __('Click %s1here%s2 to check if you have enough space to create your backup.', 'backup-backup');
36 $diskSpaceCheckStatment = str_replace(
37 ['%s1', '%s2'],
38 [
39 '<a href="#" class="link bmi-check-disk-space">',
40 '</a>'
41 ],
42 $diskSpaceCheckStatment
43 );
44
45
46 ?>
47
48 <div class="bmi-modal" id="error-modal">
49
50 <div class="bmi-modal-wrapper no-hpad" style="max-width: 780px; max-width: min(780px, 80vw); padding-top: 25px;">
51 <a href="#" class="bmi-modal-close npt">×</a>
52 <div class="bmi-modal-content center">
53
54 <div class="mm60 f30 bold black mb flex flexcenter">
55 <img src="<?php echo esc_url( $this->get_asset('images', 'red-cross.svg') ); ?>" alt="red-cross" width="78px">
56 <span class="modal-title"></span>
57 </div>
58
59 <div class="failure-options-container">
60 <div class="cf lh30">
61 <div class="left mm30 f20" style="margin-bottom:20px">
62 <?php esc_html_e("However, no reason to despair! Your option(s):","backup-backup"); ?>
63 </div>
64 </div>
65 <!-- OPTION 1: Try it in a different way -->
66 <div class="collapser failure-option shadow" group="failure-option">
67 <div class="header f20 pointer transition flex bold">
68 <span class="right-arrow"></span>
69 <span class="option-title">
70 <?php esc_html_e('Try it in a different way','backup-backup'); ?>
71 </span>
72 </div>
73 <div class="content save-action f18 flex mm30 pbl" >
74 <?php esc_html_e('The plugin also offers an alternative method. It might be a bit slower, but it\'s worth trying.', 'backup-backup');?>
75 <a class="try-in-different-way mtll btn"><?php echo esc_html(__('Yes sure, please try!','backup-backup')); ?></a>
76 </div>
77 </div>
78
79 <!-- OPTION 2: Debug it yourself -->
80 <div class="collapser failure-option shadow debug-it-yourself" group="failure-option">
81 <div class="header f20 pointer transition flex bold">
82 <span class="right-arrow"></span>
83 <span class="option-title">
84 <?php esc_html_e('Debug it yourself','backup-backup'); ?>
85 </span>
86 </div>
87 <div class="content save-action f18 flex mm30 pbl" >
88 <span class="there-are-reasons"><?php esc_html_e('Based on what we observed, the issue could be one of those:','backup-backup');?></span>
89 <span class="there-is-a-reason"><?php esc_html_e('Based on what we observed, the issue could be:','backup-backup');?></span>
90 <?php if (current_user_can('manage_options') && current_user_can('administrator')): ?>
91 <ul class="failure-reasons">
92 </ul>
93 <?php endif; ?>
94 <?php echo wp_kses_post( $debugSectionStatment ); ?>
95 <span class="there-are-reasons"><?php esc_html_e(' If not:','backup-backup'); ?></span>
96 <span class="there-are-no-reasons"><br><br><?php esc_html_e('If you still struggle, feel free to contact us, we will help!','backup-backup'); ?></span>
97 </div>
98 </div>
99
100 <!-- OPTION 3: Ask us! -->
101 <div class="collapser failure-option shadow" group="failure-option">
102 <div class="header f20 pointer transition flex bold">
103 <span class="right-arrow"></span>
104 <span class="option-title">
105 <?php esc_html_e('Ask us!','backup-backup'); ?>
106 </span>
107 <span class="its-free"></span>
108 </div>
109 <div class="content save-action f18 flex mm30 pbl" >
110 <?php esc_html_e('We\'re happy to look into it for you! Please click on the button below to send us the required debug infos:','backup-backup');?>
111 <a class="btn center bmi-send-troubleshooting-logs" href="#" ><?php esc_html_e('Share debug infos with BackupBliss team', 'backup-backup');?></a>
112 <span class="f16"><?php echo wp_kses_post( $sharingLogStatment ); ?></span>
113 </div>
114 </div>
115 </div>
116 </div>
117 </div>
118
119 </div>
120