Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

Rev 149 Rev 154
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.4 2005-02-15 13:00:23 jpm Exp $
24
// CVS : $Id: eflore_recherche_nomenclature.inc.php,v 1.5 2005-02-22 17:43:53 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.4 $ $Date: 2005-02-15 13:00:23 $
36
*@version       $Revision: 1.5 $ $Date: 2005-02-22 17:43:53 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
Line 39... Line 39...
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 58... Line 58...
58
// Création du formulaire
58
// Création du formulaire
59
$sortie .= '<ul>';
59
$sortie .= '<ul>';
60
// Ajout du paramêtre action à l'url courante.
60
// Ajout du paramêtre action à l'url courante.
61
$GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ACTION, EFLORE_LG_URL_ACTION_RECH_NOM);
61
$GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ACTION, EFLORE_LG_URL_ACTION_RECH_NOM);
62
// Notes : Quickform semble remplacer les & des &amp; à nouveau par des &amp; solution utiliser str_replace()...
62
// Notes : Quickform semble remplacer les & des &amp; à nouveau par des &amp; solution utiliser str_replace()...
63
$form =& new HTML_QuickForm('eflore_form_nomenclature', 'post', str_replace('&amp;', '&', $GLOBALS['_EFLORE_']['url']->getUrl()));
63
$form = new HTML_QuickForm('eflore_form_nomenclature', 'post', str_replace('&amp;', '&', $GLOBALS['_EFLORE_']['url']->getUrl()));
64
$tab_index = EFLORE_RECH_NOM_FORM_TAB;
64
$tab_index = EFLORE_RECH_NOM_FORM_TAB;
65
$squelette =& $form->defaultRenderer();
65
$squelette = $form->defaultRenderer();
66
$squelette->setFormTemplate("\n".'<form{attributes}>'."\n".'{content}'."\n".'</form>');
66
$squelette->setFormTemplate("\n".'<form{attributes}>'."\n".'{content}'."\n".'</form>');
67
$squelette->setElementTemplate( '<li>'."\n".
67
$squelette->setElementTemplate( '<li>'."\n".
68
                                '{label}'."\n".
68
                                '{label}'."\n".
69
                                '{element}'."\n".
69
                                '{element}'."\n".
70
                                '<!-- BEGIN required --><span class="symbole_obligatoire">'.EFLORE_LG_FORM_SYMBOLE_OBLIGATOIRE.'</span><!-- END required -->'."\n".
70
                                '<!-- BEGIN required --><span class="symbole_obligatoire">'.EFLORE_LG_FORM_SYMBOLE_OBLIGATOIRE.'</span><!-- END required -->'."\n".
Line 174... Line 174...
174
}
174
}
Line 175... Line 175...
175
 
175
 
176
/* +--Fin du code ----------------------------------------------------------------------------------------+
176
/* +--Fin du code ----------------------------------------------------------------------------------------+
177
*
177
*
-
 
178
* $Log: not supported by cvs2svn $
-
 
179
* Revision 1.4  2005/02/15 13:00:23  jpm
-
 
180
* Ajout d'un test pour initialiser une variable.
178
* $Log: not supported by cvs2svn $
181
*
179
* Revision 1.3  2005/01/28 19:47:55  jpm
182
* Revision 1.3  2005/01/28 19:47:55  jpm
180
* Ajout de la recherche pour les taxons.
183
* Ajout de la recherche pour les taxons.
181
*
184
*
182
* Revision 1.2  2005/01/03 19:44:40  jpm
185
* Revision 1.2  2005/01/03 19:44:40  jpm