Viewing file: backend_editor_footer.tpl.php (1.78 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php require_once vc_path_dir('EDITORS_DIR', 'popups/class-vc-add-element-box.php'); $add_element_box = new Vc_Add_Element_Box(); $add_element_box->render(); // Edit form for mapped shortcode. visual_composer()->editForm()->render(); visual_composer()->templatesEditor()->render(); // Post settings require_once vc_path_dir('EDITORS_DIR', 'popups/class-vc-post-settings.php'); $post_settings = new Vc_Post_Settings($editor); $post_settings->render(); require_once vc_path_dir('EDITORS_DIR', 'popups/class-vc-edit-layout.php'); $edit_layout = new Vc_Edit_Layout(); $edit_layout->render(); ?> <script type="text/javascript"> var vc_user_mapper = <?php echo json_encode(WPBMap::getUserShortCodes()) ?>, vc_mapper = <?php echo json_encode(WPBMap::getShortCodes()) ?>, vc_frontend_enabled = <?php echo vc_enabled_frontend() ? 'true' : 'false' ?>, vc_mode = '<?php echo vc_mode() ?>'; </script>
<script type="text/html" id="vc_settings-image-block"> <li class="added"> <div class="inner" style="width: 75px; height: 75px; overflow: hidden;text-align: center;"> <img rel="<%= id %>" src="<%= url %>"/> </div> <a href="#" class="icon-remove"></a> </li> </script> <?php foreach ( WPBMap::getShortCodes() as $sc_base => $el ): ?> <script type="text/html" id="vc_shortcode-template-<?php echo $sc_base ?>"> <?php echo visual_composer()->getShortCode( $sc_base )->template(); ?> </script> <?php endforeach; ?> <script type="text/html" id="vc_row-inner-element-template"> <?php echo visual_composer()->getShortCode( 'vc_row_inner' )->template(); ?> </script> <script type="text/html" id="vc_settings-page-param-block"> <div class="row-fluid wpb_el_type_<%= type %>"> <div class="wpb_element_label"><%= heading %></div> <div class="edit_form_line"> <%= form_element %> </div> </div> </script>
|