| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/class-control-font-style.php.tar |
lebauwcentre/wp-content/themes/customify/inc/customizer/controls/class-control-font-style.php 0000644 00000004137 15114051000 0032045 0 ustar 00 home/xbodynamge <?php
class Customify_Customizer_Control_Font_Style extends Customify_Customizer_Control_Base {
static function field_template() {
?>
<script type="text/html" id="tmpl-field-customify-font-style">
<?php
self::before_field();
?>
<?php echo self::field_header(); ?>
<#
if ( ! _.isObject( field.value ) ) {
field.value = { };
}
#>
<div class="customify-field-settings-inner customify--font-style">
<label title="<?php esc_attr_e( 'Bold', 'customify' ); ?>" class="button <# if ( field.value.b == 1 ){ #> customify--checked <# } #>"><input type="checkbox" <# if ( field.value.b == 1 ){ #> checked="checked" <# } #> data-name="{{ field.name }}-b" value="1"><span class="dashicons dashicons-editor-bold"></span></label>
<label title="<?php esc_attr_e( 'Italic', 'customify' ); ?>" class="button <# if ( field.value.i == 1 ){ #> customify--checked <# } #>"><input type="checkbox" <# if ( field.value.i == 1 ){ #> checked="checked" <# } #> data-name="{{ field.name }}-i" value="1"><span class="dashicons dashicons-editor-italic"></span></label>
<label title="<?php esc_attr_e( 'Underline', 'customify' ); ?>" class="button <# if ( field.value.u == 1 ){ #> customify--checked <# } #>"><input type="checkbox" <# if ( field.value.u == 1 ){ #> checked="checked" <# } #> data-name="{{ field.name }}-u" value="1"><span class="dashicons dashicons-editor-underline"></span></label>
<label title="<?php esc_attr_e( 'Strikethrough', 'customify' ); ?>" class="button <# if ( field.value.s == 1 ){ #> customify--checked <# } #>"><input type="checkbox" <# if ( field.value.s == 1 ){ #> checked="checked" <# } #> data-name="{{ field.name }}-s" value="1"><span class="dashicons dashicons-editor-strikethrough"></span></label>
<label title="<?php esc_attr_e( 'Uppercase', 'customify' ); ?>" class="button <# if ( field.value.t == 1 ){ #> customify--checked <# } #>"><input type="checkbox" <# if ( field.value.t == 1 ){ #> checked="checked" <# } #> data-name="{{ field.name }}-t" value="1"><span class="dashicons dashicons-editor-textcolor"></span></label>
</div>
<?php
self::after_field();
?>
</script>
<?php
}
}