| 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 29... |
Línea -... |
| 29 |
|
- |
|
| 30 |
$google_map_key = '';
|
- |
|
| 31 |
|
- |
|
| 32 |
$sandbox = $this->config['leaderslinked.runmode.sandbox'];
|
- |
|
| 33 |
if ($sandbox) {
|
- |
|
| 34 |
$google_map_key = $this->config['leaderslinked.google_map.sandbox_api_key'];
|
- |
|
| 35 |
} else {
|
- |
|
| 36 |
$google_map_key = $this->config['leaderslinked.google_map.production_api_key'];
|
- |
|
| 37 |
}
|
- |
|
| 38 |
|
29 |
|
| 39 |
$this->inlineScript()->appendFile('https://maps.googleapis.com/maps/api/js?key=' . $google_map_key . '&libraries=places');
|
30 |
$this->inlineScript()->appendFile('https://maps.googleapis.com/maps/api/js?key=' . $google_map_key . '&libraries=places');
|
| 40 |
$googleMapPlacesUrl = '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';
|
| Línea 41... |
Línea 32... |
| 41 |
$error_msg = "Por favor seleccione una ubicación real";
|
32 |
$error_msg = "Por favor seleccione una ubicación real";
|