Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1388 → Rev 1387

/trunk/configurations/config.defaut.ini
224,8 → 224,6
texteFormateWikiTpl = "{ref:texteWikiTpl}?txt.format=text/html"
texteFormateSectionWikiTpl = "{ref:texteFormateWikiTpl}&txt.section.titre={sectionTitre}"
 
smartFloreWikiTpl = "http://www.tela-botanica.org/wikini/eFloreRedactionTest/api/rest/0.5/pages/SmartFlore"
 
wikipediaLienPageTpl = "http://{langue}.wikipedia.org/wiki/{id}"
 
informationsTpl = "{ref:baseUrlApiEflore}/informations"
/trunk/modules/mobile/sources/Texte.php
55,8 → 55,7
//formater pour AppUrls ?
public function obtenirUrlWikini() {
$titre = urlencode("Fiche simplifiée Smart'flore");
$base_url_wiki = Config::get('smartFloreWikiTpl');
$url_wiki = $base_url_wiki
$url_wiki = "http://www.tela-botanica.org/wikini/eFloreRedaction/api/rest/0.5/pages/SmartFlore"
.strtoupper($this->conteneur->getParametre('referentiel'))."nt".$this->nomCourant->getNomSelectionne()->get('num_taxonomique')
."?txt.format=".$this->format."&txt.section.titre=".$titre;