Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1423 | Rev 1435 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1423 Rev 1425
Line 60... Line 60...
60
		$this->executerFiche();
60
		$this->executerFiche();
61
	}
61
	}
Line 62... Line 62...
62
 
62
 
63
	public function executerFiche(){
63
	public function executerFiche(){
64
		$donnees = $this->parametres;
64
		$donnees = $this->parametres;
65
		$donnees['nom_retenu'] = $this->nom_retenu->get('nom_sci_html').' '.$this->nom_retenu->get('auteur');
65
		$donnees['nom_retenu'] = $this->nom_retenu->get('nom_sci').' '.$this->nom_retenu->get('auteur');
66
		$donnees['famille'] = $this->nom_retenu->getTaxonSupRang('180');
66
		$donnees['famille'] = $this->nom_retenu->getTaxonSupRang('180');
67
		$donnees = array_merge($this->obtenirDonnees(), $donnees);
67
		$donnees = array_merge($this->obtenirDonnees(), $donnees);
Line 68... Line 68...
68
		$donnees['url_absolue'] = "http://".$_SERVER['SERVER_NAME'].'/'.$_SERVER['REQUEST_URI'];
68
		$donnees['url_absolue'] = "http://".$_SERVER['SERVER_NAME'].'/'.$_SERVER['REQUEST_URI'];
Line 69... Line 69...
69
		
69
		
70
		$donnees['url_logos'] = "modules/mobile/presentations/logos/";
70
		$donnees['url_logos'] = "modules/mobile/presentations/logos/";
-
 
71
		
-
 
72
		$donnees['lien'] = $this->url->obtenirUrlMobile($this->parametres['num_nom']);
-
 
73
		$donnees['lien_fiche'] = $this->url->obtenirUrlFiche($this->parametres['num_nom']);
-
 
74
		
Line 71... Line 75...
71
		
75
		$tpl_edition = Config::get('smartFloreEditionFormulaireUrlTpl');
72
		$donnees['lien'] = $this->url->obtenirUrlMobile($this->parametres['num_nom']);
76
		$url_edition = sprintf($tpl_edition, strtoupper($this->parametres['referentiel']), $this->nom_retenu->get('num_taxonomique'));
Line 73... Line 77...
73
		$donnees['lien_fiche'] = $this->url->obtenirUrlFiche($this->parametres['num_nom']);
77
		$donnees['lien_edition'] = $url_edition;