Line 116... |
Line 116... |
116 |
$widget['donnees']['logo'] = isset($_GET['logo']) ? $_GET['logo'] : 'defaut';
|
116 |
$widget['donnees']['logo'] = isset($_GET['logo']) ? $_GET['logo'] : 'defaut';
|
117 |
$widget['donnees']['titre'] = isset($_GET['titre']) ? $_GET['titre'] : 'defaut';
|
117 |
$widget['donnees']['titre'] = isset($_GET['titre']) ? $_GET['titre'] : 'defaut';
|
118 |
$widget['donnees']['titre'] = ($widget['donnees']['titre'] == '0') ? '' : $widget['donnees']['titre'];
|
118 |
$widget['donnees']['titre'] = ($widget['donnees']['titre'] == '0') ? '' : $widget['donnees']['titre'];
|
Line 119... |
Line 119... |
119 |
|
119 |
|
120 |
// cas du projet par défaut ou bien d'un projet n'ayant pas de squelette spécifique
|
120 |
// cas du projet par défaut ou bien d'un projet n'ayant pas de squelette spécifique
|
121 |
$projetsAutorises = array('defaut', 'ambrosia', 'florileges', 'sauvages');
|
121 |
$projetsAutorises = array('defaut', 'ambrosia', 'arbres-tetards', 'florileges', 'sauvages');
|
122 |
if (in_array($this->projet, $projetsAutorises) || !$this->projetASquelette()) {
|
122 |
if (in_array($this->projet, $projetsAutorises) || !$this->projetASquelette()) {
|
123 |
$urlWsNsTpl = $this->config['chemins']['baseURLServicesEfloreTpl'];
|
123 |
$urlWsNsTpl = $this->config['chemins']['baseURLServicesEfloreTpl'];
|
124 |
$urlWsNs = sprintf($urlWsNsTpl, self::EFLORE_API_VERSION, $this->NS_PROJET, self::WS_NOM);
|
124 |
$urlWsNs = sprintf($urlWsNsTpl, self::EFLORE_API_VERSION, $this->NS_PROJET, self::WS_NOM);
|
125 |
$urlWsNsSansRef = sprintf($urlWsNsTpl, self::EFLORE_API_VERSION, '{referentiel}', self::WS_NOM);
|
125 |
$urlWsNsSansRef = sprintf($urlWsNsTpl, self::EFLORE_API_VERSION, '{referentiel}', self::WS_NOM);
|
Line 329... |
Line 329... |
329 |
}
|
329 |
}
|
330 |
$tableauJs = implode(',', $dimensions);
|
330 |
$tableauJs = implode(',', $dimensions);
|
331 |
}
|
331 |
}
|
332 |
return $tableauJs;
|
332 |
return $tableauJs;
|
333 |
}
|
333 |
}
|
334 |
}
|
- |
|
335 |
?>
|
- |
|
336 |
|
334 |
}
|
- |
|
335 |
|
337 |
|
336 |
|