Subversion Repositories eFlore/Applications.cel-consultation

Compare Revisions

Ignore whitespace Rev 15 → Rev 16

/trunk/controleurs/aControleur.php
254,7 → 254,7
$chaine = 'commune:'.$localite;
if($departement == null || $departement == 'null' || $departement == '00null') {
$chaine += '+departement:'.$departement;
$chaine += '+dept:'.$departement;
}
return self::convertirPourUrl($chaine);
280,6 → 280,20
return $chaine;
}
public static function convertirChaineTaxonPourAffichageSimple($taxon) {
if($taxon == 'null') {
$taxon = 'indetermine';
}
$chaine = htmlentities($taxon);
return $chaine;
}
public static function getUrlFicheEfloreNumNom($num_nomenclatural) {
return Config::get('url_base_fiche_eflore').$num_nomenclatural;
}
public static function convertirChaineAuteurPourRequeteUrl($auteur) {
$chaine = 'auteur:'.self::convertirPourUrl($auteur);
307,7 → 321,7
public static function couperCourriel($courriel) {
$tableau_morceaux_courriel = split('@',$courriel);
$tableau_morceaux_courriel = explode('@',$courriel);
return $tableau_morceaux_courriel[0].'...';
}
350,6 → 364,10
return Config::get('url_base').'squelettes/css/';
}
public static function getUrlStyleImages() {
return Config::get('url_base').'squelettes/images/';
}
public static function renvoyerInclusionStyle() {
return SquelettePhp::analyser(Config::get('chemin_squelettes').'inclusion/script.tpl.html', array());
}