<?php if ( ! defined( 'FW' ) ) {
	die( 'Forbidden' );
}

$options = array(
	'tabs' => array(
		'type'          => 'addable-popup',
		'label'         => esc_html__( 'Panels', 'enginx' ),
		'popup-title'   => esc_html__( 'Add/Edit Accordion Panels', 'enginx' ),
		'desc'          => esc_html__( 'Create your accordion panels', 'enginx' ),
		'template'      => '{{=tab_title}}',
		'popup-options' => array(
			'tab_title'          => array(
				'type'  => 'text',
				'label' => esc_html__( 'Title', 'enginx' )
			),
			'tab_content'        => array(
				'type'  => 'wp-editor',
				'label' => esc_html__( 'Content', 'enginx' )
			),
			'tab_featured_image' => array(
				'type'        => 'upload',
				'value'       => '',
				'label'       => esc_html__( 'Panel Featured Image', 'enginx' ),
				'image'       => esc_html__( 'Image for your panel.', 'enginx' ),
				'help'        => esc_html__( 'It appears to the left from your content', 'enginx' ),
				'images_only' => true,
			),
			'tab_icon'           => array(
				'type'  => 'icon',
				'label' => esc_html__( 'Icon in panel title', 'enginx' ),
				'set'   => 'theme-fa-icons',
			),
		)
	),
	'id'   => array( 'type' => 'unique' ),
);