Пример #1
0
 /**
  * @param $width
  * @param $i
  *
  * @return string
  */
 public function mainHtmlBlockParams($width, $i)
 {
     $sortable = vc_user_access_check_shortcode_all($this->shortcode) ? 'wpb_sortable' : $this->nonDraggableClass;
     return 'data-element_type="' . $this->settings['base'] . '" data-vc-column-width="' . wpb_vc_get_column_width_indent($width[$i]) . '" class="wpb_' . $this->settings['base'] . ' ' . $sortable . ' ' . $this->templateWidth() . ' wpb_content_holder"' . $this->customAdminBlockParams();
 }
Пример #2
0
 public function mainHtmlBlockParams($width, $i)
 {
     return 'data-element_type="' . $this->settings["base"] . '" data-vc-column-width="' . wpb_vc_get_column_width_indent($width[$i]) . '" class="wpb_' . $this->settings['base'] . ' wpb_sortable ' . $this->templateWidth() . ' wpb_content_holder"' . $this->customAdminBlockParams();
 }
Пример #3
0
 public function mainHtmlBlockParams($width, $i)
 {
     return 'data-element_type="vc_column" data-vc-column-width="' . wpb_vc_get_column_width_indent($width[$i]) . '" class="wpb_vc_column wpb_sortable vc_span12 wpb_content_holder"' . $this->customAdminBlockParams();
 }