<?php
/**
 * General Tab
 *
 * @package Magnus
 */

$menus['main'] = array(
	'icon'  => 'fa-th',
	'title' => esc_html__( 'General', 'magnus' ),
	'desc'  => esc_html__( 'This tab contains common setting options which will be applied to the whole theme', 'magnus' ),
);

$mts_patterns = array(
	'nobg' => array( 'img' => $uri . 'bg-patterns/nobg.png' ),
);
for ( $i = 0; $i <= 52; $i++ ) {
	$mts_patterns[ 'pattern' . $i ] = array( 'img' => $uri . 'bg-patterns/pattern' . $i . '.png' );
}

for ( $i = 1; $i <= 29; $i++ ) {
	$mts_patterns[ 'hbg' . $i ] = array( 'img' => $uri . 'bg-patterns/hbg' . $i . '.png' );
}

$sections['main'] = array(

	array(
		'id'       => 'mts_logo',
		'type'     => 'upload',
		'title'    => esc_html__( 'Site Logo', 'magnus' ),
		'sub_desc' => esc_html__( 'Select an image file for your logo.', 'magnus' ),
		'return'   => 'id',
	),
	array(
		'id'       => 'mts_favicon',
		'type'     => 'upload',
		'title'    => esc_html__( 'Favicon', 'magnus' ),
		// translators: Strong tag in description.
		'sub_desc' => sprintf( __( 'Upload a %s image that will represent your website\'s favicon.', 'magnus' ), '<strong>32 x 32 px</strong>' ),
		'return'   => 'id',
	),
	array(
		'id'       => 'mts_touch_icon',
		'type'     => 'upload',
		'title'    => esc_html__( 'Touch icon', 'magnus' ),
		// translators: Strong tag in description.
		'sub_desc' => sprintf( __( 'Upload a %s image that will represent your website\'s touch icon for iOS 2.0+ and Android 2.1+ devices.', 'magnus' ), '<strong>152 x 152 px</strong>' ),
		'return'   => 'id',
	),
	array(
		'id'       => 'mts_metro_icon',
		'type'     => 'upload',
		'title'    => esc_html__( 'Metro icon', 'magnus' ),
		// translators: Strong tag in description.
		'sub_desc' => sprintf( __( 'Upload a %s image that will represent your website\'s IE 10 Metro tile icon.', 'magnus' ), '<strong>144 x 144 px</strong>' ),
		'return'   => 'id',
	),
	array(
		'id'       => 'mts_twitter_username',
		'type'     => 'text',
		'title'    => esc_html__( 'Twitter Username', 'magnus' ),
		'sub_desc' => esc_html__( 'Enter your Username here.', 'magnus' ),
	),
	array(
		'id'       => 'mts_feedburner',
		'type'     => 'text',
		'title'    => esc_html__( 'FeedBurner URL', 'magnus' ),
		// translators: Strong tag in description.
		'sub_desc' => sprintf( __( 'Enter your FeedBurner\'s URL here, ex: %s and your main feed (http://example.com/feed) will get redirected to the FeedBurner ID entered here.)', 'magnus' ), '<strong>http://feeds.feedburner.com/mythemeshop</strong>' ),
		'validate' => 'url',
	),
	array(
		'id'       => 'mts_ajax_search',
		'type'     => 'switch',
		'title'    => esc_html__( 'AJAX Quick search', 'magnus' ),
		'sub_desc' => esc_html__( 'Enable or disable search results appearing instantly below the search form', 'magnus' ),
		'std'      => '0',
	),
	array(
		'id'       => 'mts_responsive',
		'type'     => 'switch',
		'title'    => esc_html__( 'Responsiveness', 'magnus' ),
		'sub_desc' => esc_html__( 'MyThemeShop themes are responsive, which means they adapt to tablet and mobile devices, ensuring that your content is always displayed beautifully no matter what device visitors are using. Enable or disable responsiveness using this option.', 'magnus' ),
		'std'      => '1',
	),
	array(
		'id'       => 'mts_shop_products',
		'type'     => 'text',
		'title'    => esc_html__( 'No. of Products', 'magnus' ),
		'sub_desc' => esc_html__( 'Enter the total number of products which you want to show on shop page (WooCommerce plugin must be enabled).', 'magnus' ),
		'validate' => 'numeric',
		'std'      => '9',
		'class'    => 'small-text',
	),

);
