| Línea 25... |
Línea 25... |
| 25 |
$this->inlineScript()->captureStart();
|
25 |
$this->inlineScript()->captureStart();
|
| 26 |
echo " jQuery( document ).ready(function( $ ) { $notify }); ";
|
26 |
echo " jQuery( document ).ready(function( $ ) { $notify }); ";
|
| 27 |
$this->inlineScript()->captureEnd();
|
27 |
$this->inlineScript()->captureEnd();
|
| 28 |
}
|
28 |
}
|
| Línea -... |
Línea 29... |
| - |
|
29 |
|
| - |
|
30 |
$sandbox = $this->config['leaderslinked.runmode.sandbox'];
|
| - |
|
31 |
if ($sandbox) {
|
| - |
|
32 |
$google_map_key = $this->config['leaderslinked.google_map.sandbox_api_key'];
|
| - |
|
33 |
} else {
|
| - |
|
34 |
$google_map_key = $this->config['leaderslinked.google_map.production_api_key'];
|
| - |
|
35 |
}
|
| 29 |
|
36 |
|
| 30 |
$this->inlineScript()->appendFile('https://maps.googleapis.com/maps/api/js?key=' . $google_map_key . '&libraries=places');
|
37 |
$this->inlineScript()->appendFile('https://maps.googleapis.com/maps/api/js?key=' . $google_map_key . '&libraries=places');
|
| 31 |
$googleMapPlacesUrl = 'https://maps.googleapis.com/maps/api/js?key=' . $google_map_key . '&libraries=places';
|
38 |
$googleMapPlacesUrl = 'https://maps.googleapis.com/maps/api/js?key=' . $google_map_key . '&libraries=places';
|
| Línea 32... |
Línea 39... |
| 32 |
$error_msg = "Por favor seleccione una ubicación real";
|
39 |
$error_msg = "Por favor seleccione una ubicación real";
|