Import legacy nurinda.co.id website

This commit is contained in:
dirga committed 2026-10-01 14:27:19 +07:00
1 parent 3f59bb9038
commit 6e21646ac4
13389 files changed
+3246690

No files matched your search

@@ -0,0 +1,27 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
?>
<!-- Modal -->
<div class="vc_general modal fade" id="vc_edit-element-dialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabelTitle"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="myModalLabelTitle"></h4>
</div>
<div class="modal-body vc_properties-list"></div>
<div class="modal-footer">
<button type="button" class="btn btn-default"
data-dismiss="modal"><?php _e( 'Close', 'js_composer' ); ?></button>
<button type="button"
class="btn btn-primary vc_save"><?php _e( 'Save Changes', 'js_composer' ); ?></button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div><!-- /.modal -->
@@ -0,0 +1,24 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
?>
<div id="vc_multi-properties-panel" class="vc_panel">
<div class="vc_panel-heading">
<a title="<?php _e( 'Close panel', 'js_composer' ); ?>" href="#" class="vc_close" data-dismiss="panel"
aria-hidden="true"><i class="icon"></i></a>
<a title="<?php _e( 'Hide panel', 'js_composer' ); ?>" href="#" class="vc_transparent" data-transparent="panel"
aria-hidden="true"><i class="icon"></i></a>
<h3 class="vc_panel-title"><?php _e( 'Edit Elements', 'js_composer' ) ?></h3>
</div>
<div class="vc_panel-body vc_properties-list">
</div>
<div class="vc_panel-footer">
<button type="button" class="vc_btn vc_panel-btn-close"
data-dismiss="panel"><?php _e( 'Close', 'js_composer' ) ?></button>
<button type="button" class="vc_btn vc_panel-btn-save vc_save"
data-save="true"><?php _e( 'Save Changes', 'js_composer' ) ?></button>
</div>
</div>
@@ -0,0 +1,24 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
?>
<div id="vc_properties-panel"
class="<?php echo esc_attr( apply_filters( 'vc_edit_form_css_class', 'vc_panel vc_shortcode-edit-form vc_media-xs' ) ) ?>">
<div class="vc_panel-heading">
<a title="<?php _e( 'Close panel', 'js_composer' ); ?>" href="#" class="vc_close" data-dismiss="panel"
aria-hidden="true"><i class="vc_icon"></i></a>
<a title="<?php _e( 'Hide panel', 'js_composer' ); ?>" href="#" class="vc_transparent" data-transparent="panel"
aria-hidden="true"><i class="vc_icon"></i></a>
<h3 class="vc_panel-title"></h3>
</div>
<div class="vc_panel-body vc_properties-list wpb-edit-form">
</div>
<div class="vc_panel-footer">
<button type="button" class="vc_btn vc_panel-btn-close vc_close vc_btn-default"
data-dismiss="panel"><?php _e( 'Close', 'js_composer' ) ?></button>
<button type="button" class="vc_btn vc_panel-btn-save vc_btn-primary"
data-save="true"><?php _e( 'Save Changes', 'js_composer' ) ?></button>
</div>
</div>
@@ -0,0 +1,190 @@
<?php
/** @var Vc_Shared_Templates $controller */
/** @var array $templates */
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
?>
<script>
window.vcTemplatesLibraryData = {
templates: <?php echo json_encode( $templates ); ?>
};
</script>
<div class="vc_ui-panel-popup vc_ui-hidden">
<?php
/*<div class="vc_ui-panel-close">
<button type="button" class="vc_general vc_ui-control-button vc_ui-panel-close-button">
<i class="vc-composer-icon vc-c-icon-arrow_back"></i>
</button>
</div> */
?>
<div class="vc_ui-panel-template-content vc_ui-panel-popup-item vc_ui-hidden">
<button type="button" class="vc_general vc_ui-control-button vc_ui-panel-close-button">
<i class="vc-composer-icon vc-c-icon-arrow_back"></i>
<span class="vc_ui-control-button-text">Exit Template Library</span>
</button>
<?php
if ( ! vc_license()->isActivated() ) :
?>
<div class="vc_ui-panel-message">
<h3 class="vc_ui-panel-title"><?php _e( 'Activate WPBakery Page Builder', 'js_composer' ); ?></h3>
<p class="vc_description"><?php _e( 'WPBakery Page Builder Template Library downloads are available for activated versions only. Activate WPBakery Page Builder direct license to access Template Library and receive other benefits.', 'js_composer' ); ?></p>
<a href="<?php echo admin_url( 'admin.php?page=vc-updater' ); ?>" target="_blank" class="vc_general vc_ui-button vc_ui-button-size-sm vc_ui-button-shape-rounded vc_ui-button-action">
<?php _e( 'Activate License', 'js_composer' ); ?>
</a>
</div>
<?php endif; ?>
<div class="vc_ui-search-box vc_ui-panel-search-box">
<div class="vc_ui-search-box-input vc_ui-panel-search">
<input type="search" id="vc_template_lib_name_filter" data-vc-template-lib-name-filter=""
placeholder="<?php _e( 'Search template by name', 'js_composer' ); ?>">
<label for="vc_template_lib_name_filter"><i class="vc-composer-icon vc-c-icon-search"></i></label>
</div>
</div>
<div class="vc_ui-panel-template-grid" id="vc_template-library-template-grid">
</div>
</div>
<div class="vc_ui-panel-template-preview vc_ui-panel-popup-item vc_ui-hidden">
<div class="vc_ui-panel-template-preview-inner">
<button type="button" class="vc_general vc_ui-control-button vc_ui-panel-back-button">
<i class="vc-composer-icon vc-c-icon-arrow_back"></i>
</button>
<h3 class="vc_ui-panel-title"></h3>
<?php if ( vc_license()->isActivated() ) : ?>
<?php
/*
<div class="vc_ui-panel-template-update vc_ui-hidden" id="vc_template-library-update">
<p class="vc_description"><?php _e( 'Update for template available.', 'js_composer' ); ?></p>
<button id="vc_template-library-update-btn" class="vc_general vc_ui-button vc_ui-button-size-sm vc_ui-button-shape-rounded vc_ui-button-action">
<?php _e( 'Update Template', 'js_composer' ); ?>
</button>
</div>
*/
?>
<div class="vc_ui-panel-template-download vc_ui-hidden" id="vc_template-library-download">
<button id="vc_template-library-download-btn" class="vc_general vc_ui-button vc_ui-button-size-sm vc_ui-button-shape-rounded vc_ui-button-action">
<?php _e( 'Download Template', 'js_composer' ); ?>
</button>
</div>
<?php endif; ?>
</div>
<div class="vc_ui-panel-preview-content">
<img class="vc_ui-panel-preview-image" src="" alt="">
</div>
</div>
<div class="vc_ui-panel-download vc_ui-panel-popup-item vc_ui-hidden">
<div class="vc_ui-panel-loading-content">
<div class="vc_preloader-box"></div>
<h3 class="vc_ui-panel-title"><?php _e( 'Downloading template ... please wait!', 'js_composer' ); ?></h3>
<p class="vc_description"><?php _e( 'Don\'t close this window until download is complete - you will
be redirected back to Template Library automatically.', 'js_composer' ); ?></p>
</div>
</div>
<?php
/*
<div class="vc_ui-panel-update vc_ui-panel-popup-item vc_ui-hidden">
<div class="vc_ui-panel-loading-content">
<div class="vc_preloader-box"></div>
<h3 class="vc_ui-panel-title"><?php _e( 'Updating template ... please wait!', 'js_composer' ); ?></h3>
<p class="vc_description"><?php _e( 'Don\'t close this window until update is complete - you will
be redirected back to Template Library automatically.', 'js_composer' ); ?></p>
</div>
</div>
*/
?>
</div>
<div class="vc_ui-panel-loading vc_ui-hidden">
<div class="vc_preloader-box"></div>
</div>
<div class="vc_ui-templates-content">
<?php
if ( vc_user_access()->part( 'templates' )->checkStateAny( true, null )->get() ) :
?>
<div class="vc_column vc_col-sm-12 vc_access-library-col">
<h3 class="vc_ui-panel-title"><?php _e( 'Download Templates', 'js_composer' ); ?></h3>
<p class="vc_description"><?php _e( 'Access WPBakery Page Builder Template Library for unique layout
templates. Download chosen templates and discover new layouts with regular template
updates from WPBakery Page Builder team.', 'js_composer' ); ?></p>
<button class="vc_general vc_ui-button vc_ui-button-size-sm vc_ui-button-shape-rounded vc_ui-button-action vc_ui-access-library-btn">
<?php _e( 'Access Library', 'js_composer' ); ?>
</button>
</div>
<?php
else :
?>
<div class="vc_column vc_col-sm-12 vc_access-library-col">
<h3 class="vc_ui-panel-title"><?php _e( 'Template library', 'js_composer' ); ?></h3>
</div>
<?php
endif;
?>
<div class="vc_column vc_col-sm-12">
<div class="vc_ui-template-list vc_templates-list-shared_templates vc_ui-list-bar" id="vc_template-library-shared_templates">
</div>
</div>
</div>
<script type="text/html" id="vc_template-item">
<div class="vc_ui-template vc_templates-template-type-shared_templates"
data-template_id="<%- post_id %>"
data-template_name="<%- title %>"
data-category="shared_templates"
data-template_type="shared_templates"
data-template_action="vc_delete_template"
data-vc-content=".vc_ui-template-content">
<div class="vc_ui-list-bar-item">
<button type="button" class="vc_ui-list-bar-item-trigger" data-template-handler data-vc-ui-element="template-title" title="<?php _e( 'Add template', 'js_composer' ); ?>"><%- title %></button>
<div class="vc_ui-list-bar-item-actions">
<button type="button" class="vc_general vc_ui-control-button" data-template-handler title="<?php _e( 'Add template', 'js_composer' ); ?>">
<i class="vc-composer-icon vc-c-icon-add"></i>
</button>
<?php
if ( vc_user_access()->part( 'templates' )->checkStateAny( true, null )->get() ) :
?>
<button type="button" class="vc_general vc_ui-control-button" data-vc-ui-delete="template-title" title="<?php _e( 'Delete template', 'js_composer' ); ?>">
<i class="vc-composer-icon vc-c-icon-delete_empty"></i>
</button>
<?php
endif;
?>
<button type="button" class="vc_general vc_ui-control-button" data-vc-preview-handler data-vc-container=".vc_ui-list-bar" data-vc-target="[data-template_id=&quot;<%- post_id %>&quot;]" title="<?php _e( 'Preview template', 'js_composer' ); ?>">
<i class="vc-composer-icon vc-c-icon-arrow_drop_down"></i>
</button>
</div>
</div>
<div class="vc_ui-template-content" data-js-content>
</div>
</div>
</script>
<script type="text/html" id="vc_template-grid-item">
<div class="vc_ui-panel-template-item vc_ui-visible" data-template-id="<%- id %>">
<span class="vc_ui-panel-template-item-content">
<img src="<%- thumbnailUrl %>" alt=""/>
<span class="vc_ui-panel-template-item-overlay">
<a href="javascript:;" class="vc_ui-panel-template-item-overlay-button vc_ui-panel-template-preview-button"
data-preview-url="<%- previewUrl %>" data-title="<%- title %>" data-template-id="<%- id %>" data-template-version="<%- version %>"><i class="vc-composer-icon vc-c-icon-search"></i></a>
<?php if ( vc_license()->isActivated() ) : ?>
<% if (!downloaded) { %>
<a href="javascript:;" class="vc_ui-panel-template-item-overlay-button vc_ui-panel-template-download-button">
<i class="vc-composer-icon vc-c-icon-arrow_downward"></i>
</a>
<% } else if (downloaded && downloaded.version < version) { %>
<a href="javascript:;" class="vc_ui-panel-template-item-overlay-button vc_ui-panel-template-update-button">
<i class="vc-composer-icon vc-c-icon-sync"></i>
</a>
<% } %>
<?php endif; ?>
</span>
</span>
<span class="vc_ui-panel-template-item-name">
<span><%- title %></span>
</span>
<%= status %>
</div>
</script>
@@ -0,0 +1,23 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
?>
<div class="vc_ui-panel-footer-container" data-vc-ui-element="panel-footer">
<div class="vc_ui-panel-footer">
<div class="vc_ui-button-group">
<?php foreach ( $controls as $control ) : ?>
<?php extract( shortcode_atts( array(
'name' => '',
'label' => '',
'css_classes' => '',
'style' => 'default',
), (array) $control ) ); ?>
<span
class="vc_general vc_ui-button vc_ui-button-<?php echo esc_attr( $style ) ?> vc_ui-button-shape-<?php echo isset( $shape ) ? $shape : 'rounded' ?><?php echo strlen( $css_classes ) > 0 ? ' ' . esc_attr( $css_classes ) : '' ?>"
data-vc-ui-element="button-<?php echo esc_attr( $name ) ?>"><?php echo esc_html( $label ) ?></span>
<?php endforeach ?>
</span>
</div>
</div>
</div>
@@ -0,0 +1,36 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
?>
<!-- param window header-->
<div
class="<?php echo esc_attr( $header_css_class ) ?> vc_ui-panel-header-container <?php echo ( isset( $stacked_bottom ) && $stacked_bottom ) || ! isset( $stacked_bottom ) ? 'vc_ui-panel-header-o-stacked-bottom' : ''; ?>"
data-vc-ui-element="panel-heading">
<div class="vc_ui-panel-header">
<div class="vc_ui-panel-header-controls">
<?php foreach ( $controls as $key => $control ) : ?>
<?php if ( is_array( $control ) && isset( $control['template'] ) ) : ?>
<?php vc_include_template( $control['template'], isset( $control['variables'] ) ? $control['variables'] : array() ) ?>
<?php else : ?>
<button type="button" class="vc_general vc_ui-control-button vc_ui-<?php echo esc_attr( $control ) ?>-button" data-vc-ui-element="button-<?php echo esc_attr( $control ) ?>">
<i class="vc-composer-icon vc-c-icon-<?php echo esc_attr( $control ) ?>"></i></button>
<?php endif ?>
<?php endforeach; ?>
</div>
<div class="vc_ui-panel-header-header vc_ui-grid-gap" data-vc-panel-container=".vc_ui-panel-header-container">
<h3 class="vc_ui-panel-header-heading"
data-vc-ui-element="panel-title"><?php echo isset( $title ) ? esc_html( $title ) : '' ?></h3>
<?php if ( isset( $search_template ) && ! empty( $search_template ) ) : ?>
<?php vc_include_template( $search_template ) ?>
<?php endif ?>
</div>
<div class="vc_ui-panel-header-content" data-vc-ui-element="panel-header-content">
<?php if ( isset( $content_template ) && ! empty( $content_template ) ) : ?>
<?php vc_include_template( $content_template, isset( $template_variables ) && is_array( $template_variables ) ? $template_variables : array() ) ?>
<?php endif ?>
</div>
</div>
</div>
@@ -0,0 +1,47 @@
<?php
/** @var $box Vc_Add_Element_Box */
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
?>
<div class="vc_ui-font-open-sans vc_ui-panel-window vc_media-xs vc_ui-panel"
data-vc-panel=".vc_ui-panel-header-header" data-vc-ui-element="panel-add-element" id="vc_ui-panel-add-element">
<div class="vc_ui-panel-window-inner">
<?php vc_include_template( 'editors/popups/vc_ui-header.tpl.php', array(
'title' => __( 'Add Element', 'js_composer' ),
'controls' => array( 'close' ),
'header_css_class' => 'vc_ui-add-element-header-container',
'content_template' => 'editors/partials/add_element_tabs.tpl.php',
'search_template' => 'editors/partials/add_element_search.tpl.php',
'template_variables' => $template_variables,
) ) ?>
<div class="vc_ui-panel-content-container">
<div class="vc_add-element-container">
<div class="wpb-elements-list vc_filter-all" data-vc-ui-filter="*"
data-vc-ui-element="panel-add-element-list">
<ul class="wpb-content-layouts-container">
<li class="vc_add-element-deprecated-warning">
<div class="wpb_element_wrapper">
<?php echo vc_message_warning( __( 'Elements within this list are deprecated and are no longer supported in newer versions of WPBakery Page Builder.', 'js_composer' ) ) ?>
</div>
</li>
<li><?php echo $box->getControls() ?></li>
<?php if ( $box->isShowEmptyMessage() && true !== $box->getPartState() ) : ?>
<li class="vc_add-element-access-warning">
<div class="wpb_element_wrapper">
<?php echo vc_message_warning( __( 'Your user role have restricted access to content elements. If required, contact your site administrator to change WPBakery Page Builder Role Manager settings for your user role.', 'js_composer' ) ) ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="vc_clearfix"></div>
<?php if ( vc_user_access()->part( 'presets' )->checkStateAny( true, null )->get() ) : ?>
<div class="vc_align_center">
<span class="vc_general vc_ui-button vc_ui-button-action vc_ui-button-shape-rounded vc_ui-button-fw" data-vc-manage-elements style="display:none;"><?php _e( 'Manage elements', 'js_composer' ); ?></span>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
@@ -0,0 +1,54 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
?>
<div class="vc_ui-font-open-sans vc_ui-panel-window vc_media-xs vc_ui-panel"
data-vc-panel=".vc_ui-panel-header-header" data-vc-ui-element="panel-edit-element" id="vc_ui-panel-edit-element">
<div class="vc_ui-panel-window-inner">
<?php
$controls = array(
'minimize',
'close',
);
if ( vc_user_access()->part( 'presets' )->checkStateAny( true, null )->get() || vc_user_access()->part( 'templates' )->checkStateAny( true, null )->get() ) {
$controls = array_merge( array(
'settings' => array(
'template' => 'editors/partials/vc_ui-settings-dropdown.tpl.php',
),
), $controls );
}
vc_include_template( 'editors/popups/vc_ui-header.tpl.php', array(
'title' => __( 'Page settings', 'js_composer' ),
'controls' => $controls,
'header_css_class' => 'vc_ui-post-settings-header-container',
'content_template' => '',
) ); ?>
<!-- param window footer-->
<div class="vc_ui-panel-content-container">
<div class="vc_ui-panel-content vc_properties-list vc_edit_form_elements">
<!--/ temp content -->
</div>
</div>
<!-- param window footer-->
<?php vc_include_template( 'editors/popups/vc_ui-footer.tpl.php', array(
'controls' => array(
array(
'name' => 'close',
'label' => __( 'Close', 'js_composer' ),
'css_classes' => 'vc_ui-button-fw',
),
array(
'name' => 'save',
'label' => __( 'Save changes', 'js_composer' ),
'css_classes' => 'vc_ui-button-fw',
'style' => 'action',
),
),
) ); ?>
</div>
</div>
@@ -0,0 +1,54 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
?>
<div class="vc_ui-font-open-sans vc_ui-panel-window vc_media-xs vc_ui-panel" data-vc-panel=".vc_ui-panel-header-header" data-vc-ui-element="panel-post-settings" id="vc_ui-panel-post-settings">
<div class="vc_ui-panel-window-inner">
<?php vc_include_template('editors/popups/vc_ui-header.tpl.php', array(
'title' => __( 'Page Settings', 'js_composer' ),
'controls' => array( 'minimize', 'close' ),
'header_css_class' => 'vc_ui-post-settings-header-container',
'content_template' => '',
)); ?>
<div class="vc_ui-panel-content-container">
<div class="vc_ui-panel-content vc_properties-list vc_edit_form_elements" data-vc-ui-element="panel-content">
<div class="vc_row">
<div class="vc_col-sm-12 vc_column" id="vc_settings-title-container">
<div class="wpb_element_label"><?php _e( 'Page title', 'js_composer' ) ?></div>
<div class="edit_form_line">
<input name="page_title" class="wpb-textinput vc_title_name" type="text" value=""
id="vc_page-title-field"
placeholder="<?php _e( 'Please enter page title', 'js_composer' ) ?>">
<span
class="vc_description"><?php printf( __( 'Change title of the current %s (Note: changes may not be displayed in a preview, but will take effect after saving page).', 'js_composer' ), get_post_type() ); ?></span>
</div>
</div>
<div class="vc_col-sm-12 vc_column">
<div class="wpb_element_label"><?php _e( 'Custom CSS settings', 'js_composer' ) ?></div>
<div class="edit_form_line">
<pre id="wpb_csseditor" class="wpb_content_element custom_css wpb_frontend"></pre>
<span
class="vc_description vc_clearfix"><?php _e( 'Enter custom CSS (Note: it will be outputted only on this particular page).', 'js_composer' ) ?></span>
</div>
</div>
</div>
</div>
</div>
<!-- param window footer-->
<?php vc_include_template('editors/popups/vc_ui-footer.tpl.php', array(
'controls' => array(
array(
'name' => 'close',
'label' => __( 'Close', 'js_composer' ),
),
array(
'name' => 'save',
'label' => __( 'Save changes', 'js_composer' ),
'css_classes' => 'vc_ui-button-fw',
'style' => 'action',
),
),
)); ?>
</div>
</div>
@@ -0,0 +1,44 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
?>
<div class="vc_ui-font-open-sans vc_ui-panel-window vc_preset-panel vc_media-xs vc_ui-panel"
data-vc-panel=".vc_ui-panel-header-header" data-vc-ui-element="panel-preset" id="vc_ui-panel-preset">
<div class="vc_ui-panel-window-inner">
<?php vc_include_template( 'editors/popups/vc_ui-header.tpl.php', array(
'title' => __( 'My Elements', 'js_composer' ),
'controls' => array(
'minimize',
'close',
),
'header_css_class' => 'vc_ui-preset-panel-header-container',
) ); ?>
<!-- param window footer-->
<div class="vc_ui-panel-content-container">
<div class="vc_ui-panel-content vc_properties-list vc_row"
data-vc-ui-element="panel-content">
<div class="vc_column vc_col-sm-12">
<h3><?php _e( 'Manage My Elements', 'js_composer' );?></h3>
<p class="vc_description"><?php _e( 'Remove existing elements', 'js_composer' );?></p>
</div>
<div class="vc_column vc_col-sm-12">
<div class="vc_ui-template-list vc_ui-list-bar" data-vc-action="collapseAll" data-vc-presets-list-content>
<div class="vc_ui-template" style="display:none;">
<div class="vc_ui-list-bar-item">
<button type="button" class="vc_ui-list-bar-item-trigger" title="" data-vc-ui-element="template-title"></button>
<div class="vc_ui-list-bar-item-actions">
<button type="button" class="vc_general vc_ui-control-button" title="<?php _e( 'Add element', 'js_composer' ); ?>" data-template-handler data-vc-ui-add-preset><i class="vc-composer-icon vc-c-icon-add"></i></button>
<button type="button" class="vc_general vc_ui-control-button" data-vc-ui-delete="preset-title" data-preset="" data-preset-parent="" title="<?php _e( 'Delete element', 'js_composer' ); ?>">
<i class="vc-composer-icon vc-c-icon-delete_empty"></i></button>
</div>
</div>
</div>
<?php echo $box->getPresets(); ?>
</div>
</div>
</div>
</div>
</div>
</div>
<!--/ temp content -->
@@ -0,0 +1,41 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
?>
<div class="vc_ui-font-open-sans vc_ui-panel-window vc_media-xs vc_ui-panel" data-vc-panel=".vc_ui-panel-header-header" data-vc-ui-element="panel-row-layout" id="vc_ui-panel-row-layout">
<div class="vc_ui-panel-window-inner">
<?php vc_include_template('editors/popups/vc_ui-header.tpl.php', array(
'title' => __( 'Row Layout', 'js_composer' ),
'controls' => array( 'minimize', 'close' ),
'header_css_class' => 'vc_ui-row-layout-header-container',
)); ?>
<div class="vc_ui-panel-content-container">
<div class="vc_ui-panel-content vc_properties-list vc_edit_form_elements" data-vc-ui-element="panel-content">
<div class="vc_row vc_ui-flex-row">
<div class="vc_col-sm-12 vc_column vc_layout-panel-switcher">
<div class="wpb_element_label"><?php _e( 'Row layout', 'js_composer' ) ?></div>
<?php foreach ( $vc_row_layouts as $layout ) : ?>
<a data-vc-ui-element="button-layout" class="vc_layout-btn" <?php echo 'data-cells="' . $layout['cells']
. '" data-cells-mask="' . $layout['mask']
. '" title="' . $layout['title'] ?>">
<i class="vc-composer-icon vc-c-icon-<?php echo $layout['icon_class'] ?>"></i>
</a>
<?php endforeach ?>
<span
class="vc_description vc_clearfix"><?php _e( 'Select row layout from predefined options.', 'js_composer' ); ?></span>
</div>
<div class="vc_col-sm-12 vc_column">
<div class="wpb_element_label"><?php _e( 'Enter custom layout for your row', 'js_composer' ) ?></div>
<div class="edit_form_line">
<input name="padding" class="wpb-textinput vc_row_layout" type="text" value="" id="vc_row-layout">
<span class="vc_general vc_ui-button vc_ui-button-size-sm vc_ui-button-action vc_ui-button-shape-rounded vc_ui-button-update-layout" data-vc-ui-element="button-update-layout"><?php _e( 'Update', 'js_composer' ) ?></span>
<span
class="vc_description vc_clearfix"><?php _e( 'Change particular row layout manually by specifying number of columns and their size value.', 'js_composer' ); ?></span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@@ -0,0 +1,53 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
?>
<div class="vc_ui-font-open-sans vc_ui-panel-window vc_templates-panel vc_media-xs vc_ui-panel"
data-vc-panel=".vc_ui-panel-header-header" data-vc-ui-element="panel-templates" id="vc_ui-panel-templates">
<div class="vc_ui-panel-window-inner">
<!-- param window header-->
<?php
$categories_data = $box->getAllTemplatesSorted();
$categories = $box->getAllCategoriesNames( $categories_data ); ?>
<?php vc_include_template( 'editors/popups/vc_ui-header.tpl.php', array(
'title' => __( 'Templates', 'js_composer' ),
'controls' => array(
'minimize',
'close',
),
'header_css_class' => 'vc_ui-template-panel-header-container',
'content_template' => 'editors/partials/vc_ui-templates-tabs.tpl.php',
'search_template' => 'editors/partials/templates_search.tpl.php',
'template_variables' => array(
'categories_data' => $categories_data,
'categories' => $categories,
),
) ); ?>
<!-- param window footer-->
<div class="vc_ui-panel-content-container">
<div class="vc_ui-panel-content vc_properties-list"
data-vc-ui-element="panel-content">
<div class="vc_panel-tabs">
<?php
/**
* Preparing tabs content
*/
?>
<?php
$first = true;
foreach ( $categories_data as $key => $category ) :
echo '<div class="vc_edit-form-tab vc_row vc_ui-flex-row' . ( $first ? ' vc_active' : '' ) . '"' . ' data-vc-ui-element="panel-edit-element-tab"' . ' data-tab="' . esc_attr( $category['category'] ) . '">';
$templates_block = apply_filters( 'vc_templates_render_category', $category );
if ( isset( $templates_block['output'] ) && is_string( $templates_block['output'] ) ) {
echo $templates_block['output'];
}
echo '</div>';
$first = false;
endforeach; ?>
</div>
</div>
</div>
</div>
</div>
<!--/ temp content -->