<?php
/**
 * The Enqueue and Dequeue CSS and JS files setting configurations.
 *
 * @package Smart_Post_Show_Pro
 * @subpackage admin
 */

if ( ! defined( 'ABSPATH' ) ) {
	die;
} // Cannot access pages directly.

/**
 * The Layout building class.
 */
class SPSP_ScriptsAndStyles {

	/**
	 * Advanced setting section.
	 *
	 * @param string $prefix The settings.
	 * @return void
	 */
	public static function section( $prefix ) {
		SP_PCP::createSection(
			$prefix,
			array(
				'title'  => __( 'Control Assets', 'smart-post-show-pro' ),
				'icon'   => 'fa fa-tasks',
				'fields' => array(
					array(
						'id'         => 'pcp_swiper_js',
						'type'       => 'switcher',
						'title'      => __( 'Swiper JS', 'smart-post-show-pro' ),
						'text_on'    => __( 'Enqueued', 'smart-post-show-pro' ),
						'text_off'   => __( 'Dequeued', 'smart-post-show-pro' ),
						'text_width' => 110,
						'default'    => true,
					),
					array(
						'id'         => 'pcp_bx_js',
						'type'       => 'switcher',
						'title'      => __( 'bxSlider JS', 'smart-post-show-pro' ),
						'text_on'    => __( 'Enqueued', 'smart-post-show-pro' ),
						'text_off'   => __( 'Dequeued', 'smart-post-show-pro' ),
						'text_width' => 110,
						'default'    => true,
					),
					array(
						'id'         => 'pcp_magnific_js',
						'type'       => 'switcher',
						'title'      => __( 'Magnific Popup JS', 'smart-post-show-pro' ),
						'text_on'    => __( 'Enqueued', 'smart-post-show-pro' ),
						'text_off'   => __( 'Dequeued', 'smart-post-show-pro' ),
						'text_width' => 110,
						'default'    => true,
					),
					array(
						'id'         => 'pcp_isotope_js',
						'type'       => 'switcher',
						'title'      => __( 'Isotope JS', 'smart-post-show-pro' ),
						'text_on'    => __( 'Enqueued', 'smart-post-show-pro' ),
						'text_off'   => __( 'Dequeued', 'smart-post-show-pro' ),
						'text_width' => 110,
						'default'    => true,
					),
					array(
						'id'         => 'pcp_swiper_css',
						'type'       => 'switcher',
						'title'      => __( 'Swiper CSS', 'smart-post-show-pro' ),
						'text_on'    => __( 'Enqueued', 'smart-post-show-pro' ),
						'text_off'   => __( 'Dequeued', 'smart-post-show-pro' ),
						'text_width' => 110,
						'default'    => true,
					),
					array(
						'id'         => 'pcp_bxSlider_css',
						'type'       => 'switcher',
						'title'      => __( 'bxSlider CSS', 'smart-post-show-pro' ),
						'text_on'    => __( 'Enqueued', 'smart-post-show-pro' ),
						'text_off'   => __( 'Dequeued', 'smart-post-show-pro' ),
						'text_width' => 110,
						'default'    => true,
					),
					array(
						'id'         => 'pcp_fontawesome_css',
						'type'       => 'switcher',
						'title'      => __( 'Font Awesome CSS', 'smart-post-show-pro' ),
						'text_on'    => __( 'Enqueued', 'smart-post-show-pro' ),
						'text_off'   => __( 'Dequeued', 'smart-post-show-pro' ),
						'text_width' => 110,
						'default'    => true,
					),
					array(
						'id'         => 'pcp_magnific_css',
						'type'       => 'switcher',
						'title'      => __( 'Magnific Popup CSS', 'smart-post-show-pro' ),
						'text_on'    => __( 'Enqueued', 'smart-post-show-pro' ),
						'text_off'   => __( 'Dequeued', 'smart-post-show-pro' ),
						'text_width' => 110,
						'default'    => true,
					),
					array(
						'id'         => 'pcp_like_css',
						'type'       => 'switcher',
						'title'      => __( 'Like CSS', 'smart-post-show-pro' ),
						'text_on'    => __( 'Enqueued', 'smart-post-show-pro' ),
						'text_off'   => __( 'Dequeued', 'smart-post-show-pro' ),
						'text_width' => 110,
						'default'    => true,
					),
				),
			)
		);
	}
}
