Esempio n. 1
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('id' => 'progress_bar_items', 'type' => 'group', 'shortcode' => ucfirst(__CLASS__), 'sub_item_type' => $this->config['has_subshortcode'], 'sub_items' => array(array('std' => __('', WR_PBL)), array('std' => __('', WR_PBL)), array('std' => __('', WR_PBL))))), 'styling' => array(array('type' => 'preview'), array('name' => __('Presentation', WR_PBL), 'id' => 'progress_bar_style', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_progress_bar_style()), 'options' => WR_Pb_Helper_Type::get_progress_bar_style()), array('name' => __('Show Icon', WR_PBL), 'id' => 'progress_bar_show_icon', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL))), array('name' => __('Show Title', WR_PBL), 'id' => 'progress_bar_show_title', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL))), array('name' => __('Show Percentage', WR_PBL), 'id' => 'progress_bar_show_percent', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL))), array('name' => __('', WR_PBL), 'container_class' => 'group-checkbox', 'id' => 'progress_bar_stack_active', 'type' => 'checkbox', 'std' => 'yes', 'options' => array('yes' => __('Animated Progress Bar', WR_PBL)))));
 }