Line 45... |
Line 45... |
45 |
if (is_null($retour)) {
|
45 |
if (is_null($retour)) {
|
46 |
$contenu = 'Un problème est survenu : '.print_r($this->messages, true);
|
46 |
$contenu = 'Un problème est survenu : '.print_r($this->messages, true);
|
47 |
} else {
|
47 |
} else {
|
48 |
$urlWsCommune = sprintf($this->config['chemins']['baseURLServicesCelTpl'], 'LocationSearch');
|
48 |
$urlWsCommune = sprintf($this->config['chemins']['baseURLServicesCelTpl'], 'LocationSearch');
|
49 |
$retour['donnees']['url_ws_autocompletion_commune'] = $urlWsCommune;
|
49 |
$retour['donnees']['url_ws_autocompletion_commune'] = $urlWsCommune;
|
- |
|
50 |
$urlWsNomSci = sprintf($this->config['chemins']['baseURLServicesCelTpl'], 'NameSearch');
|
- |
|
51 |
$retour['donnees']['url_ws_autocompletion_nom_sci'] = $urlWsNomSci;
|
50 |
$retour['donnees']['url_base'] = sprintf($this->config['chemins']['baseURLAbsoluDyn'], '');
|
52 |
$retour['donnees']['url_base'] = sprintf($this->config['chemins']['baseURLAbsoluDyn'], '');
|
51 |
$retour['donnees']['url_export'] = sprintf($this->config['chemins']['baseURLServicesCelTpl'], 'CelWidgetExport');
|
53 |
$retour['donnees']['url_export'] = sprintf($this->config['chemins']['baseURLServicesCelTpl'], 'CelWidgetExport');
|
52 |
$squelette = dirname(__FILE__).self::DS.'squelettes'.self::DS.$retour['squelette'].'.tpl.html';
|
54 |
$squelette = dirname(__FILE__).self::DS.'squelettes'.self::DS.$retour['squelette'].'.tpl.html';
|
53 |
$contenu = $this->traiterSquelettePhp($squelette, $retour['donnees']);
|
55 |
$contenu = $this->traiterSquelettePhp($squelette, $retour['donnees']);
|
54 |
}
|
56 |
}
|