• File: fusion-modal.php
  • Full Path: /home/docteuh/www/plugins/fusion-builder/front-end/templates/fusion-modal.php
  • Date Modified: 11/20/2023 6:12 PM
  • File size: 1021 B
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/**
 * Underscore.js template
 *
 * @package fusion-builder
 * @since 2.0
 */

?>
<script type="text/html" id="tmpl-fusion_modal-shortcode">
<div class="fusion-builder-placeholder-preview">
	<i class="{{ icon }}" aria-hidden="true"></i> {{ label }} ({{ name }})
</div>
<div {{{ _.fusionGetAttributes( attrModal ) }}}>
	<div {{{ _.fusionGetAttributes( attrDialog ) }}}>
		<div {{{ _.fusionGetAttributes( attrContent ) }}}>
			<div {{{ _.fusionGetAttributes( 'modal-header' ) }}}>
				<button {{{ _.fusionGetAttributes( attrButton ) }}}>&times;</button>
				<h3 {{{ _.fusionGetAttributes( attrHeading ) }}}>{{{ title }}}</h3>
			</div>
			<div {{{ _.fusionGetAttributes( attrBody ) }}}>
				{{{ FusionPageBuilderApp.renderContent( elementContent, cid, false ) }}}
			</div>
			<# if ( 'yes' === showFooter ) { #>
				<div {{{ _.fusionGetAttributes( 'modal-footer' ) }}}>
					<button {{{ _.fusionGetAttributes( attrFooterButton ) }}}>{{{ closeText }}}</button>
				</div>
			<# } #>
		</div>
	</div>
</div>
</script>