Commit realizado el 12:13:52 08-04-2024
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Admin/LiteConnect Challenge popup footer Education template for Lite.
|
||||
*
|
||||
* @since 1.7.4
|
||||
*
|
||||
* @var string $toggle Enable Entry backups toggle markup.
|
||||
* @var bool $is_enabled Is backup entry enabled?
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div id="wpforms-challenge-popup-lite-connect" class="wpforms-education-lite-connect-wrapper wpforms-challenge-popup-footer">
|
||||
<h3>
|
||||
<?php esc_html_e( 'One More Thing', 'wpforms-lite' ); ?>
|
||||
<img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/lite-connect/raised-hand.png' ); ?>" alt="">
|
||||
</h3>
|
||||
<p>
|
||||
<?php esc_html_e( 'WPForms now offers offsite backups for your form entries. If you decide to upgrade to WPForms Pro, you can restore entries collected while you used WPForms Lite.', 'wpforms-lite' ); ?>
|
||||
</p>
|
||||
<hr>
|
||||
<div class="wpforms-education-lite-connect-setting <?php echo $is_enabled ? 'wpforms-hidden' : ''; ?>">
|
||||
<?php echo $toggle; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
||||
</div>
|
||||
<div class="wpforms-education-lite-connect-enabled-info <?php echo ! $is_enabled ? 'wpforms-hidden' : ''; ?>">
|
||||
<img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/lite-connect/check-circle.svg' ); ?>" alt="">
|
||||
<?php esc_html_e( 'Form Entry Backups Are Enabled', 'wpforms-lite' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* Admin/LiteConnect Dashboard Widget before Education template for Lite.
|
||||
*
|
||||
* @since 1.7.4
|
||||
*
|
||||
* @var string $toggle Enable Entry backups toggle markup.
|
||||
* @var bool $is_enabled Is backup entry enabled?
|
||||
* @var string $entries_since_info Entries information string.
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div id="wpforms-dash-widget-lite-connect-block" class="wpforms-dash-widget-block wpforms-education-lite-connect-wrapper">
|
||||
<div class="wpforms-education-lite-connect-setting <?php echo $is_enabled ? 'wpforms-hidden' : ''; ?>">
|
||||
<?php echo $toggle; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
||||
</div>
|
||||
<div class="wpforms-education-lite-connect-enabled-info <?php echo ! $is_enabled ? 'wpforms-hidden' : ''; ?>">
|
||||
<img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/lite-connect/info-circle.svg' ); ?>" alt="">
|
||||
<span><?php echo esc_html( $entries_since_info ); ?></span>
|
||||
<a href="<?php echo esc_url( wpforms_admin_upgrade_link( 'dashboard-widget', 'restore-entries' ) ); ?>" target="_blank" rel="noopener noreferrer" class="wpforms-upgrade-modal">
|
||||
<?php esc_html_e( 'Restore Form Entries', 'wpforms-lite' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user