Subversion Repositories eFlore/Archives.eflore-consultation-v2

Compare Revisions

Ignore whitespace Rev 180 → Rev 179

/trunk/serveur/eflore_mv/vues/fiche_synthese_xhtml.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: fiche_synthese_xhtml.php,v 1.10 2005-08-26 13:43:24 jp_milcent Exp $
// CVS : $Id: fiche_synthese_xhtml.php,v 1.9 2005-06-30 15:25:07 jpm Exp $
/**
* Vue affichant la fiche de synthèse d'un nom dans le projet donné
*
35,7 → 35,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.10 $ $Date: 2005-08-26 13:43:24 $
*@version $Revision: 1.9 $ $Date: 2005-06-30 15:25:07 $
// +------------------------------------------------------------------------------------------------------+
*/
 
59,8 → 59,6
function serialiser()
{
$referentiel_nom = $this->leBlock->afficherPattern('FICHE_SYNTHESE>PROJET_VERSION','afficherNomProjetVersion');
$nt = $this->leBlock->afficherPattern('FICHE_SYNTHESE','afficherNomInfosNt');
// La page xhtml :
$retour = '<?xml version="1.0" encoding="iso-8859-15" ?>'."\n";
$retour .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "../../../commun/generique/dtd/xhtml1-strict.dtd">'."\n";
82,26 → 80,25
$retour .= '<h2>'.'Informations sur le nom :'.'</h2>'."\n";
$retour .= '<p>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_SYNTHESE>NOM_LATIN','afficherNomInfos');
$retour .= 'Numéro taxonomique pour le référentiel "'.$referentiel_nom.'" : '.$nt;
$retour .= '</p>'."\n";
$retour .= '<h2>'.'Référentiel courant: '.'</h2>';
$retour .= '<h2>'.'Projet courant: '.'</h2>';
$retour .= '<p>'."\n";
$retour .= $referentiel_nom;
$retour .= $this->leBlock->afficherPattern('FICHE_SYNTHESE>PROJET_VERSION','afficherNomProjetVersion');
$retour .= '</p>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_SYNTHESE>NOM_SELECTION_PROJETS','compterProjets');
if ($GLOBALS['nbre_projet'] == 1) {
$retour .= '<h2>'.'Présent uniquement dans le référentiel : '.'</h2>'."\n";
$retour .= '<h2>'.'Présent uniquement dans le projet : '.'</h2>'."\n";
$retour .= '<p>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_SYNTHESE>PROJET_VERSION','afficherNomProjetVersion');
$retour .= '</p>'."\n";
} else if ($GLOBALS['nbre_projet'] > 1 AND $GLOBALS['nbre_projet'] < 6) {
$retour .= '<h2>'.'Présent dans les référentiels: '.'</h2>'."\n";
$retour .= '<h2>'.'Présent dans les projets: '.'</h2>'."\n";
$retour .= '<ul>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_SYNTHESE>NOM_SELECTION_PROJETS','afficherListeProjets', null, TRUE);
$retour .= '</ul>'."\n";
} else {
$retour .= '<h2>'.'Présent dans les référentiels: '.'</h2>'."\n";
$retour .= '<h2>'.'Présent dans les projets: '.'</h2>'."\n";
$retour .= '<form id="eflore_form_projet" action="{FormUrlProjetChangement}" method="post">'."\n";
$retour .= '<p>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_SYNTHESE>NOM_LATIN','afficherChampNom');
114,7 → 111,7
}
// Gestion du nom correct
$retour .= '<h2>'.'Nom correct dans le référentiel courant: '.'</h2>'."\n";
$retour .= '<h2>'.'Nom correct dans le projet courant: '.'</h2>'."\n";
$aso_param['statut_id'] = 3;
$retour .= $this->leBlock->afficherPattern('FICHE_SYNTHESE>TAXON_NOMS>NOM_LATIN','afficherNomCorrect', $aso_param, TRUE);
216,7 → 213,7
}
if (empty($retour_syno_final)) {
$retour .= '<h2>'.'Synonymie : '.'</h2>'."\n";
$retour .= '<p>'.'Aucune synonymie pour ce nom dans ce référentiel.'.'</p>'."\n";
$retour .= '<p>'.'Aucune synonymie pour ce nom dans ce projet.'.'</p>'."\n";
} else {
$retour .= '<h2>'.'Synonymie : '.'</h2>'."\n";
$retour .= $retour_syno_final;
226,7 → 223,7
$nom_verna_lignes = $this->leBlock->afficherPattern('FICHE_SYNTHESE>VERNACULAIRE_NOMS','afficherNomVernaculaire');
if (empty($nom_verna_lignes)) {
$retour .= '<h2>'.'Noms vernaculaires :'.'</h2>'."\n";
$retour .= '<p>'.'Aucun nom vernaculaire pour ce taxon dans ce référentiel.'.'</p>'."\n";
$retour .= '<p>'.'Aucun nom vernaculaire pour ce taxon dans ce projet.'.'</p>'."\n";
} else {
$retour .= '<h2>'.'Noms vernaculaires : '.'</h2>'."\n";
$retour .= '<table id="tableau_nom_verna">'."\n";
335,15 → 332,11
{
$retour = '';
//$retour .= '<pre>'.print_r($donnees, true).'</pre>';
$retour .= 'Numéro nomenclatural absolu : '.$donnees['en_id_nom']."\n";
$retour .= '<br />';
$retour .= 'Nom sélectionné précédemment : '.construireNomLatin($donnees).'<br />'."\n";
$retour .= 'Numéro nomenclatural absolu : '.$donnees['en_id_nom'].'<br />'."\n";
return $retour;
}
function afficherNomInfosNt($donnees)
{
return $donnees['nt'];
}
 
function afficherNomProjetVersion($donnees)
{
463,9 → 456,6
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.9 2005/06/30 15:25:07 jpm
* Début des modifications pour ajout de l'arborescence de la classif.
*
* Revision 1.8 2005/02/14 18:11:43 jpm
* Amélioration.
*