<?php
/**
 * @package SP Page Builder
 * @author JoomShaper http://www.joomshaper.com
 * @copyright Copyright (c) 2010 - 2016 JoomShaper
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
*/
//no direct accees
defined ('_JEXEC') or die ('restricted aceess');

SpAddonsConfig::addonConfig(
	array( 
		'type'=>'repeatable', 
		'addon_name'=>'sp_ob_prices',
		'category'=>'Foobla',
		'title'=>JText::_('COM_SPPAGEBUILDER_ADDON_PRICES'),
		'desc'=>JText::_('COM_SPPAGEBUILDER_ADDON_PRICES_DESC'),
		'attr'=>array(
			'admin_label'=>array(
				'type'=>'text',
				'title'=>JText::_('COM_SPPAGEBUILDER_ADDON_ADMIN_LABEL'),
				'desc'=>JText::_('COM_SPPAGEBUILDER_ADDON_ADMIN_LABEL_DESC'),
				'std'=> ''
			),
			'column' => array (
				'type'	=> 'select',
				'title' => JText::_('COM_SPPAGEBUILDER_ADDON_COLUMN'),
				'desc'	=> JText::_('COM_SPPAGEBUILDER_ADDON_COLUMN_DESC'),
				'values'=>array(
					'2' => 2,
					'3' => 3,
					'4' => 4,
					'6' => 6,
				),
				'std' => '4'
			),
			'class'=>array(
				'type'=>'text',
				'title'=>JText::_('COM_SPPAGEBUILDER_ADDON_CLASS'),
				'desc'=>JText::_('COM_SPPAGEBUILDER_ADDON_CLASS_DESC'),
				'std'=> ''
			),
			'repetable_item'=>array(
				'type'=>'repeatable',
				'addon_name' =>'sp_ob_prices_item',
				'title'=> 'Repetable', 
				'attr'=>  array(
					'admin_label'=>array(
						'type'=>'text',
						'title'=>JText::_('COM_SPPAGEBUILDER_ADDON_ADMIN_LABEL'),
						'desc'=>JText::_('COM_SPPAGEBUILDER_ADDON_ADMIN_LABEL_DESC'),
						'std'=> ''
					),
					'title'=>array(
						'type'=>'text',
						'title'=>JText::_('COM_SPPAGEBUILDER_ADDON_TITLE'),
						'desc'=>JText::_('COM_SPPAGEBUILDER_ADDON_TITLE_DESC'),
						'std'=>'Item Title',
					),
					'price'=>array(
						'type'=>'text',
						'title'=>JText::_('COM_SPPAGEBUILDER_ADDON_PRICE'),
						'desc'=>JText::_('COM_SPPAGEBUILDER_ADDON_PRICE_DESC'),
						'std'=> ''
					),
					'sub_title'=>array(
						'type'=>'text',
						'title'=>JText::_('COM_SPPAGEBUILDER_ADDON_SUBTITLE'),
						'desc'=>JText::_('COM_SPPAGEBUILDER_ADDON_SUBTITLE_DESC'),
						'std'=> ''
					),
					'content'=>array(
						'type'=>'editor',
						'title'=>JText::_('COM_SPPAGEBUILDER_ADDON_CONTENT'),
						'desc'=>JText::_('COM_SPPAGEBUILDER_ADDON_CONTENT_DESC'),
						'std'=> ''
					),
					'text_btn'=>array(
						'type'=>'text',
						'title'=>JText::_('COM_SPPAGEBUILDER_ADDON_TEXT_BTN'),
						'desc'=>JText::_('COM_SPPAGEBUILDER_ADDON_TEXT_BTN_DESC'),
						'std'=> ''
					),
					'link_btn'=>array(
						'type'=>'text',
						'title'=>JText::_('COM_SPPAGEBUILDER_ADDON_LINK_BTN'),
						'desc'=>JText::_('COM_SPPAGEBUILDER_ADDON_LINK_BTN_DESC'),
						'std'=> ''
					),
				)
			),

		)

	)
);

