Ejemplo n.º 1
0
function add_post_option_element()
{
    global $post, $post_meta_boxes;
    // init array
    $post_meta_boxes['Choose Left Sidebar']['options'] = get_sidebar_name();
    $post_meta_boxes['Choose Right Sidebar']['options'] = $post_meta_boxes['Choose Left Sidebar']['options'];
    echo '<div id="gdl-overlay-wrapper">';
    ?>
 <div class="post-option-meta" id="post-option-meta"> <?php 
    set_nonce();
    foreach ($post_meta_boxes as $meta_box) {
        if ($meta_box['type'] == 'imagepicker') {
            $xml_string = get_post_meta($post->ID, $meta_box['xml'], true);
            if (!empty($xml_string)) {
                $xml_val = new DOMDocument();
                $xml_val->loadXML($xml_string);
                $meta_box['value'] = $xml_val->documentElement;
            }
        } else {
            if ($meta_box['type'] == 'open' || $meta_box['type'] == 'close') {
            } else {
                $meta_box['value'] = get_post_meta($post->ID, $meta_box['name'], true);
            }
        }
        print_meta($meta_box);
        if ($meta_box['type'] != 'open' && $meta_box['type'] != 'close') {
            echo "<div class='clear'></div>";
            echo empty($meta_box['hr']) ? '<hr class="separator mt20">' : '';
        }
    }
    ?>
 </div> <?php 
    echo '</div>';
}
Ejemplo n.º 2
0
function add_page_option_element()
{
    global $post, $page_meta_boxes;
    //init array
    $page_meta_boxes['Page Item']['name']['Blog']['category']['options'] = get_category_list('category');
    $page_meta_boxes['Page Item']['name']['Blog']['read-the-blog']['options'] = array_merge(array('None'), get_post_slug_list('page'));
    $page_meta_boxes['Page Item']['name']['Gallery']['page']['options'] = get_post_slug_list('gdl-gallery');
    $page_meta_boxes['Page Item']['name']['Personnal']['category']['options'] = get_category_list('personnal-category');
    $page_meta_boxes['Page Item']['name']['Package']['category']['options'] = get_category_list('package-category');
    $page_meta_boxes['Page Item']['name']['Portfolio']['category']['options'] = get_category_list('portfolio-category');
    $page_meta_boxes['Page Item']['name']['Portfolio']['view-all-portfolio']['options'] = array_merge(array('None'), get_post_slug_list('page'));
    $page_meta_boxes['Page Item']['name']['Post-Slider']['category']['options'] = get_category_list('category');
    $page_meta_boxes['Page Item']['name']['Price-Item']['category']['options'] = get_category_list('price-table-category');
    $page_meta_boxes['Page Item']['name']['Testimonial']['category']['options'] = get_category_list('testimonial-category');
    $page_meta_boxes['Choose Left Sidebar']['options'] = get_sidebar_name();
    $page_meta_boxes['Choose Right Sidebar']['options'] = $page_meta_boxes['Choose Left Sidebar']['options'];
    echo '<div id="gdl-overlay-wrapper">';
    echo '<div id="gdl-overlay-content">';
    set_nonce();
    //get value
    foreach ($page_meta_boxes as $page_meta_box) {
        if ($page_meta_box['type'] == 'page-option-item') {
            $page_meta_box['value'] = get_post_meta($post->ID, $page_meta_box['xml'], true);
            print_page_default_elements($page_meta_box);
            print_page_selected_elements($page_meta_box);
        } else {
            if ($page_meta_box['type'] == 'imagepicker') {
                $slider_xml_string = get_post_meta($post->ID, $page_meta_box['xml'], true);
                if (!empty($slider_xml_string)) {
                    $slider_xml_val = new DOMDocument();
                    $slider_xml_val->loadXML($slider_xml_string);
                    $page_meta_box['value'] = $slider_xml_val->documentElement;
                }
                print_meta($page_meta_box);
            } else {
                if (empty($page_meta_box['name'])) {
                    $page_meta_box['name'] = '';
                }
                $page_meta_box['value'] = get_post_meta($post->ID, $page_meta_box['name'], true);
                print_meta($page_meta_box);
            }
        }
        echo "<div class='clear'></div>";
        if (empty($page_meta_box['hr'])) {
            if ($page_meta_box['type'] != 'open' && $page_meta_box['type'] != 'close') {
                echo '<hr class="separator mt20">';
            }
        }
    }
    echo '</div>';
    echo '</div>';
}
Ejemplo n.º 3
0
function spousebox($p)
{
    $query = "\n        SELECT\n            p2,\n            sort_date\n        FROM\n            couples\n        WHERE\n            p1 = {$p}\n        ORDER BY\n            sort_date\n    ";
    $handle = pg_query($query);
    $num_rows = pg_num_rows($handle);
    if ($num_rows) {
        echo "<!-- list spouses of proband -->\n" . "<table class=\"nav\">\n" . "<tr><td class=\"linkbox\">Ektefeller:</td></tr>\n";
        while ($row = pg_fetch_row($handle)) {
            echo '<tr><td class="nav">' . get_sidebar_name($row[0]) . "</td></tr>\n";
        }
        echo "</table>\n";
    }
}
Ejemplo n.º 4
0
 public function page_builder_element_class()
 {
     global $page_meta_boxes;
     //$page_meta_boxes['Page Item']['name']['Toggle-Box'] = $this->toggle_box;
     $page_meta_boxes['Page Item']['name']['Tab'] = $this->tab_variable;
     $page_meta_boxes['Page Item']['name']['Divider'] = $this->divider_var;
     $page_meta_boxes['Page Item']['name']['Column'] = $this->column_var;
     $page_meta_boxes['Page Item']['name']['Accordion'] = $this->accordion_var;
     $page_meta_boxes['Page Item']['name']['Services'] = $this->service_variable;
     $page_meta_boxes['Page Item']['name']['Sidebar'] = $this->sidebar_section;
     $page_meta_boxes['Page Item']['name']['Sidebar']['sidebar-layout-select']['options'] = get_sidebar_name();
     $page_meta_boxes['Page Item']['name']['Division_Start'] = $this->div_start;
     $page_meta_boxes['Page Item']['name']['Division_End'] = $this->div_end;
 }
Ejemplo n.º 5
0
function add_page_option_element()
{
    global $post, $page_meta_boxes;
    //init array
    $page_meta_boxes['Page Item']['name']['Blog']['category']['options'] = get_category_list('category');
    $page_meta_boxes['Page Item']['name']['Gallery']['page']['options'] = get_title_list('gallery');
    $page_meta_boxes['Page Item']['name']['Portfolio']['category']['options'] = get_category_list('portfolio-category');
    $page_meta_boxes['Page Item']['name']['Portfolio']['view-all-project']['options'] = array_merge(array('No'), get_title_list('page'));
    $page_meta_boxes['Page Item']['name']['Testimonial']['category']['options'] = get_category_list('testimonial-category');
    $page_meta_boxes['Page Item']['name']['Testimonial']['specific']['options'] = get_title_list('testimonial');
    $page_meta_boxes['Choose Left Sidebar']['options'] = get_sidebar_name();
    $page_meta_boxes['Choose Right Sidebar']['options'] = $page_meta_boxes['Choose Left Sidebar']['options'];
    $page_meta_boxes['Bg Slider Type']['options'] = array_merge(array('Current Page'), get_title_list('page'));
    echo '<div id="gdl-overlay-wrapper">';
    echo '<div id="gdl-overlay-content">';
    set_nonce();
    //get value
    foreach ($page_meta_boxes as $page_meta_box) {
        if ($page_meta_box['type'] == 'open' || $page_meta_box['type'] == 'close' || $page_meta_box['type'] == 'text') {
            print_meta($page_meta_box);
        } else {
            if ($page_meta_box['type'] == 'page-option-item') {
                $page_meta_box['value'] = get_post_meta($post->ID, $page_meta_box['xml'], true);
                print_page_default_elements($page_meta_box);
                print_page_selected_elements($page_meta_box);
            } else {
                if ($page_meta_box['type'] == 'imagepicker') {
                    $slider_xml_string = get_post_meta($post->ID, $page_meta_box['xml'], true);
                    if (!empty($slider_xml_string)) {
                        $slider_xml_val = new DOMDocument();
                        $slider_xml_val->loadXML($slider_xml_string);
                        $page_meta_box['value'] = $slider_xml_val->documentElement;
                    }
                    print_meta($page_meta_box);
                } else {
                    $page_meta_box['value'] = get_post_meta($post->ID, $page_meta_box['name'], true);
                    print_meta($page_meta_box);
                }
            }
        }
        echo "<div class='clear'></div>";
        echo empty($page_meta_box['hr']) ? '<hr class="separator mt20">' : '';
    }
    echo '</div>';
    echo '</div>';
}
Ejemplo n.º 6
0
function add_package_option_element()
{
    global $post, $package_meta_boxes;
    // init array
    $package_meta_boxes['Choose Left Sidebar']['options'] = get_sidebar_name();
    $package_meta_boxes['Choose Right Sidebar']['options'] = $package_meta_boxes['Choose Left Sidebar']['options'];
    echo '<div id="gdl-overlay-wrapper">';
    ?>
 <div class="testimonial-option-meta" id="testimonial-option-meta"> <?php 
    set_nonce();
    foreach ($package_meta_boxes as $meta_box) {
        $meta_box['value'] = get_post_meta($post->ID, $meta_box['name'], true);
        print_meta($meta_box);
        if (empty($meta_box['hr'])) {
            echo '<hr class="separator mt20" />';
        }
    }
    ?>
 </div> <?php 
    echo '</div>';
}
Ejemplo n.º 7
0
/*	
 *	Goodlayers Option File
 *	---------------------------------------------------------------------
 * 	@version	1.0
 * 	@author		Goodlayers
 * 	@link		http://goodlayers.com
 * 	@copyright	Copyright (c) Goodlayers
 *	---------------------------------------------------------------------
 *	This file contains the goodlayers panel elements and create the 
 *	goodlayers panel to the back-end of the framework
 *	---------------------------------------------------------------------
 */
// goodlayers panel navigation elements
$goodlayers_menu = array(__('General', 'gdl_back_office') => array(__('Page Style', 'gdl_back_office') => 'gdl_panel_page_style', __('Blog / Port Style', 'gdl_back_office') => 'gdl_panel_blog_port_style', __('Search / Archive Style', 'gdl_back_office') => 'gdl_panel_search_archive_style', __('Sidebar', 'gdl_back_office') => 'gdl_panel_sidebar', __('Footer Style', 'gdl_back_office') => 'gdl_panel_footer_style', __('Google Analytics', 'gdl_back_office') => 'gdl_panel_google_analytics', __('Favicon', 'gdl_back_office') => 'gdl_panel_favicon', __('Woo Commerce', 'gdl_back_office') => 'gdl_panel_woo_commerce', __('Export/Import Option', 'gdl_back_office') => 'gdl_export_theme_option'), __('Font Style', 'gdl_back_office') => array(__('Font Size', 'gdl_back_office') => 'gdl_panel_font_size', __('Font Family', 'gdl_back_office') => 'gdl_panel_font', __('Font Style (Google)', 'gdl_back_office') => 'gdl_panel_google_font', __('Upload Font', 'gdl_back_office') => 'gdl_panel_upload_font'), __('Overall Elements', 'gdl_back_office') => array(__('Header / Logo', 'gdl_back_office') => 'gdl_panel_logo', __('Top Bar / Navigation', 'gdl_back_office') => 'gdl_panel_top_navigation', __('Background Style', 'gdl_back_office') => 'gdl_panel_background', __('Icon Style', 'gdl_back_office') => 'gdl_panel_icon_style', __('Social Network', 'gdl_back_office') => 'gdl_panel_social_network', __('Social Shares', 'gdl_back_office') => 'gdl_panel_social_shares', __('Footer / Copyright', 'gdl_back_office') => 'gdl_panel_copyright_area'), __('Elements Color', 'gdl_back_office') => array(__('Top Bar / Post Sliding', 'gdl_back_office') => 'gdl_panel_header_top_bar', __('Navigation', 'gdl_back_office') => 'gdl_panel_header_navigation', __('Body', 'gdl_back_office') => 'gdl_panel_body', __('Sidebar / Top Footer', 'gdl_back_office') => 'gdl_panel_sidebar_color', __('Footer / Copyright', 'gdl_back_office') => 'gdl_panel_footer', __('Slider / Stunning text', 'gdl_back_office') => 'gdl_panel_slider', __('Blog / Pagination', 'gdl_back_office') => 'gdl_panel_blog_pagination', __('Portfolio', 'gdl_back_office') => 'gdl_panel_portfolio', __('Contact / Comments', 'gdl_back_office') => 'gdl_panel_contact_form', __('Price / Personnel Item', 'gdl_back_office') => 'gdl_panel_price_personnal_item', __('Additional Elements', 'gdl_back_office') => 'gdl_panel_additional_elements', __('Additional Elements 2', 'gdl_back_office') => 'gdl_panel_additional_elements_2', __('Load Default Color', 'gdl_back_office') => 'gdl_panel_load_default_color'), __('Translator', 'gdl_back_office') => array(__('Enable Admin Translator', 'gdl_back_office') => 'gdl_panel_enable_admin_translator', __('Blog/Portfolio', 'gdl_back_office') => 'gdl_panel_blog_port_translator', __('Contact Form', 'gdl_back_office') => 'gdl_panel_contact_form_translator', __('Additional Elements', 'gdl_back_office') => 'gdl_panel_additional_elements_translator'), __('Plugin Setting', 'gdl_back_office') => array(__('Enable/Disable Plugin', 'gdl_back_office') => 'gdl_panel_plugin_enable', __('Nivo Slider', 'gdl_back_office') => 'gdl_panel_nivo_slider', __('Flex / Carousel Slider', 'gdl_back_office') => 'gdl_panel_flex_slider', __('Anything Slider', 'gdl_back_office') => 'gdl_panel_anything_slider', __('Disable Right Click', 'gdl_back_office') => 'gdl_panel_disable_right_click'));
// goodlayers panel elements ( the head of array links to the menu of navigation elements )
$goodlayers_element = array('gdl_panel_page_style' => array(__('ENABLE RESPONSIVE', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_responsive', 'description' => '*** Anything slider will not supported with the responsive mode ***'), __('CUT EXCERPT BY SPACE', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_space_excerpt', 'description' => 'Enabling this will make the theme cut the end of the excerpt by considering the space.' . ' ( Only use with language that divides the word by space )'), __('DEFAULT DATE FORMAT', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_default_date_format', 'default' => 'd M Y', 'description' => 'See more details about the date format here. http://codex.wordpress.org/Formatting_Date_and_Time'), __('DEFAULT WIDGET DATE FORMAT', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_default_widget_date_format', 'default' => 'd M Y', 'description' => 'See more details about the date format here. http://codex.wordpress.org/Formatting_Date_and_Time'), __('ADDITIONAL STYLE (CSS)', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_additional_style', 'body_class' => 'gdl-additional-style')), 'gdl_panel_blog_port_style' => array(__('DEFAULT POST SIDEBAR', 'gdl_back_office') => array('type' => 'radioimage', 'name' => THEME_SHORT_NAME . '_default_post_sidebar', 'default' => 'post-no-sidebar', 'options' => array('1' => array('value' => 'post-right-sidebar', 'default' => 'selected', 'image' => '/include/images/right-sidebar-120.png'), '2' => array('value' => 'post-left-sidebar', 'image' => '/include/images/left-sidebar-120.png'), '3' => array('value' => 'post-both-sidebar', 'image' => '/include/images/both-sidebar-1.png'), '4' => array('value' => 'post-both-sidebar-reverse', 'image' => '/include/images/both-sidebar-2.png'), '5' => array('value' => 'post-no-sidebar', 'image' => '/include/images/no-sidebar-120.png'))), __('DEFAULT POST LEFT SIDEBAR', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_default_post_left_sidebar', 'options' => get_sidebar_name(), 'body' => 'gdl-default-post-left-sidebar'), __('DEFAULT POST RIGHT SIDEBAR', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_default_post_right_sidebar', 'options' => get_sidebar_name(), 'body' => 'gdl-default-post-right-sidebar'), __('RELATED POST', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_gdl_related_post', 'default' => 'portfolio', 'options' => array('Yes', 'No')), __('RELATED POST SIZE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_gdl_related_post_size', 'options' => array('1/4', '1/3', '1/2', '1/1')), __('RELATED POST NUM FETCH', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_gdl_related_post_num_fetch', 'default' => '4'), __('PORTFOLIO PAGE STYLE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_use_portfolio_as', 'options' => array('1' => 'portfolio style', '2' => 'blog style'), 'description' => 'You can choose the portfolio page style to be the portfolio style or the same as blog style.'), __('PORTFOLIO SLUG', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_gdl_portfolio_slug', 'default' => 'portfolio', 'description' => 'Change/Rewrite the permalink when you use the permalink type as %postname%.'), __('RELATED PORTFOLIO', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_gdl_related_portfolio', 'default' => 'portfolio', 'options' => array('Yes', 'No'), 'description' => 'Show related portfolio for portfolio post type.'), __('RELATED PORTFOLIO SIZE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_gdl_related_portfolio_size', 'options' => array('1/4', '1/3', '1/2')), __('RELATED PORTFOLIO NUM FETCH', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_gdl_related_portfolio_num_fetch', 'default' => '4'), __('SHOW RELATED PORTFOLIO TITLE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_gdl_related_portfolio_title', 'options' => array('Yes', 'No')), __('SHOW RELATED PORTFOLIO TAG', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_gdl_related_portfolio_tag', 'options' => array('Yes', 'No'))), 'gdl_panel_search_archive_style' => array(__('SEARCH/ARCHIVE SIDEBAR', 'gdl_back_office') => array('type' => 'radioimage', 'name' => THEME_SHORT_NAME . '_search_archive_sidebar', 'default' => 'no-sidebar', 'options' => array('1' => array('value' => 'right-sidebar', 'default' => 'selected', 'image' => '/include/images/right-sidebar-120.png'), '2' => array('value' => 'left-sidebar', 'image' => '/include/images/left-sidebar-120.png'), '3' => array('value' => 'both-sidebar', 'image' => '/include/images/both-sidebar-1.png'), '4' => array('value' => 'both-sidebar-reverse', 'image' => '/include/images/both-sidebar-2.png'), '5' => array('value' => 'no-sidebar', 'image' => '/include/images/no-sidebar-120.png'))), __('SEARCH/ARCHIVE LEFT SIDEBAR', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_search_archive_left_sidebar', 'options' => get_sidebar_name(), 'body' => 'gdl-default-post-left-sidebar'), __('SEARCH/ARCHIVE RIGHT SIDEBAR', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_search_archive_right_sidebar', 'options' => get_sidebar_name(), 'body' => 'gdl-default-post-right-sidebar'), __('SEARCH/ARCHIVE EXCERPT NUM', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_search_archive_num_excerpt', 'default' => '285', 'description' => 'Input the number of character you want to cut from the content to be the excerpt of search and archive page.'), __('SEARCH/ARCHIVE ITEM SIZE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_search_archive_item_size', 'options' => array('1/4 Blog Grid', '1/3 Blog Grid', '1/2 Blog Grid', '1/1 Blog Grid', '1/1 Medium Thumbnail', '1/1 Blog List')), __('SEARCH/ARCHIVE FULL BLOG CONTENT', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_search_archive_full_blog_content', 'options' => array('No', 'Yes')), __('PORTFOLIO ARCHIVE SIZE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_portfolio_archive_size', 'options' => array('1/4', '1/3', '1/2'), 'default' => '1/3'), __('PORTFOLIO ARCHIVE SHOW TITLE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_portfolio_archive_show_title', 'options' => array('Yes', 'No')), __('PORTFOLIO ARCHIVE SHOW TAGS', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_portfolio_archive_show_tags', 'options' => array('Yes', 'No'))), 'gdl_panel_sidebar' => array(__('CREATE SIDEBAR', 'gdl_back_office') => array('type' => 'sidebar', 'name' => THEME_SHORT_NAME . '_create_sidebar')), 'gdl_panel_footer_style' => array(__('SHOW FOOTER', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_show_footer'), __('CHOOSE FOOTER STYLE', 'gdl_back_office') => array('type' => 'radioimage', 'name' => THEME_SHORT_NAME . '_footer_style', 'default' => 'footer-style1', 'options' => array('1' => array('value' => 'footer-style1', 'image' => '/include/images/footer-style1.png'), '2' => array('value' => 'footer-style2', 'image' => '/include/images/footer-style2.png'), '3' => array('value' => 'footer-style3', 'image' => '/include/images/footer-style3.png'), '4' => array('value' => 'footer-style4', 'image' => '/include/images/footer-style4.png'), '5' => array('value' => 'footer-style5', 'image' => '/include/images/footer-style5.png'), '6' => array('value' => 'footer-style6', 'image' => '/include/images/footer-style6.png')))), 'gdl_panel_google_analytics' => array(__('ENABLE GOOGLE ANALYTICS', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_analytics', 'default' => 'disable'), __('GOOGLE ANALYTICS CODE', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_analytics_code', 'description' => 'Place the code you get from google here. This should be something like <br>' . htmlspecialchars('<script type="text/javascript">') . '<br> ... <br>' . htmlspecialchars('</script>'))), 'gdl_panel_favicon' => array(__('ENABLE FAVICON', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_favicon', 'default' => 'disable', 'description' => 'Upload the .ICO file type to make the favicon support with all browser.'), __('UPLOAD FAVICON ICON', 'gdl_back_office') => array('type' => 'upload', 'name' => THEME_SHORT_NAME . '_favicon_image')), 'gdl_panel_woo_commerce' => array(__('ALL PRODUCTS SIDEBAR', 'gdl_back_office') => array('type' => 'radioimage', 'name' => THEME_SHORT_NAME . '_woo_all_product_sidebar', 'default' => 'all-prod-no-sidebar', 'options' => array('1' => array('value' => 'all-prod-right-sidebar', 'default' => 'selected', 'image' => '/include/images/right-sidebar-120.png'), '2' => array('value' => 'all-prod-left-sidebar', 'image' => '/include/images/left-sidebar-120.png'), '3' => array('value' => 'all-prod-both-sidebar', 'image' => '/include/images/both-sidebar-120.png'), '4' => array('value' => 'all-prod-no-sidebar', 'image' => '/include/images/no-sidebar-120.png'))), __('ALL PRODUCT LEFT SIDEBAR', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_woo_all_product_left_sidebar', 'options' => get_sidebar_name(), 'body' => 'gdl-all-prod-left-sidebar'), __('ALL PRODUCT RIGHT SIDEBAR', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_woo_all_product_right_sidebar', 'options' => get_sidebar_name(), 'body' => 'gdl-all-prod-right-sidebar'), __('SINGLE PRODUCTS SIDEBAR', 'gdl_back_office') => array('type' => 'radioimage', 'name' => THEME_SHORT_NAME . '_woo_single_product_sidebar', 'default' => 'single-prod-no-sidebar', 'options' => array('1' => array('value' => 'single-prod-right-sidebar', 'default' => 'selected', 'image' => '/include/images/right-sidebar-120.png'), '2' => array('value' => 'single-prod-left-sidebar', 'image' => '/include/images/left-sidebar-120.png'), '3' => array('value' => 'single-prod-both-sidebar', 'image' => '/include/images/both-sidebar-120.png'), '4' => array('value' => 'single-prod-no-sidebar', 'image' => '/include/images/no-sidebar-120.png'))), __('SINGLE PRODUCT LEFT SIDEBAR', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_woo_single_product_left_sidebar', 'options' => get_sidebar_name(), 'body' => 'gdl-single-prod-left-sidebar'), __('SINGLE PRODUCT RIGHT SIDEBAR', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_woo_single_product_right_sidebar', 'options' => get_sidebar_name(), 'body' => 'gdl-single-prod-right-sidebar')), 'gdl_export_theme_option' => array(__('EXPORT OPTION', 'gdl_back_office') => array('type' => 'import-export', 'text' => 'Export', 'id' => 'gdl_export_option_button', 'text_id' => 'gdl_export_option_text'), __('IMPORT OPTION', 'gdl_back_office') => array('type' => 'import-export', 'text' => 'Import', 'id' => 'gdl_import_option_button', 'text_id' => 'gdl_import_option_text')), 'gdl_panel_font_size' => array(__('PAGE TITLE SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_header_title_size', 'default' => '21'), __('CONTENT SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_content_size', 'default' => '13'), __('WIDGET TITLE SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_widget_title_size', 'default' => '18', 'descriptoin' => 'Size of the widget title ( that resides in sidebar and footer ).'), __('H1 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h1_size', 'default' => '30', 'description' => 'H1 to H6 size will only effects to the user content ( the h1 to h6 tag that users add them self ) font size. '), __('H2 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h2_size', 'default' => '25'), __('H3 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h3_size', 'default' => '20'), __('H4 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h4_size', 'default' => '18'), __('H5 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h5_size', 'default' => '16'), __('H6 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h6_size', 'default' => '15')), 'gdl_panel_font' => array(__('HEADER FONT', 'gdl_back_office') => array('type' => 'font-combobox', 'name' => THEME_SHORT_NAME . '_header_font', 'default' => '- Oswald', 'description' => 'Choose the header font of this theme. This font will be used in all title and header elements including the slider title.'), __('MAIN NAVIGATION FONT', 'gdl_back_office') => array('type' => 'font-combobox', 'name' => THEME_SHORT_NAME . '_navigation_font', 'default' => '- Oswald'), __('SLIDER TITLE FONT', 'gdl_back_office') => array('type' => 'font-combobox', 'name' => THEME_SHORT_NAME . '_slider_title_font', 'default' => '- Oswald'), __('CONTENT FONT', 'gdl_back_office') => array('type' => 'font-combobox', 'name' => THEME_SHORT_NAME . '_content_font', 'default' => '- default', 'description' => 'Choose the font to use with content. CUFON are not allowed to use with the content font.'), __('STUNNING TEXT FONT', 'gdl_back_office') => array('type' => 'font-combobox', 'name' => THEME_SHORT_NAME . '_stunning_text_font', 'default' => '- default', 'description' => 'Choose the font to use with stunning text title.')), 'gdl_panel_google_font' => array(__('INCLUDE FONT WEIGHT', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_google_font_weight', 'default' => 'n,i,b,bi', 'description' => 'This is an example of the font weight <br><br> 300,400,300italic,400italic'), __('INCLUDE FONT SUBSET', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_google_font_subset', 'default' => 'latin', 'description' => 'This is an example of the font subset <br><br> latin,cyrillic,greek,vietnamese,greek-ext,cyrillic-ext,latin-ext')), 'gdl_panel_upload_font' => array(__('UPLOAD FONT', 'gdl_back_office') => array('type' => 'uploadfont', 'name' => THEME_SHORT_NAME . '_upload_font', 'file' => THEME_SHORT_NAME . '_upload_font_file')), 'gdl_panel_logo' => array(__('LOGO', 'gdl_back_office') => array('type' => 'upload', 'name' => THEME_SHORT_NAME . '_logo'), __('LOGO WIDTH', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_logo_width', 'description' => 'Input 2x logo image and specify the width to make it compatibale with retina supported device'), __('LOGO TOP MARGIN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_logo_top_margin', 'default' => '42', 'description' => 'Input number to set the top space of the logo. Negative value is allowed. Please use -0 instead of 0.'), __('LOGO BOTTOM MARGIN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_logo_bottom_margin', 'default' => '42', 'description' => 'Input number to set the bottom space of the logo. Negative value is allowed. Please use -0 instead of 0.'), __('BANNER IMAGE', 'gdl_back_office') => array('type' => 'upload', 'name' => THEME_SHORT_NAME . '_header_banner_image'), __('BANNER LINK', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_header_banner_image_link'), __('BANNER SCRIPT', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_header_banner_script', 'descripiton' => 'Banner script will be placed under the banner image ( if available )'), __('BANNER TOP MARGIN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_banner_top_margin', 'default' => '35'), __('BANNER MAX WIDTH', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_banner_max_width')), 'gdl_panel_top_navigation' => array(__('ENABLE TOP BAR', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_top_bar'), __('ENABLE TOP SEARCH', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_top_search'), __('TOP BAR RIGHT TEXT', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_top_navigation_right'), __('ENABLE RANDOM POST (ON MAIN MENU)', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_random_post', 'description' => 'Turn on this option to show the random (post) icon at the right side of the main navigation'), __('ENABLE POST SLIDING (UNDER MAIN MENU)', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_top_sliding'), __('POST SLIDING CATEGORY', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_top_sliding_category', 'options' => get_category_list('category')), __('POST SLIDING NUM FETCH', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_top_sliding_num_fetch', 'default' => '10')), 'gdl_panel_background' => array(__('BACKGROUND TYPE', 'gdl_back_office') => array('type' => 'combobox', 'id' => 'gdl_background_style', 'name' => THEME_SHORT_NAME . '_background_style', 'options' => array('0' => 'Pattern', '1' => 'None', '2' => 'Custom Image'), 'description' => 'You can choose the background you want between our pre-provided pettern and your custom image.'), __('CHOOSE PATTERN', 'gdl_back_office') => array('type' => 'radioimage', 'body_class' => 'gdl_background_pattern', 'name' => THEME_SHORT_NAME . '_background_pattern', 'default' => '15', 'options' => array('1' => array('value' => '1', 'image' => '/include/images/pattern/pattern-1.png'), '2' => array('value' => '2', 'image' => '/include/images/pattern/pattern-2.png'), '3' => array('value' => '3', 'image' => '/include/images/pattern/pattern-3.png'), '4' => array('value' => '4', 'image' => '/include/images/pattern/pattern-4.png'), '5' => array('value' => '5', 'image' => '/include/images/pattern/pattern-5.png'), '6' => array('value' => '6', 'image' => '/include/images/pattern/pattern-6.png'), '7' => array('value' => '7', 'image' => '/include/images/pattern/pattern-7.png'), '8' => array('value' => '8', 'image' => '/include/images/pattern/pattern-8.png'), '9' => array('value' => '9', 'image' => '/include/images/pattern/pattern-9.png'), '10' => array('value' => '10', 'image' => '/include/images/pattern/pattern-10.png'), '11' => array('value' => '11', 'image' => '/include/images/pattern/pattern-11.png'), '12' => array('value' => '12', 'image' => '/include/images/pattern/pattern-12.png'), '13' => array('value' => '13', 'image' => '/include/images/pattern/pattern-13.png'), '14' => array('value' => '14', 'image' => '/include/images/pattern/pattern-14.png'), '15' => array('value' => '15', 'image' => '/include/images/pattern/pattern-15.png'))), __('CUSTOM BACKGROUND', 'gdl_back_office') => array('type' => 'upload', 'name' => THEME_SHORT_NAME . '_background_custom', 'body_class' => 'gdl_background_custom')), 'gdl_panel_icon_style' => array(__('TOP SEARCH ICON STYLE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_top_search_icon_type', 'options' => array('1' => 'light', '2' => 'dark')), __('POST SLIDING ICON STYLE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_post_sliding_icon_type', 'options' => array('1' => 'light', '2' => 'dark')), __('BODY ICON STYLE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_icon_type', 'options' => array('1' => 'dark', '2' => 'light'), 'description' => 'This option will change all of the icon in this theme( except from footer ) to be dark/light version.'), __('CAROUSEL ICON STYLE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_carousel_icon_type', 'options' => array('0' => 'light', '1' => 'dark'), 'default' => 'light', 'description' => 'This is left and right icon type of the thumbnail in carousel slider.'), __('BOTTOM TWITTER ICON STYLE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_twitter_icon_type', 'options' => array('0' => 'light', '1' => 'dark'), 'default' => 'light', 'description' => 'There are two icon types in this theme, dark and light, you can choose it to display on the twitter at the bottom of the page.'), __('FOOTER ICON STYLE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_footer_icon_type', 'options' => array('0' => 'light', '1' => 'dark'), 'description' => 'There are two icon types in this theme, dark and light, you can choose it to display on footer.')), 'gdl_panel_social_network' => array(__('DEVIANTART', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_deviantart', 'description' => 'Place the link you want and deviantart icon will appear. To remove it, just leave it blank.'), __('DIGG', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_digg', 'description' => 'Place the link you want and digg icon will appear. To remove it, just leave it blank.'), __('FACEBOOK', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_facebook', 'description' => 'Place the link you want and facebook icon will appear. To remove it, just leave it blank.'), __('FLICKR', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_flickr', 'description' => 'Place the link you want and flickr icon will appear. To remove it, just leave it blank.'), __('LASTFM', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_lastfm', 'description' => 'Place the link you want and lastfm icon will appear. To remove it, just leave it blank.'), __('LINKEDIN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_linkedin', 'description' => 'Place the link you want and linkedin icon will appear. To remove it, just leave it blank.'), __('PICASA', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_picasa', 'description' => 'Place the link you want and picasa icon will appear. To remove it, just leave it blank.'), __('RSS', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_rss', 'description' => 'Place the link you want and feed icon will appear. To remove it, just leave it blank.'), __('STUMBLE UPON', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_stumble_upon', 'description' => 'Place the link you want and stumble upon icon will appear. To remove it, just leave it blank.'), __('TUMBLR', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_tumblr', 'description' => 'Place the link you want and tumblr icon will appear. To remove it, just leave it blank.'), __('TWITTER', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_twitter', 'description' => 'Place the link you want and twitter icon will appear. To remove it, just leave it blank.'), __('VIMEO', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_vimeo', 'description' => 'Place the link you want and vimeo icon will appear. To remove it, just leave it blank.'), __('YOUTUBE', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_youtube', 'description' => 'Place the link you want and youtube icon will appear. To remove it, just leave it blank.'), __('GOOGLE PLUS', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_google_plus', 'description' => 'Place the link you want and google plus icon will appear. To remove it, just leave it blank.'), __('EMAIL', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_email', 'description' => 'Place the link you want and email icon will appear. To remove it, just leave it blank.'), __('PINTEREST', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_pinterest', 'description' => 'Place the link you want and pinterest icon will appear. To remove it, just leave it blank.')), 'gdl_panel_social_shares' => array(__('FACEBOOK', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_facebook_share', 'description' => 'Toggle to enable/disable the facebook shares in blog and portfolio page.'), __('TWITTER', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_twitter_share', 'description' => 'Toggle to enable/disable the twitter shares in blog and portfolio page.'), __('STUMBLE UPON', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_stumble_upon_share', 'description' => 'Toggle to enable/disable the stumble upon shares in blog and portfolio page.'), __('MY SPACE', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_my_space_share', 'description' => 'Toggle to enable/disable the my spce shares in blog and portfolio page.'), __('DIGG', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_digg_share', 'description' => 'Toggle to enable/disable the digg shares in blog and portfolio page.'), __('REDDIT', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_reddit_share', 'description' => 'Toggle to enable/disable the reddit shares in blog and portfolio page.'), __('LINKEDIN', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_linkedin_share', 'description' => 'Toggle to enable/disable the linkedin shares in blog and portfolio page.'), __('GOOGLE PLUS', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_google_plus_share', 'description' => 'Toggle to enable/disable the google plus shares in blog and portfolio page.'), __('PINTEREST', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_pinterest_share', 'description' => 'Toggle to enable/disable the pinterest shares in blog and portfolio page.')), 'gdl_panel_copyright_area' => array(__('SHOW TWITTER BAR', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_show_twitter_bar', 'default' => 'disable'), __('SHOW TWITTER ONLY HOMEPAGE', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_show_twitter_only_homepage', 'default' => 'disable'), __('TWITTER ID', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_twitter_bar_id', 'description' => 'Follow this http://support.goodlayers.com/fixing-using-twitter-widget to see how to get the twitter authentication information'), __('CONSUMER KEY', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_twitter_bar_consumer_id'), __('CONSUMER SECRET', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_twitter_bar_consumer_secret'), __('ACCESS TOKEN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_twitter_bar_access_token'), __('ACCESS TOKEN SECRET', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_twitter_bar_access_token_secret'), __('CACHE TIME (HOURS)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_twitter_bar_cache_time', 'default' => '1'), __('TWITTER NUM FETCH', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_twitter_num_fetch', 'default' => '5'), __('SHOW COPYRIGHT', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_show_copyright'), __('COPYRIGHT TEXT', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_copyright_left_area')), 'gdl_panel_header_top_bar' => array(__('TOP BAR TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_bar_text', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => '.top-navigation-wrapper, .top-navigation-wrapper a'), __('TOP BAR BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_bar_background', 'default' => '#000000', 'attr' => array('background-color'), 'selector' => '.top-navigation-wrapper'), __('TOP NAV TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_nav_text', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => '.top-navigation-left a'), __('TOP NAV TEXT CURRENT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_nav_text_current', 'default' => '#dddddd', 'attr' => array('color'), 'selector' => '.top-menu li a:hover, .top-menu li.current-menu-ancestor a, .top-menu li.current-menu-item a, .top-menu li.current-post-ancestor a'), __('TOP NAV BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_nav_text_border', 'default' => '#ffffff', 'attr' => array('border-color'), 'selector' => '.top-navigation-left a'), __('TOP NAV SUB MENU TOP BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_nav_sub_menu_border', 'default' => '#b6b6b6', 'attr' => array('border-color'), 'selector' => 'ul.top-menu li.sfHover ul'), __('TOP NAV SUB MENU TOP DIVIDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_nav_sub_menu_top_divider', 'default' => '#000000', 'attr' => array('border-bottom-color'), 'selector' => 'ul.top-menu li ul li a'), __('TOP NAV SUB MENU BOTTOM DIVIDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_nav_sub_menu_bottom_divider', 'default' => '#383838', 'attr' => array('border-top-color'), 'selector' => 'ul.top-menu li ul li a'), __('TOP NAV SUB MENU TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_nav_sub_menu_text', 'default' => '#bcbcbc', 'attr' => array('color'), 'selector' => 'ul.top-menu li li a, ul.top-menu li.current-menu-item li a, ul.top-menu li.current-menu-ancestor li a, ul.top-menu li li.current-menu-item li a, ul.top-menu li li.current-menu-ancestor li a, ul.top-menu li.current-post-ancestor li a'), __('TOP NAV SUB MENU TEXT CURRENT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_nav_sub_menu_text_current', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'ul.top-menu li li a:hover, ul.top-menu li li.current-menu-item li a:hover, .top-menu li li.current-menu-ancestor li a:hover, ' . 'ul.top-menu li li.current-menu-item a, ul.top-menu li li.current-menu-ancestor a, ul.top-menu li li.current-menu-ancestor li.current-menu-item a, ul.top-menu li li.current-post-ancestor a'), __('TOP NAV SUB MENU BG', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_nav_sub_menu_bg', 'default' => '#282828', 'attr' => array('background-color'), 'selector' => 'ul.top-menu ul'), __('TOP SEARCH BUTTON BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_search_button_border', 'default' => '#bababa', 'attr' => array('border-color'), 'selector' => 'div.top-search-wrapper input[type="submit"]'), __('TOP SEARCH TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_search_text', 'default' => '#a3a3a3', 'attr' => array('color'), 'selector' => 'div.top-search-wrapper input[type="text"]'), __('TOP SEARCH TEXT BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_search_background', 'default' => '#3a3a3a', 'attr' => array('background-color'), 'selector' => 'div.top-search-wrapper input[type="text"]'), __('POST SLIDING BAR BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_sliding_bar_background', 'default' => '#333333', 'attr' => array('background-color'), 'selector' => 'div.header-top-marquee'), __('POST SLIDING BAR HEAD TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_sliding_bar_head_text', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'div.header-top-marquee .marquee-head'), __('POST SLIDING BAR LINK', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_sliding_bar_link', 'default' => '#c7c7c7', 'attr' => array('color'), 'selector' => 'div.header-top-marquee .marquee-wrapper a'), __('POST SLIDING BAR BOTTOM BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_sliding_bar_bottom_border', 'default' => '#d10000', 'attr' => array('border-color'), 'selector' => 'div.header-top-marquee')), 'gdl_panel_header_navigation' => array(__('MAIN NAVIGATION BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_background', 'default' => '#000000', 'attr' => array('background-color'), 'selector' => '.gdl-navigation-wrapper, .main-navigation-wrapper, .sf-menu li a'), __('MAIN NAVIGATION HOVER BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_background_hover', 'default' => '#cf2121', 'attr' => array('background-color'), 'selector' => '.sf-menu li a:hover'), __('MAIN NAVIGATION CURRENT BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_background_current', 'default' => '#cf2121', 'attr' => array('background-color'), 'selector' => '.sf-menu li.current-menu-ancestor a, .sf-menu li.current-menu-item a, .sf-menu li.current-post-ancestor a'), __('MAIN NAVIGATION TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_text', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => '.sf-menu li a, div.random-post a', 'description' => 'This is the text color of the main navigation in the normal state.'), __('MAIN NAVIGATION TEXT HOVER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_text_hover', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => '.sf-menu li a:hover', 'description' => 'This is the text color of the main navigation in "hover" state.'), __('MAIN NAVIGATION TEXT CURRENT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_text_current', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => '.sf-menu li.current-menu-ancestor a, .sf-menu li.current-menu-item a, .sf-menu li.current-post-ancestor a', 'description' => 'This is the text color of the main navigation in "current page" state.'), __('SUB NAVIGATION BOTTOM BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_top_border', 'default' => '#ce2121', 'attr' => array('border-bottom-color'), 'selector' => 'ul.sf-menu ul.sub-menu'), __('SUB NAVIGATION TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_text', 'default' => '#c1c1c1', 'attr' => array('color'), 'selector' => 'ul.sf-menu li li a, ul.sf-menu li.current-menu-item li a, ul.sf-menu li.current-menu-ancestor li a, ul.sf-menu li li.current-menu-item li a, ul.sf-menu li li.current-menu-ancestor li a, ul.sf-menu li.current-post-ancestor li a'), __('SUB NAVIGATION BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_background', 'default' => '#171717', 'attr' => array('background-color'), 'selector' => 'ul.sf-menu li li a, ul.sf-menu li.current-menu-item li a, ul.sf-menu li.current-menu-ancestor li a, ul.sf-menu li li.current-menu-item li a, ul.sf-menu li li.current-menu-ancestor li a, ul.sf-menu li.current-post-ancestor li a'), __('SUB NAVIGATION TEXT HOVER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_text_hover', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'ul.sf-menu li li a:hover, ul.sf-menu li li.current-menu-item li a:hover, .sf-menu li li.current-menu-ancestor li a:hover'), __('SUB NAVIGATION BACKGROUND HOVER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_background_hover', 'default' => '#cf2121', 'attr' => array('background-color'), 'selector' => 'ul.sf-menu li li a:hover, ul.sf-menu li li.current-menu-item li a:hover, .sf-menu li li.current-menu-ancestor li a:hover'), __('SUB NAVIGATION TEXT CURRENT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_text_current', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'ul.sf-menu li li.current-menu-item a, ul.sf-menu li li.current-menu-ancestor a, ul.sf-menu li li.current-menu-ancestor li.current-menu-item a, ul.sf-menu li li.current-post-ancestor a'), __('SUB NAVIGATION BACKGROUND CURRENT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_background_current', 'default' => '#cf2121', 'attr' => array('background-color'), 'selector' => 'ul.sf-menu li li.current-menu-item a, ul.sf-menu li li.current-menu-ancestor a, ul.sf-menu li li.current-menu-ancestor li.current-menu-item a, ul.sf-menu li li.current-post-ancestor a')), 'gdl_panel_body' => array(__('PAGE HEADER BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_page_whole_header_background', 'default' => '#ab1b1b', 'attr' => array('background-color'), 'selector' => 'div.header-wrapper'), __('PAGE HEADER TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_page_header_title_color', 'default' => '#cf2121', 'attr' => array('color'), 'selector' => 'h1.page-header-title'), __('PAGE HEADER CAPTION', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_page_header_caption', 'default' => '#999999', 'attr' => array('color'), 'selector' => 'div.page-header-caption'), __('PAGE HEADER BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_page_header_border', 'default' => '#313131', 'attr' => array('border-color'), 'selector' => 'div.page-header-inner-wrapper'), __('ITEM HEADER TITLE', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_item_header_title', 'default' => '#cf2121', 'attr' => array('color'), 'selector' => 'h3.gdl-header-title'), __('ITEM HEADER BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_item_header_border', 'default' => '#313131', 'attr' => array('border-color'), 'selector' => 'div.gdl-header-wrapper, ' . 'div.comment-wrapper .comment-title, div.comment-wrapper #reply-title, .gdl-item-border'), __('ITEM HEADER ARROW', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_item_header_arrow_color', 'default' => '#313131', 'attr' => array('color'), 'selector' => 'div.gdl-header-wrapper .icon-double-angle-right'), __('TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_title_color', 'default' => '#111111', 'attr' => array('color'), 'selector' => 'h1, h2, h3, h4, h5, h6', 'description' => 'Change this title color wil effects all title in this theme except footer title, sidebar title, blog thumbnail title and portolio thumbnail title color.'), __('CONTENT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_content_color', 'default' => '#505050', 'attr' => array('color'), 'selector' => 'body'), __('BODY BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_body_background', 'default' => '#404040', 'attr' => array('background-color'), 'selector' => 'html', 'description' => 'Body background will NOT take effects when user use the image as background or use the non transparent pattern '), __('CONTAINER BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_container_background', 'default' => '#ffffff', 'attr' => array('background-color'), 'selector' => '.container.main, .gdl-container-color'), __('LINK COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_link_color', 'default' => '#ce2121', 'attr' => array('color'), 'selector' => 'a', 'description' => 'This color effects all of the link color in this theme.'), __('LINK HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_link_hover_color', 'default' => '#ce7777', 'attr' => array('color'), 'selector' => 'a:hover', 'description' => 'This color effects all of the link color on "hover" state in this theme.'), __('SELECTION TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_selection_text_clor', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => '::selection, ::-moz-selection'), __('SELECTION BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_selection_background', 'default' => '#4f4f4f', 'attr' => array('background-color'), 'selector' => '::selection, ::-moz-selection', 'description' => 'This is the background color when the text is selected ( hightlight ) on your site.')), 'gdl_panel_sidebar_color' => array(__('SIDEBAR LINK COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sidebar_link_color', 'default' => '#1f1f1f', 'attr' => array('color'), 'selector' => '.sidebar-wrapper a'), __('SIDEBAR LINK HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sidebar_link_hover_color', 'default' => '#9c9c9c', 'attr' => array('color'), 'selector' => '.sidebar-wrapper a:hover'), __('SIDEBAR TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sidebar_title_color', 'default' => '#cf2121', 'attr' => array('color'), 'selector' => '.custom-sidebar-title, .custom-sidebar-title a'), __('SIDEBAR TITLE BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sidebar_title_border_color', 'default' => '#313131', 'attr' => array('border-color'), 'selector' => 'div.custom-sidebar-title-wrapper, div.gdl-tab-widget-header-wrapper'), __('SIDEBAR TITLE ARROW', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sidebar_title_arrow_color', 'default' => '#313131', 'attr' => array('color'), 'selector' => 'div.gdl-sidebar-wrapper .icon-double-angle-right'), __('SIDEBAR INFO COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sidebar_info_color', 'default' => '#9b9b9b', 'attr' => array('color'), 'selector' => '.sidebar-wrapper .recent-post-widget-info, .sidebar-wrapper .recent-post-widget-info a, .sidebar-wrapper .full-post-widget-info, ' . '.sidebar-wrapper .full-post-widget-info a, .sidebar-wrapper #twitter_update_list, div.recent-comment-widget .recent-comment-widget-date'), __('TAB WIDGET TITLE', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_widget_title', 'default' => '#a7a7a7', 'attr' => array('color'), 'selector' => 'div.gdl-tab-widget-header-wrapper a'), __('TAB WIDGET TITLE ACTIVE', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_widget_title_active', 'default' => '#cf2121', 'attr' => array('color'), 'selector' => 'div.gdl-tab-widget-header-wrapper a.active, div.gdl-tab-widget-header-wrapper a:hover'), __('POST/PORT WIDGET FRAME', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_widget_frame_background', 'default' => '#eeeeee', 'attr' => array('background-color'), 'selector' => 'div.recent-port-widget .recent-port-widget-thumbnail, div.recent-post-widget .recent-post-widget-thumbnail, div.custom-sidebar .flickr_badge_image'), __('SOCIAL COUNTER BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_social_counter_background', 'default' => '#f5f5f5', 'attr' => array('background-color'), 'selector' => 'div.gdl-social-counter-widget'), __('SOCIAL COUNTER COUNT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_social_counter_count', 'default' => '#cf2121', 'attr' => array('color'), 'selector' => 'div.gdl-social-counter-widget span.count'), __('SOCIAL COUNTER TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_social_counter_text', 'default' => '#606060', 'attr' => array('color'), 'selector' => 'div.gdl-social-counter-widget span.title'), __('TAG CLOUD TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tagcloud_text', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => '.tagcloud a, .tagcloud a:hover'), __('TAG CLOUD BACKGROUND COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tagcloud_background', 'default' => '#cf2121', 'attr' => array('background-color'), 'selector' => '.tagcloud a'), __('TWITTER BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_twitter_background', 'default' => '#cf2121', 'attr' => array('background-color'), 'selector' => 'div.footer-twitter-wrapper'), __('TWITTER TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_twitter_text', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'div.footer-twitter-wrapper, div.footer-twitter-wrapper a')), 'gdl_panel_footer' => array(__('FOOTER LINK COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_link_color', 'default' => '#efefef', 'attr' => array('color'), 'selector' => '.footer-wrapper a', 'description' => 'This color changes all of the link color inside footer in normal state.'), __('FOOTER LINK HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_link_hover_color', 'default' => '#aaaaaa', 'attr' => array('color'), 'selector' => '.footer-wrapper a:hover', 'description' => 'This is the link color of footer frame in "hover" state.'), __('FOOTER TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_title_color', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => '.footer-wrapper .custom-sidebar-title, .footer-wrapper .custom-sidebar-title a'), __('FOOTER CONTENT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_content_color', 'default' => '#919191', 'attr' => array('color'), 'selector' => '.footer-wrapper, .footer-wrapper table th'), __('FOOTER CONTENT INFO COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_content_info_color', 'default' => '#7f7f7f', 'attr' => array('color'), 'selector' => '.footer-wrapper .recent-post-widget-info, .footer-wrapper #twitter_update_list', 'description' => 'The content info is the color of the post date( in post/portfolio widget ) and twitter widget'), __('FOOTER BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_background', 'default' => '#0b0b0b', 'attr' => array('background-color'), 'selector' => 'div.footer-wrapper'), __('FOOTER DIVIDER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_divider_color', 'default' => '#353535', 'attr' => array('border-color'), 'selector' => 'div.footer-wrapper *'), __('FOOTER INPUT BOX TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_input_text', 'default' => '#848484', 'attr' => array('color'), 'selector' => 'div.footer-wrapper div.contact-form-wrapper input[type="text"], div.footer-wrapper div.contact-form-wrapper input[type="password"], ' . 'div.footer-wrapper div.contact-form-wrapper textarea, div.footer-wrapper div.custom-sidebar #search-text input[type="text"]'), __('FOOTER INPUT BOX BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_input_background', 'default' => '#282828', 'attr' => array('background-color'), 'selector' => 'div.footer-wrapper div.contact-form-wrapper input[type="text"], div.footer-wrapper div.contact-form-wrapper input[type="password"], ' . 'div.footer-wrapper div.contact-form-wrapper textarea, div.footer-wrapper div.custom-sidebar #search-text input[type="text"]'), __('FOOTER INPUT BOX BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_input_border', 'default' => '#848484', 'attr' => array('border-color'), 'selector' => 'div.footer-wrapper div.contact-form-wrapper input[type="text"], div.footer-wrapper div.contact-form-wrapper input[type="password"], ' . 'div.footer-wrapper div.contact-form-wrapper textarea, div.footer-wrapper div.custom-sidebar #search-text input[type="text"]'), __('FOOTER BUTTON TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_button_text', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => '.footer-wrapper .contact-form-wrapper button'), __('FOOTER BUTTON BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_button_color', 'default' => '#ce2121', 'attr' => array('background-color'), 'selector' => '.footer-wrapper .contact-form-wrapper button', 'description' => 'This color is for the submit button of contact widget.'), __('FOOTER PERSONNAL INFO', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_personnal_widget_info', 'default' => '#dbdbdb', 'attr' => array('color'), 'selector' => 'div.footer-wrapper .personnal-widget-item .personnal-widget-info'), __('FOOTER TAG CLOUD TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_tagcloud_text', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'div.footer-wrapper .tagcloud a, div.footer-wrapper .tagcloud a:hover'), __('FOOTER TAG CLOUD BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_tagcloud_background', 'default' => '#cf2121', 'attr' => array('background-color'), 'selector' => 'div.footer-wrapper .tagcloud a'), __('FOOTER POST/PORT WIDGET FRAME', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_post_widget_frame_background', 'default' => '#3a3a3a', 'attr' => array('background-color'), 'selector' => 'div.footer-wrapper div.recent-port-widget .recent-port-widget-thumbnail, div.footer-wrapper div.recent-post-widget .recent-post-widget-thumbnail,' . 'div.footer-wrapper .custom-sidebar .flickr_badge_image'), __('FOOTER TAB WIDGET TITLE', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_tab_widget_title', 'default' => '#a7a7a7', 'attr' => array('color'), 'selector' => 'div.footer-wrapper div.gdl-tab-widget-header-wrapper a'), __('FOOTER TAB WIDGET TITLE ACTIVE', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_tab_widget_title_active', 'default' => '#cf2121', 'attr' => array('color'), 'selector' => 'div.footer-wrapper div.gdl-tab-widget-header-wrapper a.active, div.footer-wrapper div.gdl-tab-widget-header-wrapper a:hover'), __('COPYRIGHT BORDER TOP LINE', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_copyright_top_border', 'default' => '#2b2b2b', 'attr' => array('border-top-color'), 'selector' => 'div.footer-wrapper .copyright-border'), __('COPYRIGHT TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_copyright_text', 'default' => '#999999', 'attr' => array('color'), 'selector' => '.copyright-wrapper'), __('COPYRIGHT BACK TO TOP', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_copyright_scroll_top', 'default' => '#4b4b4b', 'attr' => array('background-color'), 'selector' => 'div.copyright-scroll-top')), 'gdl_panel_slider' => array(__('TOP SLIDER BOTTOM BAR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_slider_bottom_bar', 'default' => '#e8e8e8', 'attr' => array('border-color'), 'selector' => 'div.gdl-top-slider-wrapper'), __('TOP SLIDER NAVIGATION BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_slider_navigation_background', 'default' => '#cf2121', 'attr' => array('background-color'), 'selector' => '.ls-maxima .ls-nav-prev, .ls-maxima .ls-nav-next,' . 'div.gdl-top-slider .flex-direction-nav li .flex-prev, div.gdl-top-slider .flex-direction-nav li .flex-next,' . 'div.gdl-top-slider .nivo-directionNav a.nivo-prevNav, div.gdl-top-slider .nivo-directionNav a.nivo-nextNav'), __('TOP SLIDER NAVIGATION HOVER BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_slider_navigation_active_background', 'default' => '#930000', 'attr' => array('background-color'), 'selector' => '.ls-maxima .ls-nav-prev:hover, .ls-maxima .ls-nav-next:hover, ' . 'div.gdl-top-slider .flex-direction-nav li .flex-prev:hover, div.gdl-top-slider .flex-direction-nav li .flex-next:hover, ' . 'div.gdl-top-slider .nivo-directionNav a.nivo-prevNav:hover, div.gdl-top-slider .nivo-directionNav a.nivo-nextNav:hover'), __('SLIDER TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_slider_title_color', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'h2.gdl-slider-title'), __('SLIDER CAPTION COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_slider_caption_color', 'default' => '#bbbbbb', 'attr' => array('color'), 'selector' => 'div.gdl-slider-caption'), __('SLIDER BULLET COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_slider_bullet_color', 'default' => '#ffffff', 'attr' => array('background-color'), 'selector' => '.ls-maxima .ls-bottom-slidebuttons a, .flex-control-nav li a, .nivo-controlNav a, div.anythingSlider .anythingControls ul a'), __('SLIDER BULLET ACTIVE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_slider_bullet_active', 'default' => '#bbbbbb', 'attr' => array('background'), 'selector' => '.ls-maxima .ls-bottom-slidebuttons a.ls-nav-active, .ls-maxima .ls-bottom-slidebuttons a:hover' . '.flex-control-nav li a:hover, .flex-control-nav li a.flex-active, ' . '.nivo-controlNav a:hover, .nivo-controlNav a.active, ' . 'div.anythingSlider .anythingControls ul a.cur, div.anythingSlider .anythingControls ul a:hover '), __('STUNNING TEXT TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_stunning_text_title_color', 'default' => '#cf2121', 'attr' => array('color'), 'selector' => 'h1.stunning-text-title'), __('STUNNING TEXT CAPTION COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_stunning_text_caption_color', 'default' => '#7a7a7a', 'attr' => array('color'), 'selector' => '.stunning-text-caption'), __('STUNNING TEXT BACKGROUND COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_stunning_text_background_color', 'default' => '#efefef', 'attr' => array('background-color'), 'selector' => '.stunning-text-inner-wrapper')), 'gdl_panel_blog_pagination' => array(__('BLOG PAGE TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_page_title_color', 'default' => '#c33030', 'attr' => array('color'), 'selector' => 'div.gdl-blog-full .blog-title a, div.gdl-related-post .blog-title a'), __('BLOG PAGE TITLE HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_page_title_hover_color', 'default' => '#c33030', 'attr' => array('color'), 'selector' => 'div.gdl-blog-full .blog-title a:hover, div.gdl-related-post .blog-title a:hover', 'description' => 'This is the blog thumbnail title color in "hover" state.'), __('BLOG ITEM TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_title_color', 'default' => '#1f1f1f', 'attr' => array('color'), 'selector' => 'h2.blog-title a, h1.blog-title a, div.portfolio-item .page-item-title a'), __('BLOG ITEM TITLE HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_title_hover_color', 'default' => '#9c9c9c', 'attr' => array('color'), 'selector' => 'h2.blog-title a:hover, h1.blog-title a:hover, div.portfolio-item .page-item-title a:hover', 'description' => 'This is the blog thumbnail title color in "hover" state.'), __('BLOG INFO TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_info_color', 'default' => '#9b9b9b', 'attr' => array('color'), 'selector' => 'div.blog-info-wrapper, div.blog-info-wrapper a'), __('BLOG LIST BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_list_background', 'default' => '#f3f3f3', 'attr' => array('background-color'), 'selector' => 'div.gdl-blog-list'), __('BLOG COMMENT (IMAGE) BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_comment_image_background', 'default' => '#cf2121', 'attr' => array('background-color'), 'selector' => 'div.blog-media-wrapper .blog-comment, div.full-post-widget .blog-comment,' . 'div.post-slider-comment'), __('BLOG COMMENT (IMAGE) TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_comment_image_text', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'div.blog-media-wrapper .blog-comment, div.blog-media-wrapper .blog-comment a, ' . 'div.full-post-widget .blog-comment, div.full-post-widget .blog-comment a, div.post-slider-comment'), __('BLOG ABOUT AUTHOR BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_about_author_color', 'default' => '#f5f5f5', 'attr' => array('background-color'), 'selector' => '.about-author-wrapper', 'description' => 'The author item is located in the blog page, you can enable/disable it using the post/portfolio options.'), __('PAGINATION BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_pagination_background', 'default' => '#f5f5f5', 'attr' => array('background-color'), 'selector' => 'div.gdl-pagination a'), __('PAGINATION TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_pagination_text', 'default' => '#7b7b7b', 'attr' => array('color'), 'selector' => 'div.gdl-pagination a'), __('PAGINATION HOVER BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_pagination_hover_background', 'default' => '#cf2121', 'attr' => array('background-color'), 'selector' => 'div.gdl-pagination a:hover'), __('PAGINATION HOVER TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_pagination_hover_text', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'div.gdl-pagination a:hover'), __('PAGINATION CURRENT BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_pagination_current_background', 'default' => '#cf2121', 'attr' => array('background-color'), 'selector' => 'div.gdl-pagination span'), __('PAGINATION CURRENT TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_pagination_current_text', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'div.gdl-pagination span')), 'gdl_panel_portfolio' => array(__('THUMBNAIL HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_thumbnail_hover_color', 'default' => '#000000', 'attr' => array('background-color'), 'selector' => 'div.portfolio-media-wrapper span.portfolio-thumbnail-image-hover'), __('PORT TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_title_color', 'default' => '#2d2d2d', 'attr' => array('color'), 'selector' => '.portfolio-item .portfolio-title a', 'description' => 'This is the portfolio item title color.'), __('PORT TAG COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_tag_color', 'default' => '#aaaaaa', 'attr' => array('color'), 'selector' => '.portfolio-item .portfolio-tag a, .portfolio-item .portfolio-tag'), __('PORT BOTTOM BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_title_border', 'default' => '#cf2121', 'attr' => array('background-color'), 'selector' => '.portfolio-item .port-bottom-border'), __('PORT TEXT HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_title_hover_color', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => '.portfolio-item:hover .portfolio-context .portfolio-tag, .portfolio-item:hover .portfolio-context, .portfolio-item:hover .portfolio-context a'), __('PORT FILTER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_filter_color', 'default' => '#9c9c9c', 'attr' => array('color'), 'selector' => 'ul.portfolio-item-filter li a'), __('PORT FILTER ACTIVE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_filter_border_color', 'default' => '#000000', 'attr' => array('color'), 'selector' => 'ul.portfolio-item-filter li a.active, ul.portfolio-item-filter li a:hover, ul.portfolio-item-filter li span'), __('PORT INFO COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_info_color', 'default' => '#7a7a7a', 'attr' => array('color'), 'selector' => 'div.single-portfolio .port-info'), __('PORT INFO HEAD COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_info_head_color', 'default' => '#404040', 'attr' => array('color'), 'selector' => 'div.single-portfolio .port-info .head'), __('PORT NAV BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_carousel_nav', 'default' => '#f6f6f6', 'attr' => array('background-color'), 'selector' => 'div.portfolio-carousel-wrapper .port-nav, div.portfolio-carousel-description .port-nav, div.single-portfolio .port-nav a, ' . 'div.blog-carousel-wrapper .blog-nav, div.gdl-carousel-testimonial .testimonial-navigation a')), 'gdl_panel_contact_form' => array(__('CONTACT/COMMENT BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_contact_form_background_color', 'default' => '#ffffff', 'description' => 'This is a background color of textbox and textarea in contact form and comments area.'), __('CONTACT/COMMENT TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_contact_form_text_color', 'default' => '#888888', 'description' => 'This is a text color of textbox and textarea in contact form and comments area.'), __('CONTACT/COMMENT BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_contact_form_border_color', 'default' => '#e3e3e3'), __('CONTACT/COMMENT FRAME', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_contact_form_frame_color', 'default' => '#f7f7f7'), __('CONTACT/COMMENT INNER SHADOW', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_contact_form_inner_shadow', 'default' => '#ececec', 'description' => 'An inner shadow of the textbox and textarea in contact form and comments area.')), 'gdl_panel_price_personnal_item' => array(__('PRICE BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_background', 'default' => '#f9f9f9', 'attr' => array('background-color'), 'selector' => 'div.price-item-inner-wrapper'), __('PRICE TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_title_color', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'div.price-item .price-title-wrapper'), __('PRICE TITLE BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_title_background', 'default' => '#454545', 'attr' => array('background-color'), 'selector' => 'div.price-item .price-title-wrapper'), __('PRICE TAG COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_tag_color', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'div.price-item .price-tag'), __('PRICE TAG BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_tag_background', 'default' => '#838383', 'attr' => array('background-color'), 'selector' => 'div.price-item .price-tag'), __('PRICE TAG ACTIVE TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_tag_active_color', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'div.best-price .price-tag'), __('PRICE TAG ACTIVE BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_tag_active_background', 'default' => '#ce2121', 'attr' => array('background-color'), 'selector' => 'div.best-price .price-tag'), __('PRICE CONTENT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_content_color', 'default' => '#5e5e5e', 'attr' => array('color'), 'selector' => 'div.price-item'), __('PRICE BUTTON BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_button_background', 'default' => '#ce2121', 'attr' => array('background-color'), 'selector' => 'div.price-button-wrapper .gdl-button'), __('PRICE BUTTON TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_button_text', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'div.price-button-wrapper .gdl-button'), __('PERSONNAL BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_personnal_background', 'default' => '#f9f9f9', 'attr' => array('background-color'), 'selector' => 'div.personnal-item'), __('PERSONNAL POSITION TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_personnal_position_text', 'default' => '#9d9d9d', 'attr' => array('color'), 'selector' => 'div.personnal-item .personnal-position'), __('PERSONNAL TITLE', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_personnal_title', 'default' => '#353535', 'attr' => array('color'), 'selector' => 'div.personnal-item .personnal-title'), __('PERSONNAL CONTENT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_personnal_content', 'default' => '#838383', 'attr' => array('color'), 'selector' => 'div.personnal-item .personnal-content'), __('PERSONNAL WIDGET INFO', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_personnal_widget_info', 'default' => '#4a4a4a', 'attr' => array('color'), 'selector' => 'div.personnal-widget-item .personnal-widget-info')), 'gdl_panel_additional_elements' => array(__('ACCORDION TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_accordion_title', 'default' => '#363636', 'attr' => array('color'), 'selector' => 'ul.gdl-accordion li .accordion-title, ul.gdl-toggle-box li .toggle-box-title'), __('ACCORDION BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_accordion_background', 'default' => '#ffffff', 'attr' => array('background-color'), 'selector' => 'ul.gdl-accordion li, ul.gdl-toggle-box li'), __('ACCORDION BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_accordion_border', 'default' => '#f5f5f5', 'attr' => array('border-color'), 'selector' => 'ul.gdl-accordion li, ul.gdl-toggle-box li, div.gdl-carousel-testimonial .testimonial-content'), __('BLOCKQUOTE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_blockquote_color', 'default' => '#ababab', 'attr' => array('color'), 'selector' => 'blockquote'), __('BLOCKQUOTE BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_blockquote_border', 'default' => '#cfcfcf', 'attr' => array('border-color'), 'selector' => 'body blockquote'), __('BUTTON BACKGROUND COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_button_background_color', 'default' => '#ce2121', 'attr' => array('background-color'), 'selector' => 'a.gdl-button, body button, input[type="submit"], input[type="reset"], input[type="button"]'), __('BUTTON TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_button_text_color', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'a.gdl-button, body button, input[type="submit"], input[type="reset"], input[type="button"]'), __('DIVIDER LINE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_divider_line', 'default' => '#e6e6e6', 'attr' => array('border-color'), 'selector' => 'body *', 'description' => 'This is the color of all divider inside the container( excluding divider of the footer ).'), __('DIVIDER ITEM BACK TO TOP TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_back_to_top_text_color', 'default' => '#919191', 'attr' => array('color'), 'selector' => '.scroll-top', 'description' => 'This is the back to top text color of the divider item ( create from page items or shortcode ).'), __('PROGRESS BAR HILIGHT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_progress_bar_highlight', 'default' => '#ce2121', 'attr' => array('background-color'), 'selector' => 'div.progress-bar-wrapper .progress-bar'), __('PROGRESS BAR BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_progress_bar_background', 'default' => '#f0f0f0', 'attr' => array('background-color'), 'selector' => 'div.progress-bar-wrapper'), __('PROGRESS BAR TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_progress_bar_text', 'default' => '#ffffff', 'attr' => array('color'), 'selector' => 'div.progress-bar-wrapper')), 'gdl_panel_additional_elements_2' => array(__('TABLE BORDER (TABLE TAG)', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_table_border', 'default' => '#e5e5e5', 'attr' => array('border-color'), 'selector' => 'table, table tr, table tr td, table tr th'), __('TABLE TITLE TEXT COLOR (TH TAG)', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_table_text_title', 'default' => '#666666', 'attr' => array('color'), 'selector' => 'table th'), __('TABLE TITLE BACKGROUND (TH TAG)', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_table_title_background', 'default' => '#fdfdfd', 'attr' => array('background-color'), 'selector' => 'table th'), __('TAB ACTIVE BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_background_color', 'default' => '#ffffff', 'attr' => array('background-color'), 'selector' => 'div.gdl-tab ul.gdl-tab-content, div.gdl-tab ul.gdl-tab-title a.active'), __('TAB ACTIVE TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_text_color', 'default' => '#707070', 'attr' => array('color'), 'selector' => 'div.gdl-tab ul.gdl-tab-content'), __('TAB ACTIVE TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_active_text_color', 'default' => '#575757', 'attr' => array('color'), 'selector' => 'div.gdl-tab ul.gdl-tab-title a.active'), __('TAB ACTIVE TITLE BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_active_title_border', 'default' => '#ce2121', 'attr' => array('border-top-color'), 'selector' => 'div.gdl-tab ul.gdl-tab-title li a.active'), __('TAB TITLE TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_title_text', 'default' => '#959595', 'attr' => array('color'), 'selector' => 'div.gdl-tab ul.gdl-tab-title a'), __('TAB TITLE BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_title_background', 'default' => '#fafafa', 'attr' => array('background-color'), 'selector' => 'div.gdl-tab ul.gdl-tab-title a'), __('TESTIMONIAL (SLIDE) CONTENT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_testimonial_slide_content', 'default' => '#9d9d9d', 'attr' => array('color'), 'selector' => 'div.gdl-carousel-testimonial .testimonial-content'), __('TESTIMONIAL (SLIDE) INFO', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_testimonial_slide_info', 'default' => '#656565', 'attr' => array('color'), 'selector' => 'div.gdl-carousel-testimonial .testimonial-info'), __('TESTIMONIAL (SLIDE) BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_testimonial_slide_background', 'default' => '#ffffff', 'attr' => array('background-color'), 'selector' => 'div.gdl-carousel-testimonial .testimonial-content'), __('TESTIMONIAL (STATIC) CONTENT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_testimonial_static_content_color', 'default' => '#afafaf', 'attr' => array('color'), 'selector' => 'div.gdl-static-testimonial .testimonial-item'), __('TESTIMONIAL (STATIC) BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_testimonial_static_border', 'default' => '#efefef', 'attr' => array('border-color'), 'selector' => 'div.gdl-static-testimonial .testimonial-item'), __('TESTIMONIAL (STATIC) INFO', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_testimonial_static_info', 'default' => '#848484', 'attr' => array('color'), 'selector' => 'div.gdl-static-testimonial .testimonial-info')), 'gdl_panel_load_default_color' => array(__('LOAD DEFAULT ELEMENTS COLOR', 'gdl_back_office') => array('type' => 'button', 'text' => 'Load Default', 'id' => 'gdl_load_default_color_button', 'description' => 'Click this button to load the default elements color of this theme. Then click save changes to save the default value. <br><br> ' . 'WARNING : All of settings cannot be undo after you click save changes button.'), __('EXPORT COLOR', 'gdl_back_office') => array('type' => 'import-export', 'text' => 'Export', 'id' => 'gdl_export_color_button', 'text_id' => 'gdl_export_color_text'), __('IMPORT COLOR', 'gdl_back_office') => array('type' => 'import-export', 'text' => 'Import', 'id' => 'gdl_import_color_button', 'text_id' => 'gdl_import_color_text')), 'gdl_panel_enable_admin_translator' => array(__('ENABLE ADMIN TRANSLATOR', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_admin_translator')), 'gdl_panel_blog_port_translator' => array(__('BREAKING NEWS', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_breaking_news', 'default' => 'BREAKING NEWS'), __('LEAVE A REPLY (BLOG)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_leave_reply', 'default' => 'Leave a Reply'), __('ABOUT THE AUTHOR (BLOG)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_about_author', 'default' => 'About the Author'), __('CONTINUE READING (BLOG)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_continue_reading', 'default' => 'Continue Reading'), __('READ ALL NEWS (BLOG)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_read_the_blog', 'default' => 'Read All News'), __('RELATED POSTS (BLOG)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_related_posts', 'default' => 'Related Posts'), __('VIEW ALL PORTFOLIO (PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_view_all_portfolio', 'default' => 'View All Portfolio'), __('ALL (PORTFOLIO FILTER)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_all', 'default' => 'All'), __('TAG (PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_tag', 'default' => 'Tags: '), __('CLIENT (PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_client', 'default' => 'Client: '), __('SKILL (PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_skill', 'default' => 'Skill: '), __('VISIT WEBSITE (PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_visit_website', 'default' => 'Visit Website: '), __('RELATED PORTFOLIO (PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_related_portfolio', 'default' => 'Related Portfolio')), 'gdl_panel_contact_form_translator' => array(__('NAME (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_name_contact_form', 'default' => 'Name'), __('NAME ERROR (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_name_error_contact_form', 'default' => 'Please enter your name'), __('EMAIL (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_email_contact_form', 'default' => 'Email'), __('EMAIL ERROR (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_email_error_contact_form', 'default' => 'Please enter a valid email address'), __('MESSAGE (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_message_contact_form', 'default' => 'Message'), __('MESSAGE ERROR (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_message_error_contact_form', 'default' => 'Please enter message'), __('SUBMIT BUTTON (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_submit_contact_form', 'default' => 'Submit'), __('SEND ERROR (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_contact_send_error', 'default' => 'Message cannot be sent to destination'), __('SEND COMPLETE (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_contact_send_complete', 'default' => 'The e-mail was sent successfully')), 'gdl_panel_additional_elements_translator' => array(__('BUY NOW (PRICE ITEM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_read_more_price', 'default' => 'BUY NOW'), __('404 TITLE (404 PAGE)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_404_title', 'default' => 'Page Not Found'), __('404 CONTENT (404 PAGE)', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_404_content', 'default' => "The page you are looking for doesn't seem to exist."), __('SEARCH RESULTS TITLE (SEARCH PAGE)', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_search_header_title', 'default' => "Search Results."), __('SEARCH NOT FOUND TITLE (SEARCH PAGE)', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_search_not_found_title', 'default' => "Search Not Found."), __('SEARCH NOT FOUND (SEARCH PAGE)', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_search_not_found', 'default' => "Sorry, but nothing matched your search criteria. Please try again with some different keywords.")), 'gdl_panel_nivo_slider' => array(__('SLIDER EFFECTS', 'gdl_back_office') => array('type' => 'combobox', 'oldname' => 'effect', 'name' => THEME_SHORT_NAME . '_nivo_slider_effect', 'options' => array('0' => 'sliceDown', '1' => 'sliceDownLeft', '2' => 'sliceUp', '3' => 'sliceUpLeft', '4' => 'sliceUpDown', '5' => 'sliceUpDownLeft', '6' => 'fold', '7' => 'fade', '8' => 'random', '9' => 'slideInRight', '10' => 'slideInLeft', '11' => 'boxRandom', '12' => 'boxRain', '13' => 'boxRainReverse', '14' => 'boxRainGrow', '15' => 'boxRainGrowReverse')), __('PAUSE ON HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'pauseOnHover', 'name' => THEME_SHORT_NAME . '_nivo_slider_pause_on_hover', 'description' => 'Pause the nivo slider when user hover at the slider.'), __('SHOW BULLETS', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'controlNav', 'name' => THEME_SHORT_NAME . '_nivo_slider_show_bullets', 'description' => 'Enable to show the nivo slider navigation bullets.'), __('SHOW LEFT/RIGHT NAVIGATION', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'directionNav', 'name' => THEME_SHORT_NAME . '_nivo_slider_show_navigation', 'description' => 'Enable left/right navigation of the nivo slider.'), __('ANIMATION SPEED', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'animSpeed', 'name' => THEME_SHORT_NAME . '_nivo_slider_animation_speed', 'default' => '500', 'description' => 'This is the animation speed during the change of each slide.'), __('PAUSE TIME', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'pauseTime', 'name' => THEME_SHORT_NAME . '_nivo_slider_pause_time', 'default' => '12000', 'description' => 'This option is the pause time of each slider.')), 'gdl_panel_plugin_enable' => array(__('LIGHT BOX THUMBNAIL', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_lightbox_thumbnail', 'description' => 'Enabling the lightbox thumbnail. ( When it\'s gallery mode)'), __('LIGHT BOX THUMBNAIL WIDHT', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_enable_lightbox_thumbnail_width', 'default' => '80'), __('LIGHT BOX THUMBNAIL HEIGHT', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_enable_lightbox_thumbnail_height', 'default' => '45')), 'gdl_panel_flex_slider' => array(__('SLIDER EFFECTS', 'gdl_back_office') => array('type' => 'combobox', 'oldname' => 'animation', 'name' => THEME_SHORT_NAME . '_flex_slider_effect', 'options' => array('0' => 'fade', '1' => 'slide')), __('PAUSE ON HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'pauseOnHover', 'name' => THEME_SHORT_NAME . '_flex_slider_pause_on_hover', 'description' => 'Pause the flex slider when user hover at the slider.'), __('SHOW BULLETS', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'controlNav', 'name' => THEME_SHORT_NAME . '_flex_slider_show_bullets', 'description' => 'Enable to show the flex slider navigation bullets.'), __('SHOW NAVIGATION', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'directionNav', 'name' => THEME_SHORT_NAME . '_flex_slider_show_navigation', 'description' => 'Enable left/right navigation of the flex slider.'), __('ANIMATION SPEED', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'animationSpeed', 'name' => THEME_SHORT_NAME . '_flex_slider_animation_speed', 'default' => '600', 'description' => 'This is the animation speed during the change of each slide.'), __('PAUSE TIME', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'slideshowSpeed', 'name' => THEME_SHORT_NAME . '_flex_slider_pause_time', 'default' => '12000', 'description' => 'This option is the pause time of each slider.'), __('PAUSE ON ACTION', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'pauseOnAction', 'name' => THEME_SHORT_NAME . '_flex_slider_pause_on_action', 'default' => 'false')), 'gdl_panel_anything_slider' => array(__('PAUSE ON HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'pauseOnHover', 'name' => THEME_SHORT_NAME . '_anything_slider_pause_on_hover', 'description' => 'Pause the anything slider when user hover at the slider.'), __('SHOW BULLETS', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'buildNavigation', 'name' => THEME_SHORT_NAME . '_anything_slider_show_bulltes', 'description' => 'Enable to show the anything slider navigation bullets.'), __('ONLY SHOW BULLETS WHEN HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'toggleControls', 'name' => THEME_SHORT_NAME . '_anything_slider_hover_bulltes', 'default' => 'disable', 'description' => 'If the bullets navigation is enabled, enable this option will hide the bullets navigation when the mouse cursor is outside the nivo slider frame.'), __('SHOW NAVIGATION', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'buildArrows', 'name' => THEME_SHORT_NAME . '_anything_slider_show_navigation', 'description' => 'Enable left/right navigation of the anything slider.'), __('ONLY SHOW NAVIGATION WHEN HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'toggleArrows', 'name' => THEME_SHORT_NAME . '_anything_slider_hover_navigation', 'description' => 'If the left/right navigation is enabled, enable this option will hide the left/right navigation when the mouse cursor is outside the nivo slider frame.'), __('ANIMATION SPEED', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'animationTime', 'name' => THEME_SHORT_NAME . '_anything_slider_animation_speed', 'default' => '600', 'description' => 'This is the animation speed during the change of each slide.'), __('PAUSE TIME', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'delay', 'name' => THEME_SHORT_NAME . '_anything_slider_pause_time', 'default' => '12000', 'description' => 'This option is the pause time of each slider.')), 'gdl_panel_disable_right_click' => array(__('DISABLE RIGHT CLICK', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_disable_right_click', 'default' => 'disable'), __('ALERT MSG', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_right_click_alert', 'description' => 'If this filed is not empty, there\'ll be alert box show up when user using the right click.')));
// add action to embeded the panel in to dashboard
add_action('admin_menu', 'add_goodlayers_panel');
function add_goodlayers_panel()
{
    $page = add_menu_page('GoodLayers Option', THEME_FULL_NAME, 'administrator', 'goodlayers_admin_panel', 'create_goodlayers_panel');
    add_action('admin_print_scripts-' . $page, 'register_goodlayers_panel_scripts');
    add_action('admin_print_styles-' . $page, 'register_goodlayers_panel_styles');
}
// add ajax action to hook the functions when save button is pressed
add_action('wp_ajax_save_goodlayers_panel', 'save_goodlayers_panel');
function save_goodlayers_panel()
{
    // check_ajax_referer(plugin_basename(__FILE__),'security');
    global $goodlayers_element;
    $return_data = array('success' => '-1', 'alert' => 'Save option failed, please try contacting your host provider to increase the post_max_size and suhosin.post.max_vars varialble on the server.');
/*	
 *	Goodlayers Option File
 *	---------------------------------------------------------------------
 * 	@version	1.0
 * 	@author		Goodlayers
 * 	@link		http://goodlayers.com
 * 	@copyright	Copyright (c) Goodlayers
 *	---------------------------------------------------------------------
 *	This file contains the goodlayers panel elements and create the 
 *	goodlayers panel to the back-end of the framework
 *	---------------------------------------------------------------------
 */
// goodlayers panel navigation elements
$goodlayers_menu = array(__('General', 'gdl_back_office') => array(__('Page Style', 'gdl_back_office') => 'gdl_panel_page_style', __('Sidebar', 'gdl_back_office') => 'gdl_panel_sidebar', __('Footer Style', 'gdl_back_office') => 'gdl_panel_footer_style', __('Google Analytics', 'gdl_back_office') => 'gdl_panel_google_analytics', __('Favicon', 'gdl_back_office') => 'gdl_panel_favicon'), __('Font Style', 'gdl_back_office') => array(__('Font Size', 'gdl_back_office') => 'gdl_panel_font_size', __('Font Family', 'gdl_back_office') => 'gdl_panel_font', __('Upload Font', 'gdl_back_office') => 'gdl_panel_upload_font'), __('Overall Elements', 'gdl_back_office') => array(__('Logo', 'gdl_back_office') => 'gdl_panel_logo', __('Top Navigation', 'gdl_back_office') => 'gdl_panel_top_navigation', __('Background Style', 'gdl_back_office') => 'gdl_panel_background', __('Top Right Area', 'gdl_back_office') => 'gdl_panel_top_right_area', __('Social Network', 'gdl_back_office') => 'gdl_panel_social_network', __('Social Shares', 'gdl_back_office') => 'gdl_panel_social_shares', __('Copyright Area', 'gdl_back_office') => 'gdl_panel_copyright_area'), __('Elements Color', 'gdl_back_office') => array(__('Navigation', 'gdl_back_office') => 'gdl_panel_navigation', __('Top Search', 'gdl_back_office') => 'gdl_panel_top_search', __('Body', 'gdl_back_office') => 'gdl_panel_body', __('Footer', 'gdl_back_office') => 'gdl_panel_footer', __('Slider', 'gdl_back_office') => 'gdl_panel_slider', __('Blog / Portfolio', 'gdl_back_office') => 'gdl_panel_blog_port', __('Contact Form/Comments', 'gdl_back_office') => 'gdl_panel_contact_form', __('Stunning Text', 'gdl_back_office') => 'gdl_panel_stunning_text', __('Additional Elements', 'gdl_back_office') => 'gdl_panel_additional_elements', __('Price Item', 'gdl_back_office') => 'gdl_panel_price_item', __('Load Default Color', 'gdl_back_office') => 'gdl_panel_load_default_color'), __('Translator', 'gdl_back_office') => array(__('Enable Admin Translator', 'gdl_back_office') => 'gdl_panel_enable_admin_translator', __('Blog/Portfolio', 'gdl_back_office') => 'gdl_panel_blog_port_translator', __('Contact Form', 'gdl_back_office') => 'gdl_panel_contact_form_translator', __('Contact Widget', 'gdl_back_office') => 'gdl_panel_contact_widget_translator', __('Additional Elements', 'gdl_back_office') => 'gdl_panel_additional_elements_translator'), __('Slider Setting', 'gdl_back_office') => array(__('Nivo Slider', 'gdl_back_office') => 'gdl_panel_nivo_slider', __('Flex Slider', 'gdl_back_office') => 'gdl_panel_flex_slider', __('Anything Slider', 'gdl_back_office') => 'gdl_panel_anything_slider'));
// goodlayers panel elements ( the head of array links to the menu of navigation elements )
$goodlayers_element = array('gdl_panel_page_style' => array(__('ENABLE RESPONSIVE', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_responsive', 'default' => 'disable', 'description' => ' *** Flex slider is only slider that supports the responsive mode.'), __('DEFAULT DATE FORMAT', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_default_date_format', 'default' => 'F d, Y'), __('DEFAULT WIDGET DATE FORMAT', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_default_widget_date_format', 'default' => 'M d, Y'), __('USE PORTFOLIO PAGE AS', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_use_portfolio_as', 'options' => array('1' => 'portfolio style', '2' => 'blog style'), 'description' => 'You can choose the portfolio page style to be the portfolio style or the same as blog style.'), __('CHANGE PORTFOLIO SLUG', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_gdl_portfolio_slug', 'default' => 'portfolio', 'description' => 'Change/Rewrite the permalink when you use the permalink type as %postname%.'), __('SEARCH/ARCHIVE SIDEBAR', 'gdl_back_office') => array('type' => 'radioimage', 'name' => THEME_SHORT_NAME . '_search_archive_sidebar', 'default' => 'no-sidebar', 'options' => array('1' => array('value' => 'right-sidebar', 'default' => 'selected', 'image' => '/include/images/right-sidebar-120.png'), '2' => array('value' => 'left-sidebar', 'image' => '/include/images/left-sidebar-120.png'), '3' => array('value' => 'both-sidebar', 'image' => '/include/images/both-sidebar-120.png'), '4' => array('value' => 'no-sidebar', 'image' => '/include/images/no-sidebar-120.png'))), __('SEARCH/ARCHIVE EXCERPT NUM', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_search_archive_num_excerpt', 'default' => '285', 'description' => 'Input the number of character you want to cut from the content to be the excerpt of search and archive page.'), __('SEARCH/ARCHIVE ITEM SIZE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_search_archive_item_size', 'options' => array('1/1 Full Thumbnail', '1/1 Medium Thumbnail')), __('SEARCH/ARCHIVE FULL BLOG CONTENT', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_search_archive_full_blog_content', 'options' => array('No', 'Yes'), 'description' => 'Use this to show full content of the blog in search/archive page. Only use with 1/1 Full Thumbnail'), __('DEFAULT POST SIDEBAR', 'gdl_back_office') => array('type' => 'radioimage', 'name' => THEME_SHORT_NAME . '_default_post_sidebar', 'default' => 'post-no-sidebar', 'options' => array('1' => array('value' => 'post-right-sidebar', 'default' => 'selected', 'image' => '/include/images/right-sidebar-120.png'), '2' => array('value' => 'post-left-sidebar', 'image' => '/include/images/left-sidebar-120.png'), '3' => array('value' => 'post-both-sidebar', 'image' => '/include/images/both-sidebar-120.png'), '4' => array('value' => 'post-no-sidebar', 'image' => '/include/images/no-sidebar-120.png'))), __('DEFAULT POST LEFT SIDEBAR', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_default_post_left_sidebar', 'options' => get_sidebar_name(), 'body' => 'gdl-default-post-left-sidebar'), __('DEFAULT POST RIGHT SIDEBAR', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_default_post_right_sidebar', 'options' => get_sidebar_name(), 'body' => 'gdl-default-post-right-sidebar')), 'gdl_panel_sidebar' => array(__('CREATE SIDEBAR', 'gdl_back_office') => array('type' => 'sidebar', 'name' => THEME_SHORT_NAME . '_create_sidebar')), 'gdl_panel_footer_style' => array(__('CHOOSE FOOTER STYLE', 'gdl_back_office') => array('type' => 'radioimage', 'name' => THEME_SHORT_NAME . '_footer_style', 'default' => 'footer-style1', 'options' => array('1' => array('value' => 'footer-style1', 'image' => '/include/images/footer-style1.png'), '2' => array('value' => 'footer-style2', 'image' => '/include/images/footer-style2.png'), '3' => array('value' => 'footer-style3', 'image' => '/include/images/footer-style3.png'), '4' => array('value' => 'footer-style4', 'image' => '/include/images/footer-style4.png'), '5' => array('value' => 'footer-style5', 'image' => '/include/images/footer-style5.png'), '6' => array('value' => 'footer-style6', 'image' => '/include/images/footer-style6.png'))), __('SHOW FOOTER', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_show_footer'), __('SHOW COPYRIGHT', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_show_copyright')), 'gdl_panel_google_analytics' => array(__('ENABLE GOOGLE ANALYTICS', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_analytics', 'default' => 'disable'), __('GOOGLE ANALYTICS CODE', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_analytics_code', 'description' => 'Place the code you get from google here. This should be something like <br>' . htmlspecialchars('<script type="text/javascript">') . '<br> ... <br>' . htmlspecialchars('</script>'))), 'gdl_panel_favicon' => array(__('ENABLE FAVICON', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_favicon', 'default' => 'disable'), __('UPLOAD FAVICON ICON', 'gdl_back_office') => array('type' => 'upload', 'name' => THEME_SHORT_NAME . '_favicon_image')), 'gdl_panel_font_size' => array(__('H1 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h1_size', 'default' => '30'), __('H2 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h2_size', 'default' => '25'), __('H3 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h3_size', 'default' => '20'), __('H4 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h4_size', 'default' => '18'), __('H5 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h5_size', 'default' => '16'), __('H6 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h6_size', 'default' => '15'), __('CONTENT SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_content_size', 'default' => '12')), 'gdl_panel_font' => array(__('HEADER FONT', 'gdl_back_office') => array('type' => 'font-combobox', 'name' => THEME_SHORT_NAME . '_header_font', 'default' => '- Droid Serif', 'description' => 'Choose the header font of this theme. This font will be used in all title and header elements including the slider title.'), __('CONTENT FONT', 'gdl_back_office') => array('type' => 'font-combobox', 'name' => THEME_SHORT_NAME . '_content_font', 'description' => 'Choose the font to use with content. We are highly NOT recommended to use CUFON as a content font.'), __('STUNNING TEXT FONT', 'gdl_back_office') => array('type' => 'font-combobox', 'name' => THEME_SHORT_NAME . '_stunning_text_font', 'default' => '- Museo Sans', 'description' => 'Choose the font to use with stunning text title.')), 'gdl_panel_upload_font' => array(__('UPLOAD FONT', 'gdl_back_office') => array('type' => 'uploadfont', 'name' => THEME_SHORT_NAME . '_upload_font', 'file' => THEME_SHORT_NAME . '_upload_font_file')), 'gdl_panel_logo' => array(__('LOGO', 'gdl_back_office') => array('type' => 'upload', 'name' => THEME_SHORT_NAME . '_logo'), __('LOGO TOP MARGIN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_logo_top_margin', 'default' => '35', 'description' => 'Input number to set the top space of the logo. The minimum value is 1.'), __('LOGO LEFT MARGIN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_logo_left_margin', 'default' => '0'), __('LOGO BOTTOM MARGIN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_logo_bottom_margin', 'default' => '26', 'description' => 'Input number to set the bottom space of the logo. The minimum value is 1.')), 'gdl_panel_top_navigation' => array(__('ENABLE TOP NAVIGATION', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_top_navigation', 'description' => 'Top navigation is a bar over the logo. You can create a link and caption as you want. '), __('ENABLE TOP SEARCH', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_top_search', 'description' => 'Toggle to enable/disable search box at the right side of main navigation.'), __('TOP NAVIGATION RIGHT TEXT', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_top_navigation_right_text')), 'gdl_panel_background' => array(__('BACKGROUND TYPE', 'gdl_back_office') => array('type' => 'combobox', 'id' => 'gdl_background_style', 'name' => THEME_SHORT_NAME . '_background_style', 'options' => array('0' => 'Pattern', '1' => 'Custom Image', '2' => 'None'), 'description' => 'You can choose the background you want between our pre-provided pettern and your custom image.'), __('CHOOSE PATTERN', 'gdl_back_office') => array('type' => 'radioimage', 'body_class' => 'gdl_background_pattern', 'name' => THEME_SHORT_NAME . '_background_pattern', 'default' => '1', 'options' => array('1' => array('value' => '1', 'image' => '/include/images/pattern/pattern-1.png'), '2' => array('value' => '2', 'image' => '/include/images/pattern/pattern-2.png'), '3' => array('value' => '3', 'image' => '/include/images/pattern/pattern-3.png'), '4' => array('value' => '4', 'image' => '/include/images/pattern/pattern-4.png'), '5' => array('value' => '5', 'image' => '/include/images/pattern/pattern-5.png'), '6' => array('value' => '6', 'image' => '/include/images/pattern/pattern-6.png'), '7' => array('value' => '7', 'image' => '/include/images/pattern/pattern-7.png'), '8' => array('value' => '8', 'image' => '/include/images/pattern/pattern-8.png'), '9' => array('value' => '9', 'image' => '/include/images/pattern/pattern-9.png'), '10' => array('value' => '10', 'image' => '/include/images/pattern/pattern-10.png'), '11' => array('value' => '11', 'image' => '/include/images/pattern/pattern-11.png'), '12' => array('value' => '12', 'image' => '/include/images/pattern/pattern-12.png'), '13' => array('value' => '13', 'image' => '/include/images/pattern/pattern-13.png'), '14' => array('value' => '14', 'image' => '/include/images/pattern/pattern-14.png'), '15' => array('value' => '15', 'image' => '/include/images/pattern/pattern-15.png'))), __('CUSTOM BACKGROUND', 'gdl_back_office') => array('type' => 'upload', 'name' => THEME_SHORT_NAME . '_background_custom', 'body_class' => 'gdl_background_custom')), 'gdl_panel_top_right_area' => array(__('TEXT ABOVE ICON', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_social_wrapper_text', 'default' => '', 'description' => 'This is the text that will appear above the social icon( top right side ). Leave it blank to remove it.')), 'gdl_panel_social_network' => array(__('MARGIN TOP', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_social_wrapper_margin', 'default' => '33', 'description' => 'Set the top sapce over the social icons( top right side ). The minimun value is 1'), __('DELICIOUS', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_delicious', 'description' => 'Place the link you want and delicious icon will appear. To remove it, just leave it blank.'), __('DEVIANTART', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_deviantart', 'description' => 'Place the link you want and deviantart icon will appear. To remove it, just leave it blank.'), __('DIGG', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_digg', 'description' => 'Place the link you want and digg icon will appear. To remove it, just leave it blank.'), __('FACEBOOK', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_facebook', 'description' => 'Place the link you want and facebook icon will appear. To remove it, just leave it blank.'), __('FLICKR', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_flickr', 'description' => 'Place the link you want and flickr icon will appear. To remove it, just leave it blank.'), __('LASTFM', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_lastfm', 'description' => 'Place the link you want and lastfm icon will appear. To remove it, just leave it blank.'), __('LINKEDIN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_linkedin', 'description' => 'Place the link you want and linkedin icon will appear. To remove it, just leave it blank.'), __('PICASA', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_picasa', 'description' => 'Place the link you want and picasa icon will appear. To remove it, just leave it blank.'), __('RSS', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_rss', 'description' => 'Place the link you want and feed icon will appear. To remove it, just leave it blank.'), __('STUMBLE UPON', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_stumble_upon', 'description' => 'Place the link you want and stumble upon icon will appear. To remove it, just leave it blank.'), __('TUMBLR', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_tumblr', 'description' => 'Place the link you want and tumblr icon will appear. To remove it, just leave it blank.'), __('TWITTER', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_twitter', 'description' => 'Place the link you want and twitter icon will appear. To remove it, just leave it blank.'), __('VIMEO', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_vimeo', 'description' => 'Place the link you want and vimeo icon will appear. To remove it, just leave it blank.'), __('YOUTUBE', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_youtube', 'description' => 'Place the link you want and youtube icon will appear. To remove it, just leave it blank.'), __('GOOGLE PLUS', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_google_plus', 'description' => 'Place the link you want and google plus icon will appear. To remove it, just leave it blank.'), __('EMAIL', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_email', 'description' => 'Place the link you want and email icon will appear. To remove it, just leave it blank.'), __('PINTEREST', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_pinterest', 'description' => 'Place the link you want and pinterest icon will appear. To remove it, just leave it blank.')), 'gdl_panel_social_shares' => array(__('FACEBOOK', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_facebook_share', 'description' => 'Toggle to enable/disable the facebook shares in blog and portfolio page.'), __('TWITTER', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_twitter_share', 'description' => 'Toggle to enable/disable the twitter shares in blog and portfolio page.'), __('GOOGLE', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_google_share', 'description' => 'Toggle to enable/disable the google shares in blog and portfolio page.'), __('STUMBLE UPON', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_stumble_upon_share', 'description' => 'Toggle to enable/disable the stumble upon shares in blog and portfolio page.'), __('MY SPACE', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_my_space_share', 'description' => 'Toggle to enable/disable the my spce shares in blog and portfolio page.'), __('DELICIOUS', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_delicious_share', 'description' => 'Toggle to enable/disable the delicious shares in blog and portfolio page.'), __('DIGG', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_digg_share', 'description' => 'Toggle to enable/disable the digg shares in blog and portfolio page.'), __('REDDIT', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_reddit_share', 'description' => 'Toggle to enable/disable the reddit shares in blog and portfolio page.'), __('LINKEDIN', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_linkedin_share', 'description' => 'Toggle to enable/disable the linkedin shares in blog and portfolio page.'), __('GOOGLE PLUS', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_google_plus_share', 'description' => 'Toggle to enable/disable the linkedin shares in blog and portfolio page.')), 'gdl_panel_copyright_area' => array(__('COPYRIGHT LEFT AREA', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_copyright_left_area'), __('COPYRIGHT RIGHT AREA', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_copyright_right_area')), 'gdl_panel_navigation' => array(__('TOP NAVIGATION BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_navigation_background', 'default' => 'transparent'), __('TOP NAVIGATION BOTTOM BAR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_navigation_bottom_bar', 'default' => '#e77927', 'description' => 'This is a little bar color below the top navigation, you can change it as you want.'), __('TOP NAVIGATION TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_navigation_text', 'default' => '#e7e7e7'), __('MAIN NAVIGATION GRADIENT', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_main_navigation_gradient'), __('MAIN NAVIGATION BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_background', 'default' => '#fdfdfd'), __('MAIN NAVIGATION BORDER LEFT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_border_left', 'default' => '#ffffff', 'description' => 'This is 1 pixel verticle divider left side between each main menu. Normally it is darker than the right border.'), __('MAIN NAVIGATION BORDER RIGHT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_border_right', 'default' => '#dbdbdb', 'description' => 'This is 1 pixel verticle divider right side between each main menu. Normally it is lighter than the left border.'), __('MAIN NAVIGATION BORDER TOP/BOTTOM', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_border_top_bottom', 'default' => '#ececec', 'description' => 'This color effects the top border, buttom border and submenu border of the main navigation.'), __('MAIN NAVIGATION TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_text', 'default' => '#7a7a7a', 'description' => 'This is the text color of the main navigation in the normal state.'), __('MAIN NAVIGATION TEXT HOVER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_text_hover', 'default' => '#3d3d3d', 'description' => 'This is the text color of the main navigation in "hover" state.'), __('MAIN NAVIGATION TEXT CURRENT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_text_current', 'default' => '#3d3d3d', 'description' => 'This is the text color of the main navigation in "current page" state.'), __('MAIN NAVIGATION BOTTOM SHADOW', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_bottom_shadow', 'default' => '#f5f5f5', 'description' => 'This is the bottom shadow color of the main navigation. You can see it if the top slider does not exists.'), __('SUB NAVIGATION BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_background', 'default' => '#fdfdfd'), __('SUB NAVIGATION BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_border', 'default' => '#ececec'), __('SUB NAVIGATION TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_text', 'default' => '#7a7a7a'), __('SUB NAVIGATION TEXT HOVER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_text_hover', 'default' => '#3d3d3d'), __('SUB NAVIGATION TEXT CURRENT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_text_current', 'default' => '#3d3d3d')), 'gdl_panel_top_search' => array(__('SEARCH BOX BACKGROUND COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_search_box_background', 'default' => '#efefef'), __('SEARCH BOX SHADOW COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_search_box_shadow', 'default' => '#dddddd', 'description' => 'This is the inner shadow color of search text box. Change it to match with background color.'), __('SEARCH BOX TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_search_box_text', 'default' => '#333333')), 'gdl_panel_body' => array(__('ICON STYLE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_icon_type', 'options' => array('1' => 'dark', '2' => 'light'), 'description' => 'This option will change all of the icon in this theme( except footer ) to use dark/light version.'), __('TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_title_color', 'default' => '#494949', 'description' => 'Change this title color wil effects all title in this theme except footer title, sidebar title, blog thumbnail title and portolio thumbnail title color.'), __('SIDEBAR TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sidebar_title_color', 'default' => '#494949'), __('CONTENT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_content_color', 'default' => '#666666'), __('BODY BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_body_background', 'default' => '#dddddd', 'description' => 'Body background will NOT take effects when user use the image as background or use the non transparent pattern '), __('CONTAINER BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_container_background', 'default' => '#ffffff', 'description' => 'Container background is a background over the body background. You can chage it to any color you want.'), __('CONTAINER SHADOW', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_container_shadow', 'default' => '#bbbbbb'), __('LINK COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_link_color', 'default' => '#ef7f2c', 'description' => 'This color effects all of the link color in this theme.'), __('LINK HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_link_hover_color', 'default' => '#ef7f2c', 'description' => 'This color effects all of the link color on "hover" state in this theme.'), __('ELEMENTS SHADOW', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_elements_shadow', 'default' => '#ececec', 'description' => 'This color changes the elements shadow color in the container, including button, post and portfolio frame and sidebar shadow.'), __('TABLE BORDER (TABLE TAG)', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_table_border', 'default' => '#e5e5e5'), __('TABLE TITLE TEXT COLOR (TH TAG)', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_table_text_title', 'default' => '#666666'), __('TABLE TITLE BACKGROUND (TH TAG)', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_table_title_background', 'default' => '#f7f7f7')), 'gdl_panel_footer' => array(__('FOOTER ICON TYPE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_footer_icon_type', 'options' => array('0' => 'light', '1' => 'dark'), 'default' => 'light', 'description' => 'There are two icon types in this theme, dark and light, you can choose it to display on footer as you want.'), __('FOOTER LINK COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_link_color', 'default' => '#ef7f2c', 'description' => 'This color changes all of the link color inside footer in normal state.'), __('FOOTER LINK HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_link_hover_color', 'default' => '#ef7f2c', 'description' => 'This is the link color of footer frame in "hover" state.'), __('FOOTER TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_title_color', 'default' => '#ececec'), __('FOOTER CONTENT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_content_color', 'default' => '#999999'), __('FOOTER CONTENT INFO COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_content_info_color', 'default' => '#b1b1b1', 'description' => 'The content info is the color of the post date( in post/portfolio widget ) and twitter widget'), __('FOOTER BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_background', 'default' => '#313131'), __('FOOTER TOP BAR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_top_bar', 'default' => '#cfcfcf', 'description' => 'This is the little bar color over the footer. Change it to match with the theme style.'), __('FOOTER DIVIDER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_divider_color', 'default' => '#3b3b3b'), __('FOOTER INPUT BOX TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_input_text', 'default' => '#888888', 'description' => 'This footer input box comes from search widget and contact form widget, you can change it to fit theme styles.'), __('FOOTER INPUT BOX BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_input_background', 'default' => '#383838'), __('FOOTER INPUT BOX BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_input_border', 'default' => '#434343'), __('FOOTER BUTTON COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_button_color', 'default' => '#222222', 'description' => 'This color is for the submit button of contact widget.'), __('FOOTER BUTTON TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_button_text', 'default' => '#7a7a7a'), __('FOOTER FRAME BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_frame_background', 'default' => '#292929', 'description' => 'Frame is the elements that wrap post/portfolio(widget) thumbnail.'), __('FOOTER FRAME BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_frame_border', 'default' => '#3b3b3b'), __('COPYRIGHT TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_copyright_text', 'default' => '#808080'), __('COPYRIGHT BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_copyright_background', 'default' => '#202020'), __('COPYRIGHT SHADOW COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_copyright_shadow', 'default' => '#111111', 'description' => 'This is the shadow between the footer and copyright.')), 'gdl_panel_slider' => array(__('SLIDER TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_slider_title_color', 'default' => '#ef7f2c'), __('SLIDER CAPTION COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_slider_caption_color', 'default' => '#ffffff'), __('TOP SLIDER BOTTOM LINE', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_full_slider_bottom_line', 'default' => '#ebebeb', 'description' => 'Only top slider will have little bar below the slider. You can change it to any color you prefer.')), 'gdl_panel_blog_port' => array(__('PORT TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_title_color', 'default' => '#ef7f2c', 'description' => 'This is the portfolio thumbnail title color.'), __('PORT TITLE HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_title_hover_color', 'default' => '#ef7f2c', 'description' => 'This is the portfolio thumbnail title color in "hover" state.'), __('BLOG TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_title_color', 'default' => '#646464', 'description' => 'This is the blog thumbnail title color except the blog in WIDGET style.'), __('BLOG TITLE HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_title_hover_color', 'default' => '#646464', 'description' => 'This is the blog thumbnail title color in "hover" state.'), __('BLOG INFO COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_info_color', 'default' => '#797979', 'description' => "This is the blog informateion color. It's include the color of blog date, blog comments number and blog author."), __('BLOG (WIDGET STYLE) TITLE', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_widget_title_color', 'default' => '#ef7f2c'), __('BLOG/PORT FRAME COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_port_frame_color', 'default' => '#f0f0f0'), __('BLOG/PORT FRAME BORDER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_port_frame_border', 'default' => '#ffffff'), __('BLOG ABOUT AUTHOR BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_about_author_color', 'default' => '#f9f9f9', 'description' => 'The author item is located in the blog page, you can enable/disable it using the post/portfolio options.'), __('PAGINATION NORMAL STATE', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_pagination_normal_state', 'default' => '#f9f9f9', 'description' => 'A paginaltion background color in non-hover and not-current page state.')), 'gdl_panel_contact_form' => array(__('CONTACT FORM/COMMENT BACKGROUND COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_contact_form_background_color', 'default' => '#ffffff', 'description' => 'This is a background color of textbox and textarea in contact form and comments area.'), __('CONTACT FORM/COMMENT TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_contact_form_text_color', 'default' => '#888888', 'description' => 'This is a text color of textbox and textarea in contact form and comments area.'), __('CONTACT FORM/COMMENT BORDER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_contact_form_border_color', 'default' => '#cfcfcf'), __('CONTACT FORM/COMMENT FRAME COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_contact_form_frame_color', 'default' => '#f8f8f8'), __('CONTACT FORM/COMMENT INNER SHADOW', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_contact_form_inner_shadow', 'default' => '#ececec', 'description' => 'An inner shadow of the textbox and textarea in contact form and comments area.')), 'gdl_panel_stunning_text' => array(__('STUNNING TEXT TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_stunning_text_title_color', 'default' => '#333333'), __('STUNNING TEXT CAPTION COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_stunning_text_caption_color', 'default' => '#666666'), __('STUNNING TEXT BACKGROUND COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_stunning_text_background_color', 'default' => '#ffffff'), __('STUNNING TEXT BUTTON TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_stunning_text_button_color', 'default' => '#ffffff', 'description' => 'If the button exists, this will be the text color of the button in stunning text item.'), __('STUNNING TEXT BUTTON BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_stunning_text_button_background', 'default' => '#ef7f2c', 'description' => 'If the button exists, this will be the background color of the button in stunning text item.')), 'gdl_panel_additional_elements' => array(__('DIVIDER LINE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_divider_line', 'default' => '#ececec', 'description' => 'This is the color of all divider inside the container( excluding divider of the footer ).'), __('DIVIDER ITEM BACK TO TOP TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_back_to_top_text_color', 'default' => '#7c7c7c', 'description' => 'This is the back to top text color of the divider item ( create from page items or shortcode ).'), __('TAB BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_background_color', 'default' => '#f5f5f5', 'description' => 'This is the tab header background in "non-active" state.'), __('TAB TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_text_color', 'default' => '#666666'), __('TAB ACTIVE BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_active_background_color', 'default' => '#ffffff', 'description' => 'This is the tab header background in "active" state.'), __('TAB ACTIVE TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_active_text_color', 'default' => '#111111'), __('TAB BORDER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_border_color', 'default' => '#dddddd'), __('COLUMN SERVICE TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_column_service_title_color', 'default' => '#ef7f2c'), __('TESTIMONIAL TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_testimonial_text', 'default' => '#848484'), __('TESTIMONIAL TEXT AUTHOR COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_testimonial_author', 'default' => '#494949'), __('TESTIMONIAL TEXT POSITION COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_testimonial_position', 'default' => '#8d8d8d'), __('BUTTON BACKGROUND COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_button_background_color', 'default' => '#f1f1f1', 'description' => 'This color will changes all of the button background color in this theme except the button from shortcode and stunning text.'), __('BUTTON BORDER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_button_border_color', 'default' => '#dedede', 'description' => 'This color will changes all of the button border color in this theme except the button from shortcode and stunning text.'), __('BUTTON TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_button_text_color', 'default' => '#7a7a7a', 'description' => 'This color will changes all of the button text color in this theme except the button from shortcode and stunning text.'), __('BUTTON TEXT HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_button_text_hover_color', 'default' => '#7a7a7a', 'description' => 'This color will changes all of the button text color of "hover" state in this theme except the button from shortcode and stunning text.')), 'gdl_panel_price_item' => array(__('PRICE TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_item_price_color', 'default' => '#3a3a3a', 'description' => 'This color is the color of price at the top of price item with normal price.'), __('BEST PRICE TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_item_best_price_color', 'default' => '#ef7f2c', 'description' => 'This color is the color of price at the top of price item with best price.' . " It's also effect the top border of the best price item."), __('PRICE TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_item_price_title_color', 'default' => '#3a3a3a', 'description' => 'Price title is located below the price text. You can change it color as you want.'), __('BEST PRICE TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_item_best_price_title_color', 'default' => '#ffffff', 'description' => 'This color has effect to the best price title color( The price title is located below the price text. ).'), __('PRICE TITLE BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_item_price_title_background', 'default' => '#e9e9e9'), __('BEST PRICE TITLE BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_item_best_price_title_background', 'default' => '#5f5f5f'), __('PRICE ITEM BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_price_item_border', 'default' => '#ececec', 'description' => 'This color is the price item border color. This color will have no effects with best price item top border.')), 'gdl_panel_load_default_color' => array(__('LOAD DEFAULT ELEMENTS COLOR', 'gdl_back_office') => array('type' => 'button', 'text' => 'Load Default', 'id' => 'gdl_load_default_color_button', 'description' => 'Click this button to load the default elements color of this theme. Then click save changes to save the default value. <br><br> ' . 'WARNING : All of settings cannot be undo after you click save changes button.')), 'gdl_panel_enable_admin_translator' => array(__('ENABLE ADMIN TRANSLATOR', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_admin_translator')), 'gdl_panel_blog_port_translator' => array(__('SOCIAL SHARE (BLOG/PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_social_shares', 'default' => 'Social Share'), __('LEAVE A REPLY (BLOG)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_leave_reply', 'default' => 'Leave a Reply'), __('ABOUT THE AUTHOR (BLOG)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_about_author', 'default' => 'About the Author'), __('CLIENT (PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_client', 'default' => 'Client'), __('READ MORE (PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_read_more', 'default' => 'Read More'), __('VISIT WEBSITE (PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_visit_website', 'default' => 'Visit Website'), __('VIEW ALL PROJECTS (PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_view_all_project', 'default' => 'View All Projects →'), __('CONTINUE READING (BLOG)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_continue_reading', 'default' => 'Continue Reading →')), 'gdl_panel_contact_form_translator' => array(__('NAME (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_name_contact_form', 'default' => 'Name'), __('NAME ERROR (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_name_error_contact_form', 'default' => 'Please enter your name'), __('EMAIL (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_email_contact_form', 'default' => 'Email'), __('EMAIL ERROR (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_email_error_contact_form', 'default' => 'Please enter a valid email address'), __('MESSAGE (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_message_contact_form', 'default' => 'Message'), __('MESSAGE ERROR (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_message_error_contact_form', 'default' => 'Please enter message'), __('SUBMIT BUTTON (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_submit_contact_form', 'default' => 'Submit'), __('SEND ERROR (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_contact_send_error', 'default' => 'Message cannot be sent to destination'), __('SEND COMPLETE (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_contact_send_complete', 'default' => 'The e-mail was sent successfully')), 'gdl_panel_contact_widget_translator' => array(__('NAME (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_name_contact_widget', 'default' => 'Name'), __('EMAIL (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_email_contact_widget', 'default' => 'Email'), __('MESSAGE (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_message_contact_widget', 'default' => 'Message'), __('REQUIRE (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_require_contact_widget', 'default' => '* Require'), __('PLEASE WAIT (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_please_wait_contact_widget', 'default' => 'Please Wait...'), __('SENDING COMPLETE (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_sending_complete_contact_widget', 'default' => 'Thanks! Your email was sent'), __('SUBMIT BUTTON (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_submit_contact_widget', 'default' => 'Submit')), 'gdl_panel_additional_elements_translator' => array(__('READ MORE (PRICE ITEM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_read_more_price', 'default' => 'Read More'), __('404 TITLE (404 PAGE)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_404_title', 'default' => 'Sorry'), __('404 CONTENT (404 PAGE)', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_404_content', 'default' => "The page you are finding seem doesn't exist."), __('SEARCH NOT FOUND (SEARCH PAGE)', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_search_not_found', 'default' => "Sorry, but nothing matched your search criteria. Please try again with some different keywords.")), 'gdl_panel_nivo_slider' => array(__('SLIDER EFFECTS', 'gdl_back_office') => array('type' => 'combobox', 'oldname' => 'effect', 'name' => THEME_SHORT_NAME . '_nivo_slider_effect', 'options' => array('0' => 'sliceDown', '1' => 'sliceDownLeft', '2' => 'sliceUp', '3' => 'sliceUpLeft', '4' => 'sliceUpDown', '5' => 'sliceUpDownLeft', '6' => 'fold', '7' => 'fade', '8' => 'random', '9' => 'slideInRight', '10' => 'slideInLeft', '11' => 'boxRandom', '12' => 'boxRain', '13' => 'boxRainReverse', '14' => 'boxRainGrow', '15' => 'boxRainGrowReverse')), __('PAUSE ON HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'pauseOnHover', 'name' => THEME_SHORT_NAME . '_nivo_slider_pause_on_hover', 'description' => 'Pause the nivo slider when user hover at the slider.'), __('SHOW BULLETS', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'controlNav', 'name' => THEME_SHORT_NAME . '_nivo_slider_show_bullets', 'description' => 'Enable to show the nivo slider navigation bullets.'), __('SHOW LEFT/RIGHT NAVIGATION', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'directionNav', 'name' => THEME_SHORT_NAME . '_nivo_slider_show_navigation', 'description' => 'Enable left/right navigation of the nivo slider.'), __('ONLY SHOW NAVIGATION WHEN HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'directionNavHide', 'name' => THEME_SHORT_NAME . '_nivo_slider_hover_navigation', 'description' => 'If the left/right navigation is enabled, enable this option will hide the left/right navigation when the mouse cursor is outside the nivo slider frame.'), __('ANIMATION SPEED', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'animSpeed', 'name' => THEME_SHORT_NAME . '_nivo_slider_animation_speed', 'default' => '500', 'description' => 'This is the animation speed during the change of each slide.'), __('PAUSE TIME', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'pauseTime', 'name' => THEME_SHORT_NAME . '_nivo_slider_pause_time', 'default' => '3000', 'description' => 'This option is the pause time of each slider.'), __('CAPTION OPACITY', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'captionOpacity', 'name' => THEME_SHORT_NAME . '_nivo_slider_caption_opacity', 'default' => '0.8')), 'gdl_panel_flex_slider' => array(__('SLIDER EFFECTS', 'gdl_back_office') => array('type' => 'combobox', 'oldname' => 'animation', 'name' => THEME_SHORT_NAME . '_flex_slider_effect', 'options' => array('0' => 'fade', '1' => 'slide')), __('PAUSE ON HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'pauseOnHover', 'name' => THEME_SHORT_NAME . '_flex_slider_pause_on_hover', 'default' => 'disable', 'description' => 'Pause the flex slider when user hover at the slider.'), __('SHOW BULLETS', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'controlNav', 'name' => THEME_SHORT_NAME . '_flex_slider_show_bullets', 'description' => 'Enable to show the flex slider navigation bullets.'), __('SHOW NAVIGATION', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'directionNav', 'name' => THEME_SHORT_NAME . '_flex_slider_show_navigation', 'description' => 'Enable left/right navigation of the flex slider.'), __('ANIMATION SPEED', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'animationDuration', 'name' => THEME_SHORT_NAME . '_flex_slider_animation_speed', 'default' => '600', 'description' => 'This is the animation speed during the change of each slide.'), __('PAUSE TIME', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'slideshowSpeed', 'name' => THEME_SHORT_NAME . '_flex_slider_pause_time', 'default' => '7000', 'description' => 'This option is the pause time of each slider.'), __('PAUSE ON ACTION', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'pauseOnAction', 'name' => THEME_SHORT_NAME . '_flex_slider_pause_on_action', 'default' => 'false')), 'gdl_panel_anything_slider' => array(__('PAUSE ON HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'pauseOnHover', 'name' => THEME_SHORT_NAME . '_anything_slider_pause_on_hover', 'description' => 'Pause the anything slider when user hover at the slider.'), __('SHOW BULLETS', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'buildNavigation', 'name' => THEME_SHORT_NAME . '_anything_slider_show_bulltes', 'description' => 'Enable to show the anything slider navigation bullets.'), __('ONLY SHOW BULLETS WHEN HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'toggleControls', 'name' => THEME_SHORT_NAME . '_anything_slider_hover_bulltes', 'description' => 'If the bullets navigation is enabled, enable this option will hide the bullets navigation when the mouse cursor is outside the nivo slider frame.'), __('SHOW NAVIGATION', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'buildArrows', 'name' => THEME_SHORT_NAME . '_anything_slider_show_navigation', 'description' => 'Enable left/right navigation of the anything slider.'), __('ONLY SHOW NAVIGATION WHEN HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'toggleArrows', 'name' => THEME_SHORT_NAME . '_anything_slider_hover_navigation', 'description' => 'If the left/right navigation is enabled, enable this option will hide the left/right navigation when the mouse cursor is outside the nivo slider frame.'), __('ANIMATION SPEED', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'animationTime', 'name' => THEME_SHORT_NAME . '_anything_slider_animation_speed', 'default' => '600', 'description' => 'This is the animation speed during the change of each slide.'), __('PAUSE TIME', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'delay', 'name' => THEME_SHORT_NAME . '_anything_slider_pause_time', 'default' => '3000', 'description' => 'This option is the pause time of each slider.')));
// add action to embeded the panel in to dashboard
add_action('admin_menu', 'add_goodlayers_panel');
function add_goodlayers_panel()
{
    $page = add_menu_page('GoodLayers Option', THEME_FULL_NAME, 'administrator', plugin_basename(__FILE__), 'create_goodlayers_panel');
    add_action('admin_print_scripts-' . $page, 'register_goodlayers_panel_scripts');
    add_action('admin_print_styles-' . $page, 'register_goodlayers_panel_styles');
}
// add ajax action to hook the functions when save button is pressed
add_action('wp_ajax_save_goodlayers_panel', 'save_goodlayers_panel');
function save_goodlayers_panel()
{
    check_ajax_referer(plugin_basename(__FILE__), 'security');
    global $goodlayers_element;
    $return_data = array('success' => '-1', 'alert' => 'Save option failed, please try contacting your host provider to increase the post_max_size and suhosin.post.max_vars varialble on the server.');
Ejemplo n.º 9
0
function add_portfolio_option_element()
{
    global $post, $portfolio_meta_boxes;
    // init array
    $portfolio_meta_boxes['Choose Left Sidebar']['options'] = get_sidebar_name();
    $portfolio_meta_boxes['Choose Right Sidebar']['options'] = $portfolio_meta_boxes['Choose Left Sidebar']['options'];
    if (get_option(THEME_SHORT_NAME . '_use_portfolio_as') == 'portfolio style') {
        unset($portfolio_meta_boxes['Author Infomation']);
        unset($portfolio_meta_boxes['Portfolio Header']);
        unset($portfolio_meta_boxes['Social Sharing']);
    } else {
        unset($portfolio_meta_boxes['Clients Name']);
        unset($portfolio_meta_boxes['Skill Value']);
        unset($portfolio_meta_boxes['Website Url']);
    }
    echo '<div id="gdl-overlay-wrapper">';
    ?>
 <div class="post-option-meta" id="post-option-meta"> <?php 
    set_nonce();
    foreach ($portfolio_meta_boxes as $meta_box) {
        if ($meta_box['type'] == 'imagepicker') {
            $xml_string = get_post_meta($post->ID, $meta_box['xml'], true);
            if (!empty($xml_string)) {
                $xml_val = new DOMDocument();
                $xml_val->loadXML($xml_string);
                $meta_box['value'] = $xml_val->documentElement;
            }
        } else {
            if ($meta_box['type'] == 'open' || $meta_box['type'] == 'close') {
            } else {
                $meta_box['value'] = get_post_meta($post->ID, $meta_box['name'], true);
            }
        }
        print_meta($meta_box);
        if ($meta_box['type'] != 'open' && $meta_box['type'] != 'close') {
            echo "<div class='clear'></div>";
            echo empty($meta_box['hr']) ? '<hr class="separator mt20">' : '';
        }
    }
    ?>
 </div> <?php 
    echo '</div>';
}
Ejemplo n.º 10
0
function add_page_option_element()
{
    global $post, $page_meta_boxes;
    $page_meta_boxes['Page Item']['name']['Blog']['category']['options'] = get_category_list_array('category');
    $page_meta_boxes['Page Item']['name']['Timeline']['category']['options'] = get_category_list_array('category');
    $page_meta_boxes['Page Item']['name']['Woo-Products']['category']['options'] = get_category_list_array('product_cat');
    $page_meta_boxes['Page Item']['name']['News']['category']['options'] = get_category_list_array('category');
    $page_meta_boxes['Page Item']['name']['Featured-News']['category']['options'] = get_category_list_array('category');
    $page_meta_boxes['Page Item']['name']['Feature-Projects']['category']['options'] = get_category_list_array('project_category');
    $page_meta_boxes['Page Item']['name']['Crowd-Funding']['category']['options'] = get_category_list_array('project_category');
    $page_meta_boxes['Choose Left Sidebar']['options'] = get_sidebar_name();
    $page_meta_boxes['Choose Right Sidebar']['options'] = get_sidebar_name();
    echo '<div id="cp-overlay-wrapper">';
    echo '<div class="bootstrap_admin" id="cp-overlay-content">';
    //echo '<div class="container">';
    set_nonce();
    //Print Extra Plugins by Extended Classes
    if (count(get_extends_name('function_library')) != 0) {
        $function_library = new function_library();
        foreach (class_function_layout() as $keys => $values) {
            ${$keys} = 'dynamic' . $keys;
            $page_mera_variable = $function_library->create_variable($keys, $values);
            $page_mera_variable->page_builder_element_class();
        }
    }
    //print_r($page_meta_boxes);
    global $post, $page_meta_boxes;
    if (!class_exists("Woocommerce")) {
        unset($page_meta_boxes['Footer-Product-Button']);
        unset($page_meta_boxes['category_product']);
    }
    //ignitionDeck
    if (!class_exists("Deck")) {
        unset($page_meta_boxes['Crowd-Funding']);
        unset($page_meta_boxes['Feature-Projects']);
    }
    //function_library
    if (!class_exists("function_library")) {
        unset($page_meta_boxes['Top Slider On']);
        unset($page_meta_boxes['Top Slider Type']);
        unset($page_meta_boxes['Top Slider Images']);
        unset($page_meta_boxes['Top Slider Layer']);
        unset($page_meta_boxes['Top Slider Shortcode']);
    }
    //get value
    $counter_element = 0;
    foreach ($page_meta_boxes as $page_meta_box) {
        if ($page_meta_box['type'] == 'page-option-item') {
            $page_meta_box['value'] = get_post_meta($post->ID, $page_meta_box['xml'], true);
            print_page_default_elements($page_meta_box);
            print_page_selected_elements($page_meta_box);
        } elseif ($page_meta_box['type'] == 'sidebar') {
            echo 'ok';
            die;
            $page_meta_box['value'] = get_post_meta($post->ID, $page_meta_box['xml'], true);
            print_page_default_elements($page_meta_box);
            print_page_selected_elements($page_meta_box);
            echo 'ok';
        } else {
            if ($page_meta_box['type'] == 'imagepicker') {
                $slider_xml_string = get_post_meta($post->ID, $page_meta_box['xml'], true);
                if (!empty($slider_xml_string)) {
                    $slider_xml_val = new DOMDocument();
                    $slider_xml_val->loadXML($slider_xml_string);
                    $page_meta_box['value'] = $slider_xml_val->documentElement;
                }
                print_meta($page_meta_box);
            } else {
                if (empty($page_meta_box['name'])) {
                    $page_meta_box['name'] = '';
                }
                $page_meta_box['value'] = get_post_meta($post->ID, $page_meta_box['name'], true);
                print_meta($page_meta_box);
            }
        }
        //echo "<div class='clear'></div>";
        //echo empty($page_meta_box['hr'])? '<hr class="separator mt20">': '';
    }
    //echo '</div>';
    echo '</div>';
    echo '</div>';
}
Ejemplo n.º 11
0
/*	
 *	Goodlayers Option File
 *	---------------------------------------------------------------------
 * 	@version	1.0
 * 	@author		Goodlayers
 * 	@link		http://goodlayers.com
 * 	@copyright	Copyright (c) Goodlayers
 *	---------------------------------------------------------------------
 *	This file contains the goodlayers panel elements and create the 
 *	goodlayers panel to the back-end of the framework
 *	---------------------------------------------------------------------
 */
// goodlayers panel navigation elements
$goodlayers_menu = array(__('General', 'gdl_back_office') => array(__('Page Style', 'gdl_back_office') => 'gdl_panel_page_style', __('Sidebar', 'gdl_back_office') => 'gdl_panel_sidebar', __('Footer Style', 'gdl_back_office') => 'gdl_panel_footer_style', __('Google Analytics', 'gdl_back_office') => 'gdl_panel_google_analytics', __('Favicon', 'gdl_back_office') => 'gdl_panel_favicon'), __('Font Style', 'gdl_back_office') => array(__('Font Size', 'gdl_back_office') => 'gdl_panel_font_size', __('Font Family', 'gdl_back_office') => 'gdl_panel_font', __('Upload Font', 'gdl_back_office') => 'gdl_panel_upload_font'), __('Overall Elements', 'gdl_back_office') => array(__('Logo / Navigation', 'gdl_back_office') => 'gdl_panel_logo', __('Social Shares', 'gdl_back_office') => 'gdl_panel_social_shares', __('Copyright Area', 'gdl_back_office') => 'gdl_panel_copyright_area', __('Gallery Page', 'gdl_back_office') => 'gdl_panel_gallery_page'), __('Elements Color', 'gdl_back_office') => array(__('Navigation', 'gdl_back_office') => 'gdl_panel_navigation', __('Body', 'gdl_back_office') => 'gdl_panel_body', __('Footer', 'gdl_back_office') => 'gdl_panel_footer', __('Gallery', 'gdl_back_office') => 'gdl_panel_gallery', __('Slider', 'gdl_back_office') => 'gdl_panel_slider', __('Blog / Portfolio', 'gdl_back_office') => 'gdl_panel_blog_port', __('Contact Form/Comments', 'gdl_back_office') => 'gdl_panel_contact_form', __('Additional Elements', 'gdl_back_office') => 'gdl_panel_additional_elements', __('Load Default Color', 'gdl_back_office') => 'gdl_panel_load_default_color'), __('Translator', 'gdl_back_office') => array(__('Enable Admin Translator', 'gdl_back_office') => 'gdl_panel_enable_admin_translator', __('Blog/Portfolio', 'gdl_back_office') => 'gdl_panel_blog_port_translator', __('Contact Form', 'gdl_back_office') => 'gdl_panel_contact_form_translator', __('Contact Widget', 'gdl_back_office') => 'gdl_panel_contact_widget_translator', __('Additional Elements', 'gdl_back_office') => 'gdl_panel_additional_elements_translator'), __('Slider Setting', 'gdl_back_office') => array(__('Nivo Slider', 'gdl_back_office') => 'gdl_panel_nivo_slider', __('Flex Slider', 'gdl_back_office') => 'gdl_panel_flex_slider', __('Anything Slider', 'gdl_back_office') => 'gdl_panel_anything_slider', __('Background Slider', 'gdl_back_office') => 'gdl_panel_background_slider'));
// goodlayers panel elements ( the head of array links to the menu of navigation elements )
$goodlayers_element = array('gdl_panel_page_style' => array(__('USE PORTFOLIO PAGE AS', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_use_portfolio_as', 'options' => array('1' => 'portfolio style', '2' => 'blog style'), 'description' => 'You can choose the portfolio page style to be the portfolio style or the same as blog style.'), __('CHANGE PORTFOLIO SLUG', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_gdl_portfolio_slug', 'default' => 'portfolio', 'description' => 'Change/Rewrite the permalink when you use the permalink type as %postname%.'), __('SEARCH/ARCHIVE SIDEBAR', 'gdl_back_office') => array('type' => 'radioimage', 'name' => THEME_SHORT_NAME . '_search_archive_sidebar', 'default' => 'no-sidebar', 'options' => array('1' => array('value' => 'right-sidebar', 'default' => 'selected', 'image' => '/include/images/right-sidebar-120.png'), '2' => array('value' => 'left-sidebar', 'image' => '/include/images/left-sidebar-120.png'), '3' => array('value' => 'both-sidebar', 'image' => '/include/images/both-sidebar-120.png'), '4' => array('value' => 'no-sidebar', 'image' => '/include/images/no-sidebar-120.png'))), __('SEARCH/ARCHIVE EXCERPT NUM', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_search_archive_num_excerpt', 'default' => '285', 'description' => 'Input the number of character you want to cut from the content to be the excerpt of search and archive page.'), __('SEARCH/ARCHIVE BACKGROUND IMAGE', 'gdl_back_office') => array('type' => 'combobox', 'options' => get_title_list('page'), 'name' => THEME_SHORT_NAME . '_archive_background_image', 'default' => 'main'), __('POST/PORT BACKGROUND IMAGE', 'gdl_back_office') => array('type' => 'combobox', 'options' => get_title_list('page'), 'name' => THEME_SHORT_NAME . '_post_background_image', 'default' => 'main'), __('DEFAULT POST SIDEBAR', 'gdl_back_office') => array('type' => 'radioimage', 'name' => THEME_SHORT_NAME . '_default_post_sidebar', 'default' => 'post-no-sidebar', 'options' => array('1' => array('value' => 'post-right-sidebar', 'default' => 'selected', 'image' => '/include/images/right-sidebar-120.png'), '2' => array('value' => 'post-left-sidebar', 'image' => '/include/images/left-sidebar-120.png'), '3' => array('value' => 'post-both-sidebar', 'image' => '/include/images/both-sidebar-120.png'), '4' => array('value' => 'post-no-sidebar', 'image' => '/include/images/no-sidebar-120.png'))), __('DEFAULT POST LEFT SIDEBAR', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_default_post_left_sidebar', 'options' => get_sidebar_name(), 'body' => 'gdl-default-post-left-sidebar'), __('DEFAULT POST RIGHT SIDEBAR', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_default_post_right_sidebar', 'options' => get_sidebar_name(), 'body' => 'gdl-default-post-right-sidebar')), 'gdl_panel_sidebar' => array(__('CREATE SIDEBAR', 'gdl_back_office') => array('type' => 'sidebar', 'name' => THEME_SHORT_NAME . '_create_sidebar')), 'gdl_panel_footer_style' => array(__('CHOOSE FOOTER STYLE', 'gdl_back_office') => array('type' => 'radioimage', 'name' => THEME_SHORT_NAME . '_footer_style', 'default' => 'footer-style1', 'options' => array('1' => array('value' => 'footer-style1', 'image' => '/include/images/footer-style1.png'), '2' => array('value' => 'footer-style2', 'image' => '/include/images/footer-style2.png'), '3' => array('value' => 'footer-style3', 'image' => '/include/images/footer-style3.png'), '4' => array('value' => 'footer-style4', 'image' => '/include/images/footer-style4.png'), '5' => array('value' => 'footer-style5', 'image' => '/include/images/footer-style5.png'), '6' => array('value' => 'footer-style6', 'image' => '/include/images/footer-style6.png'))), __('SHOW FOOTER', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_show_footer'), __('SHOW COPYRIGHT', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_show_copyright')), 'gdl_panel_google_analytics' => array(__('ENABLE GOOGLE ANALYTICS', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_analytics', 'default' => 'disable'), __('GOOGLE ANALYTICS CODE', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_analytics_code', 'description' => 'Place the code you get from google here. This should be something like <br>' . htmlspecialchars('<script type="text/javascript">') . '<br> ... <br>' . htmlspecialchars('</script>'))), 'gdl_panel_favicon' => array(__('ENABLE FAVICON', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_favicon', 'default' => 'disable'), __('UPLOAD FAVICON ICON', 'gdl_back_office') => array('type' => 'upload', 'name' => THEME_SHORT_NAME . '_favicon_image')), 'gdl_panel_font_size' => array(__('H1 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h1_size', 'default' => '30'), __('H2 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h2_size', 'default' => '25'), __('H3 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h3_size', 'default' => '20'), __('H4 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h4_size', 'default' => '18'), __('H5 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h5_size', 'default' => '16'), __('H6 SIZE', 'gdl_back_office') => array('type' => 'sliderbar', 'name' => THEME_SHORT_NAME . '_h6_size', 'default' => '15')), 'gdl_panel_font' => array(__('HEADER FONT', 'gdl_back_office') => array('type' => 'font-combobox', 'name' => THEME_SHORT_NAME . '_header_font', 'description' => 'Choose the header font of this theme. This font will be used in all title and header elements including the slider title.'), __('CONTENT FONT', 'gdl_back_office') => array('type' => 'font-combobox', 'name' => THEME_SHORT_NAME . '_content_font', 'description' => 'Choose the font to use with content. We are highly NOT recommended to use CUFON as a content font.'), __('BG SLIDER TITLE FONT', 'gdl_back_office') => array('type' => 'font-combobox', 'name' => THEME_SHORT_NAME . '_bg_slider_title_font', 'exclude' => 'Google Font', 'description' => 'Choose the font to use with the backgroudn slider. (This field does not supported the cufon or custom uploaded font. )')), 'gdl_panel_upload_font' => array(__('UPLOAD FONT', 'gdl_back_office') => array('type' => 'uploadfont', 'name' => THEME_SHORT_NAME . '_upload_font', 'file' => THEME_SHORT_NAME . '_upload_font_file')), 'gdl_panel_logo' => array(__('LOGO', 'gdl_back_office') => array('type' => 'upload', 'name' => THEME_SHORT_NAME . '_logo'), __('LOGO TOP MARGIN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_logo_top_margin', 'default' => '15', 'description' => 'Input number to set the top space of the logo. The minimum value is 1.'), __('LOGO LEFT MARGIN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_logo_left_margin', 'default' => '15'), __('LOGO BOTTOM MARGIN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_logo_bottom_margin', 'default' => '15', 'description' => 'Input number to set the bottom space of the logo. The minimum value is 1.'), __('NAVIGATION TOP MARGIN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_navigation_top_margin', 'default' => '15'), __('NAVIGATION RIGHT MARGIN', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_navigation_right_margin', 'default' => '15')), 'gdl_panel_social_shares' => array(__('FACEBOOK', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_facebook_share', 'description' => 'Toggle to enable/disable the facebook shares in blog and portfolio page.'), __('TWITTER', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_twitter_share', 'description' => 'Toggle to enable/disable the twitter shares in blog and portfolio page.'), __('GOOGLE', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_google_share', 'description' => 'Toggle to enable/disable the google shares in blog and portfolio page.'), __('STUMBLE UPON', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_stumble_upon_share', 'description' => 'Toggle to enable/disable the stumble upon shares in blog and portfolio page.'), __('MY SPACE', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_my_space_share', 'description' => 'Toggle to enable/disable the my spce shares in blog and portfolio page.'), __('DELICIOUS', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_delicious_share', 'description' => 'Toggle to enable/disable the delicious shares in blog and portfolio page.'), __('DIGG', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_digg_share', 'description' => 'Toggle to enable/disable the digg shares in blog and portfolio page.'), __('REDDIT', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_reddit_share', 'description' => 'Toggle to enable/disable the reddit shares in blog and portfolio page.'), __('LINKEDIN', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_linkedin_share', 'description' => 'Toggle to enable/disable the linkedin shares in blog and portfolio page.')), 'gdl_panel_copyright_area' => array(__('COPYRIGHT LEFT AREA', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_copyright_left_area'), __('COPYRIGHT RIGHT AREA', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_copyright_right_area')), 'gdl_panel_gallery_page' => array(__('FIRST BOTTOM SLIDE WIDTH', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_first_bottom_slide_width', 'default' => '210'), __('FIRST BOTTOM SLIDE HEIGHT', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_first_bottom_slide_height', 'default' => '130'), __('SECOND BOTTOM SLIDE WIDTH', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_second_bottom_slide_width', 'default' => '155px', 'description' => 'The second bottom slide height will be variable due to the proportion of first bottom slide width and height.'), __('GALLERY PAGE IMAGE WIDTH', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_gallery_page_image_width', 'default' => '220'), __('GALLERY PAGE IMAGE HEIGHT', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_gallery_page_image_height', 'default' => '165')), 'gdl_panel_navigation' => array(__('TOP NAVIGATION BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_navigation_background', 'default' => '#ffffff'), __('TOP NAVIGATION BOTTOM BAR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_top_navigation_bottom_bar', 'default' => '#dadada', 'description' => 'This is a little bar color below the top navigation, you can change it as you want.'), __('MAIN NAVIGATION TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_text', 'default' => '#7a7a7a', 'description' => 'This is the text color of the main navigation in the normal state.'), __('MAIN NAVIGATION TEXT HOVER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_text_hover', 'default' => '#3d3d3d', 'description' => 'This is the text color of the main navigation in "hover" state.'), __('MAIN NAVIGATION TEXT CURRENT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_navigation_text_current', 'default' => '#3d3d3d', 'description' => 'This is the text color of the main navigation in "current page" state.'), __('SUB NAVIGATION BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_background', 'default' => '#f3f3f3'), __('SUB NAVIGATION BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_border', 'default' => '#dadada'), __('SUB NAVIGATION TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_text', 'default' => '#707070'), __('SUB NAVIGATION TEXT HOVER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_text_hover', 'default' => '#616161'), __('SUB NAVIGATION TEXT CURRENT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sub_navigation_text_current', 'default' => '#707070')), 'gdl_panel_body' => array(__('ICON STYLE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_icon_type', 'options' => array('1' => 'light', '2' => 'dark'), 'description' => 'This option will change all of the icon in this theme( except footer ) to use dark/light version.'), __('PAGE HEADER LEFT LINE', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_page_header_left_line', 'default' => '#ffbc2d'), __('PAGE HEADER BACKGROUND COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_page_header_background_color', 'default' => '#333333'), __('PAGE HEADER TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_page_header_text_color', 'default' => '#ffffff'), __('PAGE HEADER CAPTION COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_page_header_caption_color', 'default' => '#acacac'), __('PAGE HEADER BOTTOM BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_page_header_bottom_border', 'default' => '#000000'), __('TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_title_color', 'default' => '#ffbc2d', 'description' => 'Change this title color wil effects all title in this theme except footer title, sidebar title, blog thumbnail title and portolio thumbnail title color.'), __('SIDEBAR TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sidebar_title_color', 'default' => '#ffbc2d'), __('SIDEBAR LINK COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sidebar_link_color', 'default' => '#ffffff'), __('SIDEBAR LINK HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_sidebar_link_hover_color', 'default' => '#ffbc2d'), __('CONTENT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_content_color', 'default' => '#f7f7f7'), __('BODY BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_body_background', 'default' => '#222222', 'description' => 'Body background will NOT take effects when user use the image as background or use the non transparent pattern '), __('CONTAINER BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_container_background', 'default' => '#000000', 'description' => 'Container background is a background over the body background. You can chage it to any color you want.'), __('CONTAINER OPACITY', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_container_opacity', 'default' => '0.7'), __('LINK COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_link_color', 'default' => '#ffbc2d', 'description' => 'This color effects all of the link color in this theme.'), __('LINK HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_link_hover_color', 'default' => '#ffbc2d', 'description' => 'This color effects all of the link color on "hover" state in this theme.'), __('ELEMENTS SHADOW', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_elements_shadow', 'default' => '#ececec', 'description' => 'This color changes the elements shadow color in the container, including button, post and portfolio frame and sidebar shadow.'), __('TABLE BORDER (TABLE TAG)', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_table_border', 'default' => '#101010'), __('TABLE TITLE TEXT COLOR (TH TAG)', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_table_text_title', 'default' => '#858585'), __('TABLE TITLE BACKGROUND (TH TAG)', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_table_title_background', 'default' => '#2b2b2b'), __('BLOCK QUOTE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_block_quote_color', 'default' => '#777777'), __('BLOCK QUOTE BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_block_quote_border', 'default' => '#dddddd')), 'gdl_panel_footer' => array(__('FOOTER ICON TYPE', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_footer_icon_type', 'options' => array('0' => 'light', '1' => 'dark'), 'description' => 'There are two icon types in this theme, dark and light, you can choose it to display on footer as you want.'), __('FOOTER OPACITY', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_footer_opacity', 'default' => '0.45'), __('FOOTER LINK COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_link_color', 'default' => '#ffbc2d', 'description' => 'This color changes all of the link color inside footer in normal state.'), __('FOOTER LINK HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_link_hover_color', 'default' => '#ffd885', 'description' => 'This is the link color of footer in "hover" state.'), __('FOOTER TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_title_color', 'default' => '#ececec'), __('FOOTER CONTENT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_content_color', 'default' => '#ffffff'), __('FOOTER CONTENT INFO COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_content_info_color', 'default' => '#b1b1b1', 'description' => 'The content info is the color of the post date( in post/portfolio widget ) and twitter widget'), __('FOOTER BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_background', 'default' => '#000000'), __('FOOTER DIVIDER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_divider_color', 'default' => '#303030'), __('FOOTER INPUT BOX TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_input_text', 'default' => '#888888', 'description' => 'This footer input box comes from search widget and contact form widget, you can change it to fit theme styles.'), __('FOOTER INPUT BOX BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_input_background', 'default' => '#1f1f1f'), __('FOOTER INPUT BOX BORDER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_input_border', 'default' => '#1f1f1f'), __('FOOTER BUTTON COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_button_color', 'default' => '#222222', 'description' => 'This color is for the submit button of contact widget.'), __('FOOTER BUTTON TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_footer_button_text', 'default' => '#7a7a7a'), __('COPYRIGHT TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_copyright_text', 'default' => '#808080')), 'gdl_panel_gallery' => array(__('FRIST BOTTOM SLIDE BG') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_bottom_slide_bg', 'default' => '#ffffff'), __('FIRST BOTTOM SLIDE TITLE') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_bottom_slide_text', 'default' => '#151515'), __('FIRST BOTTOM SLIDE OVERLAY') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_bottom_slide_overlay', 'default' => '#000000'), __('FIRST BOTTOM SLIDE OVERLAY OPACITY') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_main_bottom_slide_overlay_opacity', 'default' => '0.55'), __('GALLERY HEADER TITLE') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_gallery_header_title', 'default' => '#ffffff'), __('GALLERY HEADER CAPTION') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_gallery_header_caption', 'default' => '#acacac'), __('GALLERY HEADER BACKGROUND OPACITY') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_gallery_header_background_opacity', 'default' => '0.85'), __('GALLERY HEADER LEFT LINE') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_gallery_header_left_line', 'default' => '#ffbc2d'), __('SECOND BOTTOM SLIDE OVERLAY') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_main_bottom_slide_overlay', 'default' => '#000000'), __('AUDIO PROGRESS BAR') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_gallery_audio_progress_bar', 'default' => '#ffbf38')), 'gdl_panel_slider' => array(__('BG SLIDER TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_bg_slider_text_color', 'default' => '#ffffff'), __('SLIDER TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_slider_title_color', 'default' => '#ffbc2d'), __('SLIDER CAPTION COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_slider_caption_color', 'default' => '#ffffff'), __('TOP SLIDER BOTTOM LINE', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_full_slider_bottom_line', 'default' => '#ebebeb', 'description' => 'Only top slider will have little bar below the slider. You can change it to any color you prefer.')), 'gdl_panel_blog_port' => array(__('PORT THUMBNAIL TITLE', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_title_color', 'default' => '#ffbc2d', 'description' => 'This is the portfolio thumbnail title color.'), __('PORT THUMBNAIL TITLE HOVER', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_title_hover_color', 'default' => '#ffd885', 'description' => 'This is the portfolio thumbnail title color in "hover" state.'), __('PORT THUMBNAIL CONTENT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_thumbnail_content', 'default' => '#d6d6d6'), __('PORT THUMBNAIL CONTENT BG', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_thumbnail_content_bg', 'default' => '#000000'), __('PORT NO IMAGE BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_port_no_image_background', 'default' => '#ffbc2d'), __('BLOG TITLE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_title_color', 'default' => '#ffbc2d', 'description' => 'This is the blog thumbnail title color except the blog in WIDGET style.'), __('BLOG TITLE HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_title_hover_color', 'default' => '#ffd885', 'description' => 'This is the blog thumbnail title color in "hover" state.'), __('BLOG INFO COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_info_color', 'default' => '#a8a8a8', 'description' => "This is the blog informateion color. It's include the color of blog date, blog comments number and blog author."), __('BLOG ABOUT AUTHOR BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_post_about_author_color', 'default' => '#121212', 'description' => 'The author item is located in the blog page, you can enable/disable it using the post/portfolio options.'), __('PAGINATION TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_pagination_text', 'default' => '#ffffff', 'description' => 'A paginaltion background color in non-hover and not-current page state.'), __('PAGINATION HOVER TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_pagination_hover_text', 'default' => '#000000', 'description' => 'A paginaltion background color in non-hover and not-current page state.'), __('PAGINATION HOVER BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_pagination_hover_background', 'default' => '#ffbc2d', 'description' => 'A paginaltion background color in non-hover and not-current page state.')), 'gdl_panel_contact_form' => array(__('CONTACT FORM/COMMENT BACKGROUND COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_contact_form_background_color', 'default' => '#383838', 'description' => 'This is a background color of textbox and textarea in contact form and comments area.'), __('CONTACT FORM/COMMENT TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_contact_form_text_color', 'default' => '#888888', 'description' => 'This is a text color of textbox and textarea in contact form and comments area.'), __('CONTACT FORM/COMMENT BORDER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_contact_form_border_color', 'default' => '#1f1f1f')), 'gdl_panel_additional_elements' => array(__('DIVIDER LINE COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_divider_line', 'default' => '#383838', 'description' => 'This is the color of all divider inside the container( excluding divider of the footer ).'), __('DIVIDER ITEM BACK TO TOP TEXT', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_back_to_top_text_color', 'default' => '#ececec', 'description' => 'This is the back to top text color of the divider item ( create from page items or shortcode ).'), __('TAB BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_background_color', 'default' => '#292929', 'description' => 'This is the tab header background in "non-active" state.'), __('TAB TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_text_color', 'default' => '#808080'), __('TAB ACTIVE BACKGROUND', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_active_background_color', 'default' => '#404040', 'description' => 'This is the tab header background in "active" state.'), __('TAB ACTIVE TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_active_text_color', 'default' => '#e0e0e0'), __('TAB BORDER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_tab_border_color', 'default' => '#242424'), __('TESTIMONIAL TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_testimonial_text', 'default' => '#f7f7f7'), __('TESTIMONIAL TEXT AUTHOR COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_testimonial_author', 'default' => '#f7f7f7'), __('TESTIMONIAL TEXT POSITION COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_testimonial_position', 'default' => '#c2c2c2'), __('BUTTON BACKGROUND COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_button_background_color', 'default' => '#f1f1f1', 'description' => 'This color will changes all of the button background color in this theme except the button from shortcode.'), __('BUTTON BORDER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_button_border_color', 'default' => '#dedede', 'description' => 'This color will changes all of the button border color in this theme except the button from shortcode.'), __('BUTTON TEXT COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_button_text_color', 'default' => '#7a7a7a', 'description' => 'This color will changes all of the button text color in this theme except the button from shortcode.'), __('BUTTON TEXT HOVER COLOR', 'gdl_back_office') => array('type' => 'colorpicker', 'name' => THEME_SHORT_NAME . '_button_text_hover_color', 'default' => '#7a7a7a', 'description' => 'This color will changes all of the button text color of "hover" state in this theme except the button from shortcode.')), 'gdl_panel_load_default_color' => array(__('LOAD DEFAULT ELEMENTS COLOR', 'gdl_back_office') => array('type' => 'button', 'text' => 'Load Default', 'id' => 'gdl_load_default_color_button', 'description' => 'Click this button to load the default elements color of this theme. Then click save changes to save the default value. <br><br> ' . 'WARNING : All of settings cannot be undo after you click save changes button.')), 'gdl_panel_enable_admin_translator' => array(__('ENABLE ADMIN TRANSLATOR', 'gdl_back_office') => array('type' => 'radioenabled', 'name' => THEME_SHORT_NAME . '_enable_admin_translator')), 'gdl_panel_blog_port_translator' => array(__('SOCIAL SHARE (BLOG/PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_social_shares', 'default' => 'Social Share'), __('LEAVE A REPLY (BLOG)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_leave_reply', 'default' => 'Leave a Reply'), __('ABOUT THE AUTHOR (BLOG)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_about_author', 'default' => 'About the Author'), __('CLIENT (PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_client', 'default' => 'Client'), __('VISIT WEBSITE (PORTFOLIO)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_visit_website', 'default' => 'Visit Website'), __('CONTINUE READING (BLOG)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_continue_reading', 'default' => 'Continue Reading →')), 'gdl_panel_contact_form_translator' => array(__('NAME (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_name_contact_form', 'default' => 'Name'), __('NAME ERROR (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_name_error_contact_form', 'default' => 'Please enter your name'), __('EMAIL (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_email_contact_form', 'default' => 'Email'), __('EMAIL ERROR (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_email_error_contact_form', 'default' => 'Please enter a valid email address'), __('MESSAGE (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_message_contact_form', 'default' => 'Message'), __('MESSAGE ERROR (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_message_error_contact_form', 'default' => 'Please enter message'), __('SUBMIT BUTTON (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_submit_contact_form', 'default' => 'Submit'), __('SEND ERROR (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_contact_send_error', 'default' => 'Message cannot be sent to destination'), __('SEND COMPLETE (CONTACT FORM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_contact_send_complete', 'default' => 'The e-mail was sent successfully')), 'gdl_panel_contact_widget_translator' => array(__('NAME (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_name_contact_widget', 'default' => 'Name'), __('EMAIL (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_email_contact_widget', 'default' => 'Email'), __('MESSAGE (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_message_contact_widget', 'default' => 'Message'), __('REQUIRE (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_require_contact_widget', 'default' => '* Require'), __('PLEASE WAIT (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_please_wait_contact_widget', 'default' => 'Please Wait...'), __('SENDING COMPLETE (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_sending_complete_contact_widget', 'default' => 'Thanks! Your email was sent'), __('SUBMIT BUTTON (CONTACT WIDGET)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_submit_contact_widget', 'default' => 'Submit')), 'gdl_panel_additional_elements_translator' => array(__('READ MORE (PRICE ITEM)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_translator_read_more_price', 'default' => 'Read More'), __('404 TITLE (404 PAGE)', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_404_title', 'default' => 'Sorry'), __('404 CONTENT (404 PAGE)', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_404_content', 'default' => "The page you are finding seem doesn't exist."), __('SEARCH NOT FOUND (SEARCH PAGE)', 'gdl_back_office') => array('type' => 'textarea', 'name' => THEME_SHORT_NAME . '_search_not_found', 'default' => "Sorry, but nothing matched your search criteria. Please try again with some different keywords.")), 'gdl_panel_nivo_slider' => array(__('SLIDER EFFECTS', 'gdl_back_office') => array('type' => 'combobox', 'oldname' => 'effect', 'name' => THEME_SHORT_NAME . '_nivo_slider_effect', 'options' => array('0' => 'sliceDown', '1' => 'sliceDownLeft', '2' => 'sliceUp', '3' => 'sliceUpLeft', '4' => 'sliceUpDown', '5' => 'sliceUpDownLeft', '6' => 'fold', '7' => 'fade', '8' => 'random', '9' => 'slideInRight', '10' => 'slideInLeft', '11' => 'boxRandom', '12' => 'boxRain', '13' => 'boxRainReverse', '14' => 'boxRainGrow', '15' => 'boxRainGrowReverse')), __('PAUSE ON HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'pauseOnHover', 'name' => THEME_SHORT_NAME . '_nivo_slider_pause_on_hover', 'description' => 'Pause the nivo slider when user hover at the slider.'), __('SHOW BULLETS', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'controlNav', 'name' => THEME_SHORT_NAME . '_nivo_slider_show_bullets', 'description' => 'Enable to show the nivo slider navigation bullets.'), __('SHOW LEFT/RIGHT NAVIGATION', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'directionNav', 'name' => THEME_SHORT_NAME . '_nivo_slider_show_navigation', 'description' => 'Enable left/right navigation of the nivo slider.'), __('ONLY SHOW NAVIGATION WHEN HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'directionNavHide', 'name' => THEME_SHORT_NAME . '_nivo_slider_hover_navigation', 'description' => 'If the left/right navigation is enabled, enable this option will hide the left/right navigation when the mouse cursor is outside the nivo slider frame.'), __('ANIMATION SPEED', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'animSpeed', 'name' => THEME_SHORT_NAME . '_nivo_slider_animation_speed', 'default' => '500', 'description' => 'This is the animation speed during the change of each slide.'), __('PAUSE TIME', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'pauseTime', 'name' => THEME_SHORT_NAME . '_nivo_slider_pause_time', 'default' => '3000', 'description' => 'This option is the pause time of each slider.'), __('CAPTION OPACITY', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'captionOpacity', 'name' => THEME_SHORT_NAME . '_nivo_slider_caption_opacity', 'default' => '0.8')), 'gdl_panel_flex_slider' => array(__('SLIDER EFFECTS', 'gdl_back_office') => array('type' => 'combobox', 'oldname' => 'animation', 'name' => THEME_SHORT_NAME . '_flex_slider_effect', 'options' => array('0' => 'fade', '1' => 'slide')), __('PAUSE ON HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'pauseOnHover', 'name' => THEME_SHORT_NAME . '_flex_slider_pause_on_hover', 'default' => 'disable', 'description' => 'Pause the flex slider when user hover at the slider.'), __('SHOW BULLETS', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'controlNav', 'name' => THEME_SHORT_NAME . '_flex_slider_show_bullets', 'description' => 'Enable to show the flex slider navigation bullets.'), __('SHOW NAVIGATION', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'directionNav', 'name' => THEME_SHORT_NAME . '_flex_slider_show_navigation', 'description' => 'Enable left/right navigation of the flex slider.'), __('ANIMATION SPEED', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'animationDuration', 'name' => THEME_SHORT_NAME . '_flex_slider_animation_speed', 'default' => '600', 'description' => 'This is the animation speed during the change of each slide.'), __('PAUSE TIME', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'slideshowSpeed', 'name' => THEME_SHORT_NAME . '_flex_slider_pause_time', 'default' => '7000', 'description' => 'This option is the pause time of each slider.'), __('PAUSE ON ACTION', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'pauseOnAction', 'name' => THEME_SHORT_NAME . '_flex_slider_pause_on_action', 'default' => 'false')), 'gdl_panel_anything_slider' => array(__('PAUSE ON HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'pauseOnHover', 'name' => THEME_SHORT_NAME . '_anything_slider_pause_on_hover', 'description' => 'Pause the anything slider when user hover at the slider.'), __('SHOW BULLETS', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'buildNavigation', 'name' => THEME_SHORT_NAME . '_anything_slider_show_bulltes', 'description' => 'Enable to show the anything slider navigation bullets.'), __('ONLY SHOW BULLETS WHEN HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'toggleControls', 'name' => THEME_SHORT_NAME . '_anything_slider_hover_bulltes', 'description' => 'If the bullets navigation is enabled, enable this option will hide the bullets navigation when the mouse cursor is outside the nivo slider frame.'), __('SHOW NAVIGATION', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'buildArrows', 'name' => THEME_SHORT_NAME . '_anything_slider_show_navigation', 'description' => 'Enable left/right navigation of the anything slider.'), __('ONLY SHOW NAVIGATION WHEN HOVER', 'gdl_back_office') => array('type' => 'radioenabled', 'oldname' => 'toggleArrows', 'name' => THEME_SHORT_NAME . '_anything_slider_hover_navigation', 'description' => 'If the left/right navigation is enabled, enable this option will hide the left/right navigation when the mouse cursor is outside the nivo slider frame.'), __('ANIMATION SPEED', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'animationTime', 'name' => THEME_SHORT_NAME . '_anything_slider_animation_speed', 'default' => '600', 'description' => 'This is the animation speed during the change of each slide.'), __('PAUSE TIME', 'gdl_back_office') => array('type' => 'inputtext', 'oldname' => 'delay', 'name' => THEME_SHORT_NAME . '_anything_slider_pause_time', 'default' => '3000', 'description' => 'This option is the pause time of each slider.')), 'gdl_panel_background_slider' => array(__('TRANSITION', 'gdl_back_office') => array('type' => 'combobox', 'name' => THEME_SHORT_NAME . '_supersized_transition', 'options' => array('Fade', 'Slide Top', 'Slide Right', 'Slide Bottom', 'Slide Left', 'Carousel Right', 'Carousel Left'), 'description' => 'This option is the pause time of each slider.'), __('ANIMATION SPEED', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_supersized_animation_speed', 'default' => '700', 'description' => 'This is the animation speed during the change of each slide.'), __('PAUSE TIME', 'gdl_back_office') => array('type' => 'inputtext', 'name' => THEME_SHORT_NAME . '_supersized_pause_time', 'default' => '5000', 'description' => 'This option is the pause time of each slider.')));
// add action to embeded the panel in to dashboard
add_action('admin_menu', 'add_goodlayers_panel');
function add_goodlayers_panel()
{
    $page = add_menu_page('GoodLayers Option', THEME_FULL_NAME, 'administrator', plugin_basename(__FILE__), 'create_goodlayers_panel');
    add_action('admin_print_scripts-' . $page, 'register_goodlayers_panel_scripts');
    add_action('admin_print_styles-' . $page, 'register_goodlayers_panel_styles');
}
// add ajax action to hook the functions when save button is pressed
add_action('wp_ajax_save_goodlayers_panel', 'save_goodlayers_panel');
function save_goodlayers_panel()
{
    check_ajax_referer(plugin_basename(__FILE__), 'security');
    global $goodlayers_element;
    foreach ($goodlayers_element as $elements) {