Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

Rev 123 Rev 144
Line 19... Line 19...
19
// |                                                                                                      |
19
// |                                                                                                      |
20
// | You should have received a copy of the GNU General Public License                                    |
20
// | You should have received a copy of the GNU General Public License                                    |
21
// | along with Foobar; if not, write to the Free Software                                                |
21
// | along with Foobar; if not, write to the Free Software                                                |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
23
// +------------------------------------------------------------------------------------------------------+
23
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: recherche_taxon_xhtml.php,v 1.1 2005-01-28 19:45:44 jpm Exp $
24
// CVS : $Id: recherche_taxon_xhtml.php,v 1.2 2005-02-14 18:11:43 jpm Exp $
25
/**
25
/**
26
* Vue affichant la liste des taxons d'un projet.
26
* Vue affichant la liste des taxons d'un projet.
27
*
27
*
28
* Permet de retourner le xhtml correspondant à une liste hiérarchisées des taxons d'un projet.
28
* Permet de retourner le xhtml correspondant à une liste hiérarchisées des taxons d'un projet.
29
*
29
*
Line 32... Line 32...
32
//Auteur original :
32
//Auteur original :
33
*@author        Frédéric LEGENS <flegens@free.fr>
33
*@author        Frédéric LEGENS <flegens@free.fr>
34
//Autres auteurs :
34
//Autres auteurs :
35
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
35
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
36
*@copyright     Tela-Botanica 2000-2004
36
*@copyright     Tela-Botanica 2000-2004
37
*@version       $Revision: 1.1 $ $Date: 2005-01-28 19:45:44 $
37
*@version       $Revision: 1.2 $ $Date: 2005-02-14 18:11:43 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
Line 40... Line 40...
40
 
40
 
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
Line 90... Line 90...
90
// |                                            LISTE des FONCTIONS                                       |
90
// |                                            LISTE des FONCTIONS                                       |
91
// +------------------------------------------------------------------------------------------------------+
91
// +------------------------------------------------------------------------------------------------------+
Line 92... Line 92...
92
 
92
 
93
function afficherTaxon($donnees)
93
function afficherTaxon($donnees)
-
 
94
{
94
{
95
    //echo '<pre>'.print_r($donnees, true).'</pre>';
95
    $retour = '<li><a href="{UrlFicheNom}'.$donnees['en_id_nom'].'">';
96
    $retour = '<li><a href="func_remplacerUrlClassif('.$donnees['esn_id_taxon'].')">';
-
 
97
    $retour .= '<img src="#" alt="+"/>';
96
    if (!empty($donnees['eni_intitule_nom'])) {
98
    $retour .= '</a><a id="eflore_taxon_'.$donnees['esn_id_taxon'].'" href="{UrlFicheNom}'.$donnees['en_id_nom'].'">';
97
        $retour .= $donnees['eni_intitule_nom'];
-
 
98
    }
99
    $retour .= $donnees['eni_intitule_nom'];
99
    $retour .= '</a></li>'."\n";
100
    $retour .= '</a>func_ajouterArboressenceClassif('.$donnees['esn_id_taxon'].')</li>'."\n";
100
    return $retour;
101
    return $retour;
Line 101... Line 102...
101
}
102
}
102
 
103
 
Line 106... Line 107...
106
 
107
 
107
 
108
 
108
/* +--Fin du code ----------------------------------------------------------------------------------------+
109
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
110
*
-
 
111
* $Log: not supported by cvs2svn $
-
 
112
* Revision 1.1  2005/01/28 19:45:44  jpm
109
*
113
* Début recheche taxons.
110
* $Log: not supported by cvs2svn $
114
*
111
*
115
*
112
* +-- Fin du code ----------------------------------------------------------------------------------------+
116
* +-- Fin du code ----------------------------------------------------------------------------------------+
113
*/
117
*/