<?php
/**
 * Admin/Integrations item Education template for Pro.
 *
 * @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 $action        Action.
 * @var string $path          Plugin path.
 * @var string $nonce         Nonce.
 * @var string $url           Download URL.
 * @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="<?php echo esc_attr( $action ); ?>"
	data-path="<?php echo esc_attr( $path ); ?>"
	data-url="<?php echo esc_attr( $url ); ?>"
	data-nonce="<?php echo esc_attr( $nonce ); ?>"
	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' ), esc_html( $name ) );
				?>
			</p>
		</div>
	</div>
</div>
