<?php
defined( '_JEXEC' ) or die( 'resticted aceess' );
SpAddonsConfig::addonConfig(
	array(
		'type'       => 'repeatable',
		'addon_name' => 'sp_list_team_html',
		'category'   => 'Foobla',
		'title'      => JText::_( 'COM_SPPAGEBUILDER_ADDON_LIST_TEAM_HTML' ),
		'desc'       => JText::_( 'COM_SPPAGEBUILDER_ADDON_LIST_TEAM_HTML_DESC' ),
		'attr'       => array(
			'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_list_team_html_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'   => ''
					),
					'fb_link'        => array(
						'type'  => 'text',
						'title' => JText::_( 'COM_SPPAGEBUILDER_ADDON_LINK_FB' ),
						'desc'  => JText::_( 'COM_SPPAGEBUILDER_ADDON_LINK_FB_DESC' ),
						'std'   => '',
					),
					'tw_link'        => array(
						'type'  => 'text',
						'title' => JText::_( 'COM_SPPAGEBUILDER_ADDON_LINK_TW' ),
						'desc'  => JText::_( 'COM_SPPAGEBUILDER_ADDON_LINK_TW_DESC' ),
						'std'   => '',
					),
					'g_link'        => array(
						'type'  => 'text',
						'title' => JText::_( 'COM_SPPAGEBUILDER_ADDON_LINK_G' ),
						'desc'  => JText::_( 'COM_SPPAGEBUILDER_ADDON_LINK_G_DESC' ),
						'std'   => '',
					),
				)
			),
		)
	)
);