vcAdminNonce = '<?php echo vc_generate_nonce('vc-admin-nonce'); ?> '; </script> <script type="text/html" id="vc_settings-image-block"> <li class="added"> <div class="inner" style="width: 80px; height: 80px; overflow: hidden;text-align: center;"> <img rel="{{ id }}" src="<# if(sizes && sizes.thumbnail) { #>{{ sizes.thumbnail.url }}<# } else {#>{{ url }}<# } #>"/> </div> <a href="#" class="vc_icon-remove"></a> </li> </script> <?php foreach (WpbMap_Grid_Item::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 } ?> <?php vc_include_template('editors/partials/access-manager-js.tpl.php');
$templates_editor = new Vc_Templates_Editor_Grid_Item(); $templates_editor->render(); require_once vc_path_dir('EDITORS_DIR', 'popups/class-vc-edit-layout.php'); $edit_layout = new Vc_Edit_Layout(); $edit_layout->render(); $grid_item = new Vc_Grid_Item(); $shortcodes = $grid_item->shortcodes(); // $grid_item->mapShortcodes(); ?> <script type="text/javascript"> var vc_user_mapper = <?php echo json_encode(WpbMap_Grid_Item::getGitemUserShortCodes()); ?> , vc_mapper = <?php echo json_encode(WpbMap_Grid_Item::getShortCodes()); ?> , vc_frontend_enabled = 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>