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

$options = array(
	'title'               => array(
		'label' => esc_html__( 'Title', 'enginx' ),
		'desc'  => esc_html__( 'Optional Testimonials Title', 'enginx' ),
		'type'  => 'text',
	),
	'testimonials'        => array(
		'label'         => esc_html__( 'Testimonials', 'enginx' ),
		'popup-title'   => esc_html__( 'Add/Edit Testimonial', 'enginx' ),
		'desc'          => esc_html__( 'Here you can add, remove and edit your Testimonials.', 'enginx' ),
		'type'          => 'addable-popup',
		'template'      => '{{=author_name}}',
		'popup-options' => array(
			'content'       => array(
				'label' => esc_html__( 'Quote', 'enginx' ),
				'desc'  => esc_html__( 'Enter the testimonial here', 'enginx' ),
				'type'  => 'textarea',
			),
			'author_avatar' => array(
				'label' => esc_html__( 'Image', 'enginx' ),
				'desc'  => esc_html__( 'Either upload a new, or choose an existing image from your media library', 'enginx' ),
				'type'  => 'upload',
			),
			'quote_mark' => array(
				'label' => esc_html__( 'Quote Mark', 'enginx' ),
				'desc'  => esc_html__( 'Delete if not needed', 'enginx' ),
				'type'  => 'upload',
			),
			'author_name'   => array(
				'label' => esc_html__( 'Name', 'enginx' ),
				'desc'  => esc_html__( 'Enter the Name of the Person to quote', 'enginx' ),
				'type'  => 'text'
			),
			'author_job'    => array(
				'label' => esc_html__( 'Position', 'enginx' ),
				'desc'  => esc_html__( 'Can be used for a job description', 'enginx' ),
				'type'  => 'text'
			),
			'site_name'     => array(
				'label' => esc_html__( 'Website Name', 'enginx' ),
				'desc'  => esc_html__( 'Linktext for the above Link', 'enginx' ),
				'type'  => 'text'
			),
			'site_url'      => array(
				'label' => esc_html__( 'Website Link', 'enginx' ),
				'desc'  => esc_html__( 'Link to the Persons website', 'enginx' ),
				'type'  => 'text'
			)
		)
	)
);