Esempio n. 1
0
 /**
  * DEFINE setting options of shortcode
  */
 public function element_items()
 {
     $this->items = array('Notab' => array(array('name' => __('Width', WR_PBL), 'type' => array(array('id' => 'width_value', 'type' => 'text_number', 'std' => '', 'class' => 'input-mini', 'validate' => 'number', 'parent_class' => 'combo-item merge-data'), array('id' => 'width_type', 'type' => 'select', 'class' => 'input-mini', 'options' => array('percentage' => '%', 'px' => 'px'), 'std' => 'percentage', 'parent_class' => 'combo-item merge-data')), 'container_class' => 'combo-group'), array('name' => __('Tag Name', WR_PBL), 'id' => 'tagname', 'type' => 'text_field', 'std' => 'td', 'type_input' => 'hidden', 'container_class' => 'hidden', 'tooltip' => __('', WR_PBL)), array('name' => __('Row Span', WR_PBL), 'id' => 'rowspan', 'type' => 'text_number', 'std' => '1', 'class' => 'input-mini positive-val', 'validate' => 'number', 'role' => 'extract', 'tooltip' => __('Enable extending over multiple rows', WR_PBL)), array('name' => __('Column Span', WR_PBL), 'id' => 'colspan', 'type' => 'text_number', 'std' => '1', 'class' => 'input-mini positive-val', 'validate' => 'number', 'role' => 'extract', 'tooltip' => __('Enable extending over multiple columns', WR_PBL)), array('name' => __('Row Style', WR_PBL), 'id' => 'rowstyle', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_table_row_color()), 'options' => WR_Pb_Helper_Type::get_table_row_color()), array('name' => __('Content', WR_PBL), 'id' => 'cell_content', 'role' => 'content', 'role_2' => 'title', 'type' => 'tiny_mce', 'std' => __('', WR_PBL), 'tooltip' => __('Table content', WR_PBL))));
 }