Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 898 Rev 916
Line 765... Line 765...
765
				$req = str_replace('nom_sci', 'nom_sci_html as nom_sci', $req);
765
				$req = str_replace('nom_sci', 'nom_sci_html as nom_sci', $req);
766
			}
766
			}
767
			$res = $this->getBdd()->recuperer($req . ' -- ' . __FILE__ . ':' . __LINE__);
767
			$res = $this->getBdd()->recuperer($req . ' -- ' . __FILE__ . ':' . __LINE__);
768
			if ($res) {
768
			if ($res) {
769
				$nom['nom_sci']	= $res['nom_sci'];
769
				$nom['nom_sci']	= $res['nom_sci'];
770
				$nom['nom_sci_html']	= $res['nom_sci_html'];
770
				$nom['nom_sci_html'] = $res['nom_sci_html'];
771
				$nom['nom_sci_complet']	= $res['nom_sci'].' '.$this->ajouterCompositionNom($res);
771
				$nom['nom_sci_complet'] = $res['nom_sci'].' '.$this->ajouterCompositionNom($res);
772
				$nom['nom_sci_complet_html']	= $res['nom_sci_html'].' '.$this->ajouterCompositionNom($res, 'htm');
772
				$nom['nom_sci_complet_html'] = $res['nom_sci_html'].' '.$this->ajouterCompositionNom($res, 'htm');
773
				$nom['service'] = ($res['num_nom_retenu'] == $id && $this->service == 'taxons') ? 'taxons' : 'noms';
773
				$nom['service'] = ($res['num_nom_retenu'] == $id && $this->service == 'taxons') ? 'taxons' : 'noms';
774
			}
774
			}
775
		}
775
		}
776
		return $nom;
776
		return $nom;
777
	}
777
	}