<?php
defined( '_JEXEC' ) or die( 'resticted aceess' );
SpAddonsConfig::addonConfig(
	array(
		'type'       => 'repeatable',
		'addon_name' => 'sp_ob_testimonials',
		'category'   => 'Foobla',
		'title'      => JText::_( 'COM_SPPAGEBUILDER_ADDON_TESTIMONIALS' ),
		'desc'       => JText::_( 'COM_SPPAGEBUILDER_ADDON_TESTIMONIALS_DESC' ),
		'attr'       => array(
			'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_testimonials_item',
				'title'      => 'List Html',
				'attr'       => array(
					'title'        => array(
						'type'  => 'text',
						'title' => JText::_( 'COM_SPPAGEBUILDER_ADDON_TITLE' ),
						'desc'  => JText::_( 'COM_SPPAGEBUILDER_ADDON_TITLE_DESC' ),
						'std'   => 'Input Title Here',
					),
					'subtitle'        => array(
						'type'  => 'text',
						'title' => JText::_( 'COM_SPPAGEBUILDER_ADDON_SUBTITLE' ),
						'desc'  => JText::_( 'COM_SPPAGEBUILDER_ADDON_SUBTITLE_DESC' ),
						'std'   => '',
					),
					'image'=>array(
						'type'=>'media',
						'title'=>JText::_('COM_SPPAGEBUILDER_ADDON_IMAGE'),
						'desc'=>JText::_('COM_SPPAGEBUILDER_ADDON_IMAGE_DESC'),
					),
					'contenthtml'      => array(
						'type'  => 'editor',
						'title' => JText::_( 'COM_SPPAGEBUILDER_ADDON_CONTENT' ),
						'desc'  => JText::_( 'COM_SPPAGEBUILDER_ADDON_CONTENT_DESC' ),
						'std'   => ''
					),
				)
			),
		)
	)
);