• File: fusion-checklist.php
  • Full Path: /home/docteuh/www/01/templates/fusion-checklist.php
  • Date Modified: 11/20/2023 6:12 PM
  • File size: 873 bytes
  • 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_checklist-shortcode">
<ul {{{ _.fusionGetAttributes( checklistShortcode ) }}}></ul>
</script>

<script type="text/html" id="tmpl-fusion_li_item-shortcode">
<span {{{ _.fusionGetAttributes( checklistShortcodeSpan ) }}}>
	<# if ( 'numbered' === parentValues.type ) { #>
		{{counter}}
	<# } else { #>
		<i {{{ _.fusionGetAttributes( checklistShortcodeIcon ) }}}></i>
	<# } #>
</span>
<#
		let itemContent = FusionPageBuilderApp.renderContent( output, cid, false );

		if ( usingDynamicParent ) {
			itemContent = '<?php esc_html_e( 'This checklist use dynamic data.  For a preview please check the front-end.', 'fusion-builder' ); ?>';
		}
#>
<div {{{ _.fusionGetAttributes( checklistShortcodeItemContent ) }}}>{{{ itemContent }}}</div>
</script>