Function Reference: geodir_custom_gmaps_manager_tab_content
Summary
This function has not been documented yet.
Source File
geodir_custom_gmaps_manager_tab_content() is located in geodir_custom_google_maps/geodir_custom_gmaps_functions.php [Line: 130]
Source Code
function geodir_custom_gmaps_manager_tab_content() {
global $wpdb;
$subtab = geodir_custom_gmaps_current_subtab();
if ($subtab == 'geodir_custom_gmaps_general_options') {
add_action('geodir_admin_option_form', 'geodir_custom_gmaps_option_form');
} else if ($subtab == 'geodir_custom_gmaps_manage_styles') {
$gd_map = isset($_REQUEST['gd_map']) ? trim($_REQUEST['gd_map']) : '';
if ($gd_map=='home' || $gd_map=='listing' || $gd_map=='detail') {
geodir_custom_gmaps_add_style_form();
} else {
geodir_custom_gmaps_show_styles_list();
}
}
}