Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1115 Rev 1357
Line 96... Line 96...
96
		if ($projet != "") {
96
		if ($projet != "") {
97
			$dessin = array();
97
			$dessin = array();
98
			$tax = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
98
			$tax = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
99
			$this->images->setProjet($projet);
99
			$this->images->setProjet($projet);
100
			$this->images->setNnTaxon($tax);
100
			$this->images->setNnTaxon($tax);
-
 
101
			if ($this->referentiel == 'bdtfx') {
101
			$costeImg = $this->images->setApi(Eflore::API_EFLORE)->getInfosImagesTaxons();
102
				$costeImg = $this->images->setApi(Eflore::API_EFLORE)->getInfosImagesTaxons();
102
			$this->images->setApi(Eflore::API_DEL);
103
				$this->images->setApi(Eflore::API_DEL);
103
 
-
 
104
			if (count($costeImg) != 0) {
104
				if (count($costeImg) != 0) {
105
				$img['src'] = $costeImg[key($costeImg)]['binaire.href'];
105
					$img['src'] = $costeImg[key($costeImg)]['binaire.href'];
106
				$img['legende']['titre'] = "Illustration de Coste";
106
					$img['legende']['titre'] = "Illustration de Coste";
107
				$img['legende']['texte'] = " ";
107
					$img['legende']['texte'] = " ";
-
 
108
				}
108
			}
109
			}
109
		}
110
		}
Line 110... Line 111...
110
 
111
 
111
		return $img;
112
		return $img;