first commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Admin/NoticeBar Education template for Lite.
|
||||
*
|
||||
* @since 1.6.6
|
||||
*
|
||||
* @var string $upgrade_link Upgrade to Pro page URL.
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
||||
<div id="wpforms-notice-bar" class="wpforms-dismiss-container">
|
||||
<span class="wpforms-notice-bar-message">
|
||||
<?php
|
||||
printf(
|
||||
wp_kses(
|
||||
/* translators: %s - WPForms.com Upgrade page URL. */
|
||||
__( 'You\'re using WPForms Lite. To unlock more features consider <a href="%s" target="_blank" rel="noopener noreferrer">upgrading to Pro</a>.', 'wpforms-lite' ),
|
||||
[
|
||||
'a' => [
|
||||
'href' => [],
|
||||
'rel' => [],
|
||||
'target' => [],
|
||||
],
|
||||
]
|
||||
),
|
||||
esc_url( $upgrade_link )
|
||||
);
|
||||
?>
|
||||
</span>
|
||||
<button type="button" class="wpforms-dismiss-button" title="<?php esc_attr_e( 'Dismiss this message.', 'wpforms-lite' ); ?>" data-section="admin-notice-bar"></button>
|
||||
</div>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* Admin/Integrations item Education template for Lite.
|
||||
*
|
||||
* @since 1.6.6
|
||||
*
|
||||
* @var string $clear_slug Clear slug (without `wpforms-` prefix).
|
||||
* @var string $modal_name Name of the addon used in modal window.
|
||||
* @var string $license_level License level.
|
||||
* @var string $name Name of the addon.
|
||||
* @var string $icon Addon icon.
|
||||
* @var string $video Video URL.
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
||||
<div id="wpforms-integration-<?php echo esc_attr( $clear_slug ); ?>"
|
||||
class="wpforms-settings-provider wpforms-clear focus-out education-modal"
|
||||
data-name="<?php echo esc_attr( $modal_name ); ?>"
|
||||
data-action="upgrade"
|
||||
data-video="<?php echo esc_url( $video ); ?>"
|
||||
data-license="<?php echo esc_attr( $license_level ); ?>">
|
||||
<div class="wpforms-settings-provider-header wpforms-clear">
|
||||
<div class="wpforms-settings-provider-logo ">
|
||||
<i class="fa fa-chevron-right"></i>
|
||||
<img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/' . $icon ); ?>" alt="<?php echo esc_attr( $modal_name ); ?>">
|
||||
</div>
|
||||
<div class="wpforms-settings-provider-info">
|
||||
<h3><?php echo esc_html( $name ); ?></h3>
|
||||
<p>
|
||||
<?php
|
||||
/* translators: %s - addon name. */
|
||||
printf( esc_html__( 'Integrate %s with WPForms', 'wpforms-lite' ), esc_html( $name ) );
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user