コード例 #1
0
ファイル: item.php プロジェクト: densem-2013/exikom
 /**
  * DEFINE setting options of shortcode in frontend
  */
 public function frontend_element_items()
 {
     //Disabled Row Span and Column Span temporary
     $this->items = array('Notab' => array(array('name' => JText::_('JSN_PAGEBUILDER_ELEMENT_TABLE_ITEM_WIDTH'), '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('%' => '%', 'px' => 'px'), 'std' => '%', 'parent_class' => 'combo-item merge-data')), 'container_class' => 'combo-group', 'tooltip' => JText::_('JSN_PAGEBUILDER_ELEMENT_TABLE_ITEM_WIDTH_DES')), array('name' => JText::_('JSN_PAGEBUILDER_ELEMENT_TABLE_ITEM_TAG_NAME'), 'id' => 'tagname', 'type' => 'text_field', 'std' => 'td', 'input-type' => 'hidden', 'container_class' => 'hidden'), array('name' => JText::_('JSN_PAGEBUILDER_ELEMENT_TABLE_ITEM_ROW_SPAN'), 'id' => 'rowspan', 'type' => 'text_number', 'std' => '1', 'class' => 'input-mini positive-val', 'input-type' => 'hidden', 'validate' => 'number', 'role' => 'extract', 'tooltip' => JText::_('JSN_PAGEBUILDER_ELEMENT_TABLE_ITEM_ROW_SPAN_DES'), 'container_class' => 'hidden'), array('name' => JText::_('JSN_PAGEBUILDER_ELEMENT_TABLE_ITEM_COLUMN_SPAN'), 'id' => 'colspan', 'type' => 'text_number', 'std' => '1', 'class' => 'input-mini positive-val', 'input-type' => 'hidden', 'validate' => 'number', 'role' => 'extract', 'tooltip' => JText::_('JSN_PAGEBUILDER_ELEMENT_TABLE_ITEM_COLUMN_SPAN_DES'), 'container_class' => 'hidden'), array('name' => JText::_('JSN_PAGEBUILDER_ELEMENT_TABLE_ITEM_ROW_STYLE'), 'id' => 'rowstyle', 'type' => 'select', 'std' => JSNPagebuilderHelpersType::getFirstOption(JSNPagebuilderHelpersType::getTableRowColor()), 'options' => JSNPagebuilderHelpersType::getTableRowColor(), 'tooltip' => JText::_('JSN_PAGEBUILDER_ELEMENT_TABLE_ITEM_ROW_STYLE_DES')), array('name' => JText::_('JSN_PAGEBUILDER_ELEMENT_TABLE_ITEM_CONTENT'), 'id' => 'cell_content', 'role' => 'content', 'role_2' => 'title', 'type' => 'tiny_mce', 'std' => '', 'tooltip' => JText::_('JSN_PAGEBUILDER_ELEMENT_TABLE_ITEM_CONTENT_DES'))));
 }