????
| Current Path : /home2/morganrand/.trash/js_composer/include/templates/editors/partials/ |
| Current File : /home2/morganrand/.trash/js_composer/include/templates/editors/partials/vc_welcome_block.tpl.php |
<div id="vc_no-content-helper" class="vc_welcome">
<span class="icon"></span>
<h5><?php _e( 'Welcome to Blank Page, You Have No Content Yet!', 'js_composer' ) ?></h5>
<h3><?php _e( ' Add Some Content or Use Predefined Layouts...', 'js_composer' ) ?></h3>
<div class="vc_buttons">
<a id="vc_not-empty-add-element" class="vc_add-element-not-empty-button vc_add-element-action"
title="<?php _e( 'Add Element', 'js_composer' ) ?>"></a><a id="vc_no-content-add-element"
class="vc_add-element-button vc_add-element-action vc_btn vc_btn-grace vc_btn-md vc_btn_3d"
href="#"
title="<?php _e( 'Add Element', 'js_composer' ) ?>"><?php _e( 'Add Element', 'js_composer' ) ?></a><?php
if ( vc_mapper()->userHasAccess( 'vc_column_text' ) ):
?><a
id="vc_no-content-add-text-block" class="vc_add-text-block-button vc_btn vc_btn-sky vc_btn-md vc_btn_3d"
href="#"
title="<?php _e( 'Add Text Block', 'js_composer' ) ?>"><?php _e( 'Add Text Block', 'js_composer' ) ?></a><?php endif ?>
</div>
<?php
$total_templates = visual_composer()->templatesPanelEditor()->loadDefaultTemplates();
$templates_total_count = count( $total_templates );
$templates = apply_filters( 'vc_load_default_templates_welcome_block', $total_templates );
?>
<?php if ( is_array( $templates ) && ! empty( $templates ) ): ?>
<div class="vc_default-templates-separator vc_element vc_vc_text_separator">
<div class="vc_separator vc_sep_dashed vc_separator_align_center vc_el_width_100 vc_sep_color_outline_grey">
<span class="vc_sep_holder vc_sep_holder_l"><span class="vc_sep_line"></span></span>
<h4 class="normal"><?php _e( 'Choose Your Layout', 'js_composer' ) ?></h4><span
class="vc_sep_holder vc_sep_holder_r"><span class="vc_sep_line"></span></span>
</div>
</div>
<div class="vc_default-templates">
<div class="wpb_row vc_row-fluid">
<?php foreach ( $templates as $key => $template ): ?>
<?php if ( isset( $template['show_on_welcome_block'] ) && false === $template['show_on_welcome_block'] ) {
continue;
} ?>
<div
class="vc_template<?php if ( isset( $template['custom_class'] ) && strlen( trim( $template['custom_class'] ) ) > 0 ): echo ' ' . $template['custom_class']; endif; ?>"
data-template_type="default_templates" data-template_unique_id="<?php echo $key; ?>">
<div class="wpb_wrapper">
<div class="wpb_single_image">
<div class="wpb_wrapper">
<div
class="vc_templates-image"<?php if ( isset( $template['image_path'] ) ): ?> style="background-image:url('<?php echo $template['image_path']; ?>');"<?php endif ?>></div>
</div>
</div>
<div class="wpb_text_column">
<div class="wpb_wrapper">
<p><?php echo $template['name']; ?></p>
</div>
</div>
</div>
</div>
<?php endforeach; ?>
<?php if ( $templates_total_count != count( $templates ) ): ?>
<div class="vc_default-templates-more-layouts"><a
class="vc_btn vc_btn-md vc_btn_3d vc_btn_more-layouts"
id="vc_templates-more-layouts"><?php echo __( 'More Layouts', 'js_composer' ); ?></a></div>
<?php endif ?>
</div>
</div>
<?php endif ?>
</div>