Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

Rev 125 Rev 163
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_nom_latin_xhtml.php,v 1.4 2005-01-28 19:47:09 jpm Exp $
24
// CVS : $Id: recherche_nom_latin_xhtml.php,v 1.5 2005-03-15 13:45:42 tam Exp $
25
/**
25
/**
26
* Vue affichant la liste des noms latins correspondant à un radical recherché.
26
* Vue affichant la liste des noms latins correspondant à un radical recherché.
27
*
27
*
28
* Permet de retourner le html correspondant à la liste des noms latins correspondant à un radical recherché.
28
* Permet de retourner le html correspondant à la liste des noms latins correspondant à un radical recherché.
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.4 $ $Date: 2005-01-28 19:47:09 $
37
*@version       $Revision: 1.5 $ $Date: 2005-03-15 13:45:42 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
Line 40... Line 40...
40
 
40
 
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
Line 71... Line 71...
71
        $retour .= '<!-- END entete -->'."\n";
71
        $retour .= '<!-- END entete -->'."\n";
72
        $retour .= '</head>'."\n";
72
        $retour .= '</head>'."\n";
Line 73... Line 73...
73
        
73
        
74
        $retour .= '<body>'."\n";
74
        $retour .= '<body>'."\n";
75
        $retour .= '<!-- BEGIN corps -->'."\n";
75
        $retour .= '<!-- BEGIN corps -->'."\n";
76
        $retour .= '<h1>'.'Liste des noms'.'</h1>'."\n";
76
        $retour .= '<h1>'.'Liste des noms trouvés'.'</h1>'."\n";
77
        $retour .= $this->leBlock->afficherPattern('FICHE_LISTE_NOMS','afficherResumerRecherche');
77
        $retour .= $this->leBlock->afficherPattern('FICHE_LISTE_NOMS','afficherResumerRecherche');
78
        $retour .= '<ol>'."\n";
78
        $retour .= '<ol>'."\n";
79
        $retour .= $this->leBlock->afficherPattern('FICHE_LISTE_NOMS>NOM_RECHERCHE','afficherNom');
79
        $retour .= $this->leBlock->afficherPattern('FICHE_LISTE_NOMS>NOM_RECHERCHE','afficherNom');
80
        $retour .= '</ol>'."\n";
80
        $retour .= '</ol>'."\n";
Line 90... Line 90...
90
// +------------------------------------------------------------------------------------------------------+
90
// +------------------------------------------------------------------------------------------------------+
91
// |                                            LISTE des FONCTIONS                                       |
91
// |                                            LISTE des FONCTIONS                                       |
92
// +------------------------------------------------------------------------------------------------------+
92
// +------------------------------------------------------------------------------------------------------+
93
function afficherResumerRecherche($donnees)
93
function afficherResumerRecherche($donnees)
94
{
94
{
95
    $retour .= '<h2>'.'Résumer de la recherche :'.'</h2>'."\n";
95
    $retour .= '<h2>'.'Résumé de la recherche :'.'</h2>'."\n";
96
    $retour .= '<p>'."\n";
96
    $retour .= '<p>'."\n";
97
    $retour .= 'Radical : '.$donnees['radical']."\n";
97
    $retour .= 'Radical : '.$donnees['radical']."\n";
98
    if ($donnees['rang'] != '' || $donnees['rang'] != 0) {
98
    if ($donnees['rang'] != '' || $donnees['rang'] != 0) {
99
        $retour .= ' - Rang : '.$donnees['rang']."\n";
99
        $retour .= ' - Rang : '.$donnees['rang']."\n";
100
    }
100
    }
Line 114... Line 114...
114
 
114
 
115
 
115
 
116
/* +--Fin du code ----------------------------------------------------------------------------------------+
116
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
117
*
-
 
118
* $Log: not supported by cvs2svn $
-
 
119
* Revision 1.4  2005/01/28 19:47:09  jpm
117
*
120
* Amélioration du rendu par ajout d'entité à la place des caractères posant pb et changement de l'encodage.
118
* $Log: not supported by cvs2svn $
121
*
119
* Revision 1.3  2005/01/26 10:45:13  jpm
122
* Revision 1.3  2005/01/26 10:45:13  jpm
120
* Ajout de commentaires d'entête.
123
* Ajout de commentaires d'entête.
121
*
124
*