Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

Rev 156 Rev 159
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: eflore_recherche_nomenclature.inc.php,v 1.7 2005-02-23 12:39:27 jpm Exp $
24
// CVS : $Id: eflore_recherche_nomenclature.inc.php,v 1.8 2005-02-28 15:38:47 jpm Exp $
25
/**
25
/**
26
* Affichage du moteur de recherche nomenclatural et de ses résultats.
26
* Affichage du moteur de recherche nomenclatural et de ses résultats.
27
*
27
*
28
* Ce script fournit le code html correspondant aux moteurs de recherche nomenclatural et ses résultats.
28
* Ce script fournit le code html correspondant aux moteurs de recherche nomenclatural et ses résultats.
29
*
29
*
Line 31... Line 31...
31
//Auteur original :
31
//Auteur original :
32
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
32
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
33
//Autres auteurs :
33
//Autres auteurs :
34
*@author        Aucun
34
*@author        Aucun
35
*@copyright     Tela-Botanica 2000-2004
35
*@copyright     Tela-Botanica 2000-2004
36
*@version       $Revision: 1.7 $ $Date: 2005-02-23 12:39:27 $
36
*@version       $Revision: 1.8 $ $Date: 2005-02-28 15:38:47 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
Line 39... Line 39...
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 98... Line 98...
98
$label = '';
98
$label = '';
99
$eflore_form->addElement('radio', $id, $label, EFLORE_LG_RECH_NOM_FORM_TYPE_NOM_VER, $valeur, $aso_attributs);
99
$eflore_form->addElement('radio', $id, $label, EFLORE_LG_RECH_NOM_FORM_TYPE_NOM_VER, $valeur, $aso_attributs);
100
if (isset($_REQUEST[$id])) {
100
if (isset($_REQUEST[$id])) {
101
    switch ($_REQUEST[$id]) {
101
    switch ($_REQUEST[$id]) {
102
        case 'nom_scientifique':
102
        case 'nom_scientifique':
103
            $form->setDefaults(array($id => 'nom_scientifique'));
103
            $eflore_form->setDefaults(array($id => 'nom_scientifique'));
104
            break;
104
            break;
105
        case 'nom_vernaculaire':
105
        case 'nom_vernaculaire':
106
            $form->setDefaults(array($id => 'nom_vernaculaire'));
106
            $eflore_form->setDefaults(array($id => 'nom_vernaculaire'));
107
            break;
107
            break;
108
    }
108
    }
109
} else {
109
} else {
110
    $eflore_form->setDefaults(array($id => 'nom_scientifique'));
110
    $eflore_form->setDefaults(array($id => 'nom_scientifique'));
111
}
111
}
Line 176... Line 176...
176
}
176
}
Line 177... Line 177...
177
 
177
 
178
/* +--Fin du code ----------------------------------------------------------------------------------------+
178
/* +--Fin du code ----------------------------------------------------------------------------------------+
179
*
179
*
-
 
180
* $Log: not supported by cvs2svn $
-
 
181
* Revision 1.7  2005/02/23 12:39:27  jpm
-
 
182
* Correction bogue lié à QuickForm.
180
* $Log: not supported by cvs2svn $
183
*
181
* Revision 1.6  2005/02/22 19:27:10  jpm
184
* Revision 1.6  2005/02/22 19:27:10  jpm
182
* Changement de nom de variables.
185
* Changement de nom de variables.
183
* Suppression de l'attribut nam de la balise form via une méthode de HTML_Common.
186
* Suppression de l'attribut nam de la balise form via une méthode de HTML_Common.
184
*
187
*