| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/class-control-text-align-no-justify.php.tar |
wp-content/themes/customify/inc/customizer/controls/class-control-text-align-no-justify.php 0000644 00000003251 15113615651 0034137 0 ustar 00 home/xbodynamge/lebauwcentre <?php
class Customify_Customizer_Control_Text_Align_No_Justify extends Customify_Customizer_Control_Base {
static function field_template() {
echo '<script type="text/html" id="tmpl-field-customify-text_align_no_justify">';
self::before_field();
?>
<#
if ( _.isUndefined( field.no_justify ) ) {
field.no_justify = true;
}
field.no_justify = true;
var uniqueID = field.name + ( new Date().getTime() );
#>
<?php echo self::field_header(); ?>
<div class="customify-field-settings-inner">
<div class="customify-text-align">
<label><input type="radio" data-name="{{ field.name }}" value="left" <# if ( field.value == 'left' ){ #> checked="checked" <# } #> name="{{ uniqueID }}"> <span class="button"><span class="dashicons dashicons-editor-alignleft"></span></span></label>
<label><input type="radio" data-name="{{ field.name }}" value="center" <# if ( field.value == 'center' ){ #> checked="checked" <# } #> name="{{ uniqueID }}"> <span class="button"><span class="dashicons dashicons-editor-aligncenter"></span></span></label>
<label><input type="radio" data-name="{{ field.name }}" value="right" <# if ( field.value == 'right' ){ #> checked="checked" <# } #> name="{{ uniqueID }}"> <span class="button"><span class="dashicons dashicons-editor-alignright"></span></span></label>
<# if ( ! field.no_justify ) { #>
<label><input type="radio" data-name="{{ field.name }}" value="justify" <# if ( field.value == 'justify' ){ #> checked="checked" <# } #> name="{{ uniqueID }}"> <span class="button"><span class="dashicons dashicons-editor-justify"></span></span></label>
<# } #>
</div>
</div>
<?php
self::after_field();
echo '</script>';
}
}