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: formulaire_taxonomique_xhtml.php,v 1.7 2005-06-09 18:09:52 jpm Exp $
|
24 |
// CVS : $Id: formulaire_taxonomique_xhtml.php,v 1.8 2005-06-30 15:25:07 jpm Exp $
|
25 |
/**
|
25 |
/**
|
26 |
* Vue affichant le formulaire de recherche taxonomique.
|
26 |
* Vue affichant le formulaire de recherche taxonomique.
|
27 |
*
|
27 |
*
|
28 |
* Permet de retourner le xhtml correspondant au formulaire de recherche taxonomique.
|
28 |
* Permet de retourner le xhtml correspondant au formulaire de recherche taxonomique.
|
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.7 $ $Date: 2005-06-09 18:09:52 $
|
37 |
*@version $Revision: 1.8 $ $Date: 2005-06-30 15:25:07 $
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
*/
|
39 |
*/
|
Line 40... |
Line 40... |
40 |
|
40 |
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
Line 72... |
Line 72... |
72 |
$retour .= '<!-- END entete -->'."\n";
|
72 |
$retour .= '<!-- END entete -->'."\n";
|
73 |
$retour .= '</head>'."\n";
|
73 |
$retour .= '</head>'."\n";
|
Line 74... |
Line 74... |
74 |
|
74 |
|
75 |
$retour .= '<body>'."\n";
|
75 |
$retour .= '<body>'."\n";
|
76 |
$retour .= '<!-- BEGIN corps -->'."\n";
|
76 |
$retour .= '<!-- BEGIN corps -->'."\n";
|
77 |
$retour .= '<h2>'.'Consultation par projet'.'</h2>'."\n";
|
77 |
$retour .= '<h2>'.'Consultation taxonomique'.'</h2>'."\n";
|
78 |
$retour .= '<form id="eflore_form_taxonomie" name="eflore_form_taxonomie" action="{UrlProjetTaxon}" method="post">'."\n";
|
78 |
$retour .= '<form id="eflore_form_taxonomie" name="eflore_form_taxonomie" action="{UrlProjetTaxon}" method="post">'."\n";
|
79 |
$retour .= '<fieldset>'."\n".'<legend>'.'Consultation par projet'.'</legend>'."\n";
|
79 |
$retour .= '<fieldset>'."\n".'<legend>'.'Consultation taxonomique'.'</legend>'."\n";
|
80 |
$retour .= '<ul>'."\n";
|
80 |
$retour .= '<ul>'."\n";
|
81 |
$retour .= '<li><label for="eflore_projet">'.'Projet : '.'</label>'."\n";
|
81 |
$retour .= '<li><label for="eflore_projet">'.'Référenciel : '.'</label>'."\n";
|
82 |
$retour .= '<select id="eflore_projet" name="eflore_projet">'."\n";
|
82 |
$retour .= '<select id="eflore_projet" name="eflore_projet">'."\n";
|
83 |
$retour .= $this->leBlock->afficherPattern('FORMULAIRE_TAXONOMIQUE>PROJET_VERSION_TOUS','afficherProjets', null, TRUE);
|
83 |
$retour .= $this->leBlock->afficherPattern('FORMULAIRE_TAXONOMIQUE>PROJET_VERSION_TOUS','afficherProjets', null, TRUE);
|
84 |
$retour .= '</select></li>'."\n";
|
- |
|
85 |
$retour .= '<li id="eflore_ordre_li"><label for="eflore_ordre">'.'afficher les taxons : '.'</label>'."\n";
|
- |
|
86 |
$retour .= '<select id="eflore_ordre" name="eflore_ordre">'."\n";
|
- |
|
87 |
$retour .= $this->leBlock->afficherPattern('FORMULAIRE_TAXONOMIQUE','afficherOrdre');
|
- |
|
88 |
$retour .= '</select></li>'."\n";
|
84 |
$retour .= '</select></li>'."\n";
|
89 |
$retour .= '<li id="eflore_rang_li"><label for="eflore_rang">'.'au rang : '.'</label>'."\n";
|
85 |
$retour .= '<li id="eflore_rang_li"><label for="eflore_rang">'.'Rang : '.'</label>'."\n";
|
90 |
$retour .= '<select id="eflore_rang" name="eflore_rang">'."\n";
|
86 |
$retour .= '<select id="eflore_rang" name="eflore_rang">'."\n";
|
91 |
$retour .= $this->leBlock->afficherPattern('FORMULAIRE_TAXONOMIQUE','afficherRang');
|
87 |
$retour .= $this->leBlock->afficherPattern('FORMULAIRE_TAXONOMIQUE','afficherRang');
|
92 |
$retour .= '</select></li>'."\n";
|
88 |
$retour .= '</select></li>'."\n";
|
93 |
$retour .= '<li><input id="eflore_taxonomie_submit" type="submit" value="'.'OK'.'" /></li>'."\n";
|
89 |
$retour .= '<li><input id="eflore_taxonomie_submit" type="submit" value="'.'OK'.'" /></li>'."\n";
|
94 |
$retour .= $this->leBlock->afficherPattern('FORMULAIRE_TAXONOMIQUE>TAXON_RECHERCHE','creerAlphabetTaxon');
|
90 |
$retour .= $this->leBlock->afficherPattern('FORMULAIRE_TAXONOMIQUE>TAXON_RECHERCHE','creerAlphabetTaxon');
|
95 |
$retour .= afficherAlphabetTaxon();
|
91 |
$retour .= afficherAlphabetTaxon();
|
- |
|
92 |
$retour .= '</ul>'."\n";
|
96 |
$retour .= '</ul>'."\n";
|
93 |
$retour .= '<input id="eflore_ordre" name="eflore_ordre" type="hidden" value="ega" />'."\n";
|
97 |
$retour .= '</fieldset>'."\n";
|
94 |
$retour .= '</fieldset>'."\n";
|
98 |
$retour .= '</form>'."\n";
|
95 |
$retour .= '</form>'."\n";
|
99 |
$retour .= '<!-- END corps -->'."\n";
|
96 |
$retour .= '<!-- END corps -->'."\n";
|
100 |
$retour .= '</body>'."\n";
|
97 |
$retour .= '</body>'."\n";
|
Line 114... |
Line 111... |
114 |
if ($donnees['PROJET_VERSION_TOUS']['eprv_id_version'] == $donnees['FORMULAIRE_TAXONOMIQUE']['nvp']) {
|
111 |
if ($donnees['PROJET_VERSION_TOUS']['eprv_id_version'] == $donnees['FORMULAIRE_TAXONOMIQUE']['nvp']) {
|
115 |
$retour .= ' <option value="'.$donnees['PROJET_VERSION_TOUS']['eprv_id_version'].'" selected="selected">';
|
112 |
$retour .= ' <option value="'.$donnees['PROJET_VERSION_TOUS']['eprv_id_version'].'" selected="selected">';
|
116 |
} else {
|
113 |
} else {
|
117 |
$retour .= ' <option value="'.$donnees['PROJET_VERSION_TOUS']['eprv_id_version'].'">';
|
114 |
$retour .= ' <option value="'.$donnees['PROJET_VERSION_TOUS']['eprv_id_version'].'">';
|
118 |
}
|
115 |
}
|
119 |
$retour .= $donnees['PROJET_VERSION_TOUS']['eprv_nom'].' - '.$donnees['PROJET_VERSION_TOUS']['epr_intitule_projet'];
|
116 |
$retour .= $donnees['PROJET_VERSION_TOUS']['eprv_nom'].' ('.$donnees['PROJET_VERSION_TOUS']['eprv_code_version'].') - '.$donnees['PROJET_VERSION_TOUS']['epr_intitule_projet'];
|
120 |
$retour .= '</option>'."\n";
|
117 |
$retour .= '</option>'."\n";
|
121 |
return $retour;
|
118 |
return $retour;
|
122 |
}
|
119 |
}
|
Line 123... |
Line 120... |
123 |
|
120 |
|
Line 143... |
Line 140... |
143 |
}
|
140 |
}
|
144 |
$retour .= '<input id="eflore_lettre" name="eflore_lettre" type="submit" value="'.'TOUS'.'" />'."\n";
|
141 |
$retour .= '<input id="eflore_lettre" name="eflore_lettre" type="submit" value="'.'TOUS'.'" />'."\n";
|
145 |
}
|
142 |
}
|
146 |
return $retour;
|
143 |
return $retour;
|
147 |
}
|
144 |
}
|
148 |
|
- |
|
- |
|
145 |
// Fonction afficherOrdre($donnees) inutilisé en mode d'affichage par défaut
|
149 |
function afficherOrdre($donnees)
|
146 |
function afficherOrdre($donnees)
|
150 |
{
|
147 |
{
|
151 |
$retour = '';
|
148 |
$retour = '';
|
152 |
$selected_sup = '';
|
149 |
$selected_sup = '';
|
153 |
$selected_ega = '';
|
150 |
$selected_ega = '';
|
Line 208... |
Line 205... |
208 |
|
205 |
|
209 |
|
206 |
|
210 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
207 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
208 |
*
|
- |
|
209 |
* $Log: not supported by cvs2svn $
|
- |
|
210 |
* Revision 1.7 2005/06/09 18:09:52 jpm
|
211 |
*
|
211 |
* Début gestion des référenciels dans la recherche nomenclaturale.
|
212 |
* $Log: not supported by cvs2svn $
|
212 |
*
|
213 |
* Revision 1.6 2005/03/15 15:11:07 jpm
|
213 |
* Revision 1.6 2005/03/15 15:11:07 jpm
|
214 |
* Ajout d'une sélection par défaut pour le choix de l'ordre.
|
214 |
* Ajout d'une sélection par défaut pour le choix de l'ordre.
|
215 |
*
|
215 |
*
|