|
@@ 348-350 (lines=3) @@
|
| 345 |
|
$need_map_key = true;
|
| 346 |
|
}
|
| 347 |
|
|
| 348 |
|
if (!geodir_get_map_api_key() && $need_map_key) {
|
| 349 |
|
echo '<div class="error"><p><strong>' . sprintf(__('Google Maps API KEY not set, %sclick here%s to set one OR use Open Street Maps instead.', 'geodirectory'), '<a href=\'' . admin_url('admin.php?page=geodirectory&tab=design_settings&active_tab=geodir_map_settings') . '\'>', '</a>') . '</strong></p></div>';
|
| 350 |
|
}
|
| 351 |
|
|
| 352 |
|
if (!geodir_is_default_location_set()) {
|
| 353 |
|
echo '<div class="updated fade"><p><strong>' . sprintf(__('Please %sclick here%s to set a default location, this will make the plugin work properly.', 'geodirectory'), '<a href=\'' . admin_url('admin.php?page=geodirectory&tab=default_location_settings') . '\'>', '</a>') . '</strong></p></div>';
|
|
@@ 352-355 (lines=4) @@
|
| 349 |
|
echo '<div class="error"><p><strong>' . sprintf(__('Google Maps API KEY not set, %sclick here%s to set one OR use Open Street Maps instead.', 'geodirectory'), '<a href=\'' . admin_url('admin.php?page=geodirectory&tab=design_settings&active_tab=geodir_map_settings') . '\'>', '</a>') . '</strong></p></div>';
|
| 350 |
|
}
|
| 351 |
|
|
| 352 |
|
if (!geodir_is_default_location_set()) {
|
| 353 |
|
echo '<div class="updated fade"><p><strong>' . sprintf(__('Please %sclick here%s to set a default location, this will make the plugin work properly.', 'geodirectory'), '<a href=\'' . admin_url('admin.php?page=geodirectory&tab=default_location_settings') . '\'>', '</a>') . '</strong></p></div>';
|
| 354 |
|
|
| 355 |
|
}
|
| 356 |
|
|
| 357 |
|
if (!function_exists('curl_init')) {
|
| 358 |
|
echo '<div class="error"><p><strong>' . __('CURL is not installed on this server, this can cause problems, please ask your server admin to install it.', 'geodirectory') . '</strong></p></div>';
|