- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
1.5 KiB
PHTML
Executable File
21 lines
1.5 KiB
PHTML
Executable File
<div class="control-grid switch mb-5<#=this.getExtraClass()#>">
|
|
<div class="fill">
|
|
<span class="switch-label"><#= TVE.icon(this.model.config.icon ? this.model.config.icon : '' ) #> <#= this.model.config.label #></span>
|
|
<# if ( this.model.config.info ) { #>
|
|
<span class="click tve-switch-info" data-fn="openTooltip" <#=this.model.config.info_hover ? 'data-paneltlt-hover' : ''#> <#= this.model.config.icontooltip ? 'data-tooltip="' + this.model.config.icontooltip + '"' : ''#> <#= this.model.config.iconside ? 'data-side="' + this.model.config.iconside + '"' : ''#>><?php tcb_icon( 'info-circle-solid' ); ?></span>
|
|
<# } #>
|
|
<# if ( this.model.config.instructions ) { #>
|
|
<span class="click" data-type="<#=this.model.config.instructions.type#>" data-url="<#=this.model.config.instructions.url#>" data-link="<#=this.model.config.instructions.link#>" data-fn="openInstructionsLightbox"><#= TVE.icon( this.model.config.instructions.type + "-instructions" ) #></span>
|
|
<# } #>
|
|
<# if ( this.model.config.tooltip ) { #>
|
|
<span class="click" data-tooltip="<#- this.model.config.tooltip #>" data-side="<#- this.model.config.tooltip_side #>"><?php tcb_icon( 'info-circle-solid' ); ?></span>
|
|
<# } #>
|
|
</div>
|
|
<div class="tcb-switch tcb-text-right">
|
|
<label>
|
|
<input class="tve-checkbox change" data-fn="check" <#= this.model.config.name? 'data-name="' + this.model.config.name + '"':'' #> type="checkbox"<#=this.model.config.checked ? ' checked' : '' #>>
|
|
<span class="tcb-lever"></span>
|
|
</label>
|
|
</div>
|
|
</div>
|