<?php
/**
 * Theme options > General Options  > Header options
 */

$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Header Layout", 'zn_framework' ),
    "description" => __( "Please choose the desired header layout.", 'zn_framework' ),
    "id"          => "zn_header_layout",
    "std"         => "style2",
    "options"     => array (
        'style1' => __( 'Style 1', 'zn_framework' ),
        'style2' => __( 'Style 2 (default)', 'zn_framework' ),
        'style3' => __( 'Style 3', 'zn_framework' ),
        'style4' => __( 'Style 4', 'zn_framework' ),
        'style5' => __( 'Style 5', 'zn_framework' ),
        'style6' => __( 'Style 6', 'zn_framework' ),
        'style7' => __( 'Style 7 (since v4.0)', 'zn_framework' ),
        'style8' => __( 'Style 8 (since v4.0)', 'zn_framework' ),
        'style9' => __( 'Style 9 (since v4.0)', 'zn_framework' )
    ),
    "type"        => "select"
);

// Header height
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Header Height (in px)", 'zn_framework' ),
    "description" => __( "Header's height. By default it's 100px. <strong>Leave empty if you're not sure!</strong>", 'zn_framework' ),
    "id"          => "zn_head_height",
    "std"         => "",
    "type"        => "text",
    "placeholder" => "ex: 100px",
    'dependency'  => array ( 'element' => 'zn_header_layout', 'value' => array ( 'style1', 'style2', 'style3', 'style4', 'style5', 'style6' ) )
);

// Header custom text
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Top header text", 'zn_framework' ),
    "description" => __( "Will display any text (ex: phone number).", 'zn_framework' ),
    "id"          => "zn_head_s7_toptext",
    "std"         => "",
    "type"        => "text",
    "dependency"  => array( 'element' => 'zn_header_layout' , 'value'=> array('style7', 'style9') )
);

// HEADER STYLE
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Header Style", 'zn_framework' ),
    "description" => __( "Select the desired style for the header", 'zn_framework' ),
    "id"          => "header_style",
    "std"         => "default",
    "type"        => "zn_radio",
    "options"     => array (
        'default'     => __( "Default", 'zn_framework' ),
        'image_color' => __( 'Background Image & color', 'zn_framework' ),
    ),
    'dependency'  => array ( 'element' => 'zn_header_layout', 'value' => array ( 'style1', 'style2', 'style3', 'style4', 'style5', 'style6', 'style9' ) )
);



// HEADER IMAGE
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Header Background Image", 'zn_framework' ),
    "description" => __( "Please choose your desired image to be used as a background", 'zn_framework' ),
    "id"          => "header_style_image",
    "std"         => '',
    "options"     => array ( "repeat" => true, "position" => true, "attachment" => true ),
    "type"        => "background",
    'dependency'  => array ( 'element' => 'header_style', 'value' => array ( 'image_color' ) ),
);

// HEADER Color
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Background Color", 'zn_framework' ),
    "description" => __( "Please choose your desired background color for the header", 'zn_framework' ),
    "id"          => "header_style_color",
    "std"         => '#000',
    "type"        => "colorpicker",
    "class"       => "header_style-image_color",
    'dependency'  => array ( 'element' => 'header_style', 'value' => array ( 'image_color' ) ),
);

// HEADER TEXT COLOR
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Header Text Color", 'zn_framework' ),
    "description" => __( "Please choose a text color scheme. This helps in case you add a dark background and you want light colors, or in case of light background - dark colors for the texts.", 'zn_framework' ),
    "id"          => "header_text_scheme",
    "std"         => '',
    "options"     => array (
        "default" => "Header style default",
        "light" => "Light color",
        "gray" => "Grayish colors",
        "dark" => "Darken colors"
    ),
    "type"        => "select",
    'dependency'  => array ( 'element' => 'header_style', 'value' => array ( 'image_color' ) )
);

$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Show WPML languages ?", 'zn_framework' ),
    "description" => __( "Choose yes if you want to show WPML languages in header. Please note that you will
		need WPML installed.", 'zn_framework' ),
    "id"          => "head_show_flags",
    "std"         => "1",
    "type"        => "zn_radio",
    "options"     => array (
        "1" => __( "Show", 'zn_framework' ),
        "0" => __( "Hide", 'zn_framework' )
    )
);

// Show LINK to LOGIN
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Show Login in header", 'zn_framework' ),
    "description" => __( "Choose yes if you want to show a link that will let users login/register or retrieve their lost password. Please note that in order to show the registration page, you need to allow user registration from General settings.", 'zn_framework' ),
    "id"          => "head_show_login",
    "std"         => "1",
    "type"        => "zn_radio",
    "options"     => array (
        "1" => __( "Show", 'zn_framework' ),
        "0" => __( "Hide", 'zn_framework' )
    )
);

// Show LOGO In header
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Show LOGO in header", 'zn_framework' ),
    "description" => __( "Please choose if you want to display the logo or not.", 'zn_framework' ),
    "id"          => "head_show_logo",
    "std"         => "yes",
    "type"        => "zn_radio",
    "options"     => array (
        "yes" => __( "Show", 'zn_framework' ),
        "no"  => __( "Hide", 'zn_framework' )
    )
);

// Show SEARCH In header
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Show SEARCH in header", 'zn_framework' ),
    "description" => __( "Please choose if you want to display the search button or not.", 'zn_framework' ),
    "id"          => "head_show_search",
    "std"         => "yes",
    "type"        => "zn_radio",
    "options"     => array (
        "yes" => __( "Show", 'zn_framework' ),
        "no"  => __( "Hide", 'zn_framework' )
    )
);

// Show Call to Action Button In header
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Show Call to Action button in header", 'zn_framework' ),
    "description" => __( "Please choose if you want to display the call to action button or not.", 'zn_framework' ),
    "id"          => "head_show_cta",
    "std"         => "no",
    "type"        => "zn_radio",
    "options"     => array (
        "yes" => __( "Show", 'zn_framework' ),
        "no"  => __( "Hide", 'zn_framework' )
    )
);
// Style Call to Action Button In header
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Call to Action button style", 'zn_framework' ),
    "description" => __( "Select a style.", 'zn_framework' ),
    "id"          => "head_show_cta_style",
    "std"         => "ribbon",
    "type"        => "select",
    "options"     => array (
        "ribbon" => __( "Ribbon style", 'zn_framework' ),
        "lined"  => __( "Lined button", 'zn_framework' )
    ),
    'dependency'  => array ( 'element' => 'head_show_cta', 'value' => array ( 'yes' ) ),
);
// BG Color
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Select background color", 'zn_framework' ),
    "description" => __( "Select Call to action (ribbon style) background color.", 'zn_framework' ),
    "id"          => "wpk_cs_bg_color",
    "std"         => '#cd2122',
    "type"        => "colorpicker",
    'dependency'  => array ( 'element' => 'head_show_cta', 'value' => array ( 'yes' ) ),
);

// Set text for Call to Action Button In header
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Set the text for the Call to Action button", 'zn_framework' ),
    "description" => __( "Select the text you want to display int the call to action button.", 'zn_framework' ),
    "id"          => "head_set_text_cta",
    "type"        => "text",
    "std"         => __( "<strong>FREE</strong>QUOTE", 'zn_framework' ),
    'dependency'  => array ( 'element' => 'head_show_cta', 'value' => array ( 'yes' ) ),
);

// FG Color
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Select text color", 'zn_framework' ),
    "description" => __( "Select text color.", 'zn_framework' ),
    "id"          => "wpk_cs_fg_color",
    "std"         => '#fff',
    "type"        => "colorpicker",
    'dependency'  => array ( 'element' => 'head_show_cta', 'value' => array ( 'yes' ) ),
);


// Add link to Call to Action Button
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Set the link for the Call to Action button in header", 'zn_framework' ),
    "description" => __( "Set the URL to link the Call to Action button to.", 'zn_framework' ),
    "id"          => "head_add_cta_link",
    "std"         => "",
    "type"        => "link",
    'dependency'  => array ( 'element' => 'head_show_cta', 'value' => array ( 'yes' ) ),
);





// Show Info Card on Logo Hover
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Show Info Card when you hover over the logo", 'zn_framework' ),
    "description" => __( "Please choose if you want to display the info card or not.", 'zn_framework' ),
    "id"          => "infocard_display_status",
    "std"         => "no",
    "type"        => "zn_radio",
    "options"     => array (
        "yes" => __( "Show", 'zn_framework' ),
        "no"  => __( "Hide", 'zn_framework' )
    )
);

$saved_main_color = zget_option( 'zn_main_color', 'color_options', false, '#cd2122' );
// Background for the Info Card
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Set a background for the Info Card", 'zn_framework' ),
    "description" => __( "Choose the background color for the Info Card", 'zn_framework' ),
    "id"          => "infocard_bg_color",
    "std"         => $saved_main_color,
    "type"        => "colorpicker",
    'dependency'  => array ( 'element' => 'infocard_display_status', 'value' => array ( 'yes' ) ),
);

// Info Card company logo
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Choose company logo", 'zn_framework' ),
    "description" => __( "Choose your company logo which will appear in info card", 'zn_framework' ),
    "id"          => "infocard_logo_url",
    "std"         => "",
    "type"        => "media",
    'dependency'  => array ( 'element' => 'infocard_display_status', 'value' => array ( 'yes' ) ),
);

// Info Card company description
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Company Description", 'zn_framework' ),
    "description" => __( "Please type a small description of your company", 'zn_framework' ),
    "id"          => "infocard_company_description",
    "std"         => "Kallyas is an ultra-premium, responsive theme built for today websites.",
    "type"        => "text",
    'dependency'  => array ( 'element' => 'infocard_display_status', 'value' => array ( 'yes' ) ),
);

// Info Card company description
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Company phone", 'zn_framework' ),
    "description" => __( "Please type your company phone number", 'zn_framework' ),
    "id"          => "infocard_company_phone",
    "std"         => __( "T (212) 555 55 00", 'zn_framework' ),
    "type"        => "text",
    'dependency'  => array ( 'element' => 'infocard_display_status', 'value' => array ( 'yes' ) ),
);

// Info Card company description
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Company email", 'zn_framework' ),
    "description" => __( "Please type your company email", 'zn_framework' ),
    "id"          => "infocard_company_email",
    "std"         => __( "sales@yourwebsite.com", 'zn_framework' ),
    "type"        => "text",
    'dependency'  => array ( 'element' => 'infocard_display_status', 'value' => array ( 'yes' ) ),
);

// Info Card company name
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Company name", 'zn_framework' ),
    "description" => __( "Type your company name here", 'zn_framework' ),
    "id"          => "infocard_company_name",
    "std"         => __( "Your Company LTD", 'zn_framework' ),
    "type"        => "text",
    'dependency'  => array ( 'element' => 'infocard_display_status', 'value' => array ( 'yes' ) ),
);

// Info Card company address
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Company address", 'zn_framework' ),
    "description" => __( "Type your company address here", 'zn_framework' ),
    "id"          => "infocard_company_address",
    "std"         => __( "Street nr 100, 4536534, Chicago, US", 'zn_framework' ),
    "type"        => "text",
    'dependency'  => array ( 'element' => 'infocard_display_status', 'value' => array ( 'yes' ) ),
);

// Info Card company name
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Company map link", 'zn_framework' ),
    "description" => __( "Please enter you company map link", 'zn_framework' ),
    "id"          => "infocard_gmap_link",
    "std"         => "http://goo.gl/maps/1OhOu",
    "type"        => "text",
    'dependency'  => array ( 'element' => 'infocard_display_status', 'value' => array ( 'yes' ) ),
);

// Show/Hide Social Icons in header
$admin_options[] = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Show or hide the Social icons in the header.", 'zn_framework' ),
    "description" => __( "Please select the visibility status of the Social Icons(this setting will not affect
        the visibility of Social Icons from the info Card)", 'zn_framework' ),
    "id"          => "social_icons_visibility_status",
    "std"         => "yes",
    "type"        => "zn_radio",
    "options"     => array (
        "yes" => __( "Show", 'zn_framework' ),
        "no"  => __( "Hide", 'zn_framework' )
    )
);

$admin_options[]         = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Use normal or colored social icons?", 'zn_framework' ),
    "description" => __( "Here you can choose to use the normal social icons or the colored version of each
        icon.", 'zn_framework' ),
    "id"          => "header_which_icons_set",
    "std"         => "",
    "type"        => "select",
    "options"     => array (
        'normal'  => __( 'Normal Icons', 'zn_framework' ),
        'colored' => __( 'Colored icons', 'zn_framework' ),
        'colored_hov' => __( 'Colored on Hover icons', 'zn_framework' ),
        'clean' => __( 'Clean icons', 'zn_framework' )
    ),
    "class"       => ""
);

$admin_options[]         = array (
    'slug'        => 'header_options',
    'parent'      => 'general_options',
    "name"        => __( "Social Icons", 'zn_framework' ),
    "description" => __( "Here you can configure what social icons to appear on the right side of the header.", 'zn_framework' ),
    "id"          => "header_social_icons",
    "std"         => "",
    "type"        => "group",
    "element_title"    => "header_social_title",
    "add_text"    => __( "Social Icon", 'zn_framework' ),
    "remove_text" => __( "Social Icon", 'zn_framework' ),
    "subelements" => array (
        array (
            "name"        => __( "Icon title", 'zn_framework' ),
            "description" => __( "Here you can enter a title for this social icon.Please note that this is just
				for your information as this text will not be visible on the site.", 'zn_framework' ),
            "id"          => "header_social_title",
            "std"         => "",
            "type"        => "text"
        ),
        array (
            "name"        => __( "Social icon link", 'zn_framework' ),
            "description" => __( "Please enter your desired link for the social icon. If this field is left
				blank, the icon will not be linked.", 'zn_framework' ),
            "id"          => "header_social_link",
            "std"         => "",
            "type"        => "link",
            "options"     => array (
                '_blank' => __( "New window", 'zn_framework' ),
                '_self'  => __( "Same window", 'zn_framework' )
            )
        ),
        array (
            "name"        => __( "Social icon Background color", 'zn_framework' ),
            "description" => __( "Select a background color for the icon (if you selected <strong>Colored</strong> or <strong>Colored on hover</strong> options)", 'zn_framework' ),
            "id"          => "header_social_color",
            "std"         => "#000",
            "type"        => "colorpicker"
        ),
        array (
            "name"        => __( "Social icon", 'zn_framework' ),
            "description" => __( "Select your desired social icon.", 'zn_framework' ),
            "id"          => "header_social_icon",
            "std"         => "",
            "type"        => "icon_list",
            'class'       => 'zn_full'
        )
    ),
    "class"       => ""
);
