Line 101... |
Line 101... |
101 |
|
101 |
|
102 |
$widget['squelette'] = $this->projet;
|
102 |
$widget['squelette'] = $this->projet;
|
103 |
$widget['donnees'] = array();
|
103 |
$widget['donnees'] = array();
|
104 |
$widget['donnees']['url_base'] = sprintf($this->config['chemins']['baseURLAbsoluDyn'], '');
|
104 |
$widget['donnees']['url_base'] = sprintf($this->config['chemins']['baseURLAbsoluDyn'], '');
|
105 |
$widget['donnees']['url_ws_saisie'] = sprintf($this->config['chemins']['baseURLServicesCelTpl'], self::WS_SAISIE);
|
105 |
$widget['donnees']['url_ws_saisie'] = sprintf($this->config['chemins']['baseURLServicesCelTpl'], self::WS_SAISIE);
|
- |
|
106 |
|
- |
|
107 |
$widget['donnees']['logo'] = isset($_GET['logo']) ? $_GET['logo'] : 'defaut';
|
- |
|
108 |
$widget['donnees']['titre'] = isset($_GET['titre']) ? $_GET['titre'] : 'defaut';
|
- |
|
109 |
$widget['donnees']['titre'] = ($widget['donnees']['titre'] == '0') ? '' : $widget['donnees']['titre'];
|
106 |
|
110 |
|
107 |
// cas du projet par défaut ou bien d'un projet n'ayant pas de squelette spécifique
|
111 |
// cas du projet par défaut ou bien d'un projet n'ayant pas de squelette spécifique
|
108 |
if ($this->projet == 'defaut' || !$this->projetASquelette()) {
|
112 |
if ($this->projet == 'defaut' || !$this->projetASquelette()) {
|
109 |
$urlWsNsTpl = $this->config['chemins']['baseURLServicesEfloreTpl'];
|
113 |
$urlWsNsTpl = $this->config['chemins']['baseURLServicesEfloreTpl'];
|
110 |
$urlWsNs = sprintf($urlWsNsTpl, self::EFLORE_API_VERSION, $this->NS_PROJET, self::WS_NOM);
|
114 |
$urlWsNs = sprintf($urlWsNsTpl, self::EFLORE_API_VERSION, $this->NS_PROJET, self::WS_NOM);
|