Esempio n. 1
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Element Title', IGPBL), 'id' => 'el_title', 'type' => 'text_field', 'class' => 'input-sm', 'std' => __('', IGPBL), 'role' => 'title', 'tooltip' => __('Set title for current element for identifying easily', IGPBL)), array('id' => 'progress_bar_items', 'type' => 'group', 'shortcode' => ucfirst(__CLASS__), 'sub_item_type' => $this->config['has_subshortcode'], 'sub_items' => array(array('std' => __('', IGPBL)), array('std' => __('', IGPBL)), array('std' => __('', IGPBL))))), 'styling' => array(array('type' => 'preview'), array('name' => __('Presentation', IGPBL), 'id' => 'progress_bar_style', 'type' => 'select', 'class' => 'input-sm', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_progress_bar_style()), 'options' => IG_Pb_Helper_Type::get_progress_bar_style(), 'tooltip' => __('Presentation', IGPBL)), array('name' => __('Show Icon', IGPBL), 'id' => 'progress_bar_show_icon', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'tooltip' => __('Show selected icon', IGPBL)), array('name' => __('Show Title', IGPBL), 'id' => 'progress_bar_show_title', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'tooltip' => __('Show Title', IGPBL)), array('name' => __('Show Percentage', IGPBL), 'id' => 'progress_bar_show_percent', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'tooltip' => __('Show Percentage', IGPBL)), array('name' => __('Make Active', IGPBL), 'id' => 'progress_bar_stack_active', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'tooltip' => __('Make Active', IGPBL))));
 }