AA-Modal-Template.php
4 months ago
after-logs-sent.php
4 months ago
backup-progress-modal.php
4 months ago
backup-success-modal.php
4 months ago
bb-disconnect-modal.php
4 months ago
bb-warning-notice.php
4 months ago
before-update-confirm-modal.php
4 months ago
bfs-modal.php
4 months ago
delete-confirm-modal.php
4 months ago
error-modal.php
4 months ago
freeze-loading.php
4 months ago
logs-modal.php
4 months ago
logs-sharing-ask.php
4 months ago
pre-restore-modal.php
4 months ago
prenotice-modal.php
4 months ago
reset-confirm-modal.php
4 months ago
restore-parts-modal.php
4 months ago
restore-progress-modal.php
4 months ago
restore-success-modal.php
4 months ago
staging-delete-confirm-modal.php
4 months ago
staging-error-modal.php
4 months ago
staging-prenotice-modal.php
4 months ago
staging-progress-modal.php
4 months ago
staging-rename-modal.php
4 months ago
staging-success-modal.php
4 months ago
supportive-restore-success-cont.php
4 months ago
supportive-restore-success-modal.php
4 months ago
upload-exist-file-modal.php
4 months ago
upload-invalid-manifest-modal.php
4 months ago
upload-success-modal.php
4 months ago
upload-wrong-file-modal.php
4 months ago
supportive-restore-success-modal.php
66 lines
| 1 | <?php |
| 2 | |
| 3 | // Namespace |
| 4 | namespace BMI\Plugin\Dashboard; |
| 5 | |
| 6 | // Exit on direct access |
| 7 | if (!defined('ABSPATH')) exit; |
| 8 | |
| 9 | |
| 10 | $ctl = __("Your account on Wordpress.org (where you open a new support thread) is different to the one you login to your WordPress dashboard (where you are now). If you don’t have a WordPress.org account yet, please sign up at the top right on the Support Forum page, and then scroll down on that page . It only takes a minute :) Thank you!", 'backup-backup'); |
| 11 | $forumText= __("<b>PLEASE help us to improve the plugin</b> by opening a new thread %s1in the forum%s2 and copy the following logs:", 'backup-backup'); |
| 12 | $forumText = str_replace( |
| 13 | ['%s1', '%s2'], |
| 14 | ['<a href="https://wordpress.org/support/plugin/backup-backup/" target="_blank">', '</a>'], |
| 15 | $forumText |
| 16 | ); |
| 17 | |
| 18 | ?> |
| 19 | |
| 20 | <div class="bmi-modal bmi-modal-no-close" id="supportive-restore-success-modal"> |
| 21 | |
| 22 | <div class="bmi-modal-wrapper no-hpad" style="max-width: 775px; max-width: min(775px, 80vw)"> |
| 23 | <div class="bmi-modal-content center"> |
| 24 | |
| 25 | <img class="mtl" src="<?php echo esc_url( $this->get_asset('images', 'happy-smile.png') ); ?>" alt="success"> |
| 26 | <div class="mm60 f35 bold black mbl mtll"><?php esc_html_e('Restore successful!', 'backup-backup') ?></div> |
| 27 | |
| 28 | <div class="mbl f18 lh25 mm60 align-left mtl"> |
| 29 | <?php esc_html_e("The restore was 100% successful, however we noticed some optimization potential (to enhance the speed).", 'backup-backup'); ?><br> |
| 30 | </div> |
| 31 | <div class="mbl f18 lh25 mm60 align-left"> |
| 32 | <?php echo wp_kses_post( $forumText ); ?> |
| 33 | </div> |
| 34 | |
| 35 | <div class="log-wrapper"> |
| 36 | <div class="restore-log-wrapper"> |
| 37 | <textarea id="restore-log" readonly></textarea> |
| 38 | </div> |
| 39 | |
| 40 | <div class="copy-logs-wrapper"> |
| 41 | <a href="#" class="btn inline btn-pad bmi-copper othersec mm30 restore-log" data-copy="restore-log"> |
| 42 | <div class="f15 semibold"><?php esc_html_e('Copy logs', 'backup-backup') ?></div> |
| 43 | </a> |
| 44 | </div> |
| 45 | <div class="trouble-logging-into-forum align-left"> |
| 46 | <span class="tooltip hoverable info-cursor f14" tooltip="<?php echo esc_attr( $ctl ); ?>"> |
| 47 | <a href="https://wordpress.org/support/plugin/backup-backup/" target="_blank"> |
| 48 | <?php echo wp_kses_post( __( "Trouble logging<br>into the forum?", 'backup-backup' ) ); ?> |
| 49 | </a> |
| 50 | </span> |
| 51 | </div> |
| 52 | |
| 53 | </div> |
| 54 | |
| 55 | |
| 56 | <div> |
| 57 | <div class="mm mtl mbl lh30"> |
| 58 | <a href="#" class="btn shared-log-after-restore"><?php esc_html_e("Done", 'backup-backup'); ?></a> |
| 59 | </div> |
| 60 | <a class="lh22 f15 skip-share-logs-after-restore" href="#"><?php esc_html_e("Skip", 'backup-backup'); ?></a> |
| 61 | |
| 62 | </div> |
| 63 | </div> |
| 64 | |
| 65 | </div> |
| 66 | </div> |