?? GreyFile — Mystic File Browser

Current path: home/webdevt/www/wdp/wp-content/plugins/secretlab_shortcodes/shortcodes/live/



?? Go up: /home/webdevt/www/wdp/wp-content/plugins/secretlab_shortcodes/shortcodes

?? Viewing: kc_column.php

<#
	if( data === undefined )data = {};
	var width = '', output = '', attributes = [],
		atts = ( data.atts !== undefined ) ? data.atts : {},
		classes = kc.front.el_class( atts ),
        ssc_col_width = ( atts['ssc_col_width'] !== undefined ) ? atts['ssc_col_width'] : '';
classes.push('kc_column');

if (atts['col_class'] !== undefined)
	classes.push( atts['col_class'] );

if ('' != ssc_col_width) {
        classes.push( 'ssc-full-col' );
        classes.push( 'ssc-col-' + ssc_col_width );
    }

if (atts['css'] !== undefined && typeof atts['css'] == 'string')
	classes.push( atts['css'].split('|')[0] );
	
if( atts['col_id'] !== undefined && atts['col_id'] !== '' )
	attributes.push( 'id="'+ atts['col_id'] +'"' );
	
	
if( atts['video_bg'] !== undefined && atts['video_bg'] === 'yes' ){
	
	var video_bg_url = atts['video_bg_url'];
	
	if( atts['video_bg_url'] !== undefined ){
	
		classes.push('kc-video-bg');
		attributes.push('data-kc-video-bg="'+atts['video_bg_url']+'"');
	}
}
	
attributes.push( 'class="'+classes.join(' ')+'"' );

var col_container_class = ( atts['col_container_class'] !== undefined ) ? ' '+atts['col_container_class'] : '';

if( data.content === undefined )
	data.content = '';
	
data.content += '<div class="kc-element drag-helper" data-model="-1" droppable="true" draggable="true"><a href="javascript:void(0)" class="kc-add-elements-inner"><i class="sl-plus kc-add-elements-inner"></i></a></div>';

#><div {{{attributes.join(' ')}}}>
	<div class="kc-col-container{{col_container_class}}">{{{data.content}}}</div>
</div>


??

??