Subversion Repositories eFlore/Archives.eflore-consultation-v1

Compare Revisions

Ignore whitespace Rev 4 → Rev 5

/trunk/bibliotheque/eflore_affichage_xhtml.fonct.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: eflore_affichage_xhtml.fonct.php,v 1.1 2005-05-24 15:57:48 jpm Exp $
// CVS : $Id: eflore_affichage_xhtml.fonct.php,v 1.2 2005-06-01 18:24:48 jpm Exp $
/**
* Fonctions pour l'affichage XHTML.
*
32,7 → 32,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.1 $ $Date: 2005-05-24 15:57:48 $
*@version $Revision: 1.2 $ $Date: 2005-06-01 18:24:48 $
// +------------------------------------------------------------------------------------------------------+
*/
 
53,19 → 53,26
 
switch ($type_message){
case '01' :
$message_renvoyer = inclusion_html("debut_ligne_alerte")."Veuillez saisir un radical avant d'effectuer la recherche !".inclusion_html("fin_ligne_alerte");
$message_renvoyer = inclusion_html('debut_ligne_alerte').
"Veuillez saisir un radical avant d'effectuer la recherche !".
inclusion_html('fin_ligne_alerte');
break;
case '02' :
$message_renvoyer = inclusion_html("debut_ligne_alerte")."Veuillez saisir un radical contenant au moins 3 caractères alphabétiques !".inclusion_html("fin_ligne_alerte");
$message_renvoyer = inclusion_html('debut_ligne_alerte').
"Veuillez saisir un radical contenant au moins 3 caractères alphabétiques !".
inclusion_html("fin_ligne_alerte");
break;
case '03' :
$message_renvoyer = inclusion_html("debut_ligne_alerte")."Le symbole % ne peut pas ĂȘtre utilisé sans au moins trois caractères alphabétiques !".inclusion_html("fin_ligne_alerte");
$message_renvoyer = inclusion_html('debut_ligne_alerte').
"Le symbole % ne peut pas ĂȘtre utilisé sans au moins trois caractères alphabétiques !".
inclusion_html('fin_ligne_alerte');
break;
case '04' :
$message_renvoyer = inclusion_html("debut_ligne_alerte")."Les symboles suivant ne doivent pas &ecirc;tre utilis&eacute;s : & < > \" ".inclusion_html("fin_ligne_alerte");
$message_renvoyer = inclusion_html('debut_ligne_alerte').
"Les symboles suivant ne doivent pas &ecirc;tre utilis&eacute;s : & < > \" ".
inclusion_html('fin_ligne_alerte');
break;
}//fin du switch
 
return $message_renvoyer;
}
 
92,7 → 99,7
'<ul>'."\n".
'<li>'."\n".
'<label for="radical">Nom :</label>'."\n".
'<input type="text" name="radical" value="';
'<input type="text" id="radical" name="radical" value="';
$html_renvoyer .= (isset($radical) && !empty($radical))? $radical : '';
$html_renvoyer .= '" maxlength="100" size="30" />'."\n".
'</li>'."\n".
100,6 → 107,7
'<ul>'."\n".
'<li>'."\n".
'<input type="radio" id="ef_nom_scientifique" name="recherche" value="LATIN" ';
$html_renvoyer .= (empty($recherche))? 'checked="checked"': '';
$html_renvoyer .= (!empty($recherche) && $recherche == 'LATIN')? 'checked="checked"': '';
$html_renvoyer .= '/>'.
'<label for="ef_nom_scientifique">nom scientifique</label>'."\n".
112,8 → 120,8
'</ul>'."\n".
'</li>'."\n".
'</ul>'."\n".
'<input type="hidden" name="flore" value="'.$GLOBALS['_EF_ANCIEN_']['type'].'" />'."\n".
'<input type="hidden" name="numclass" value="1" />'."\n".
'<input type="hidden" id="flore" name="flore" value="'.$GLOBALS['_EF_ANCIEN_']['type'].'" />'."\n".
'<input type="hidden" id="numclass" name="numclass" value="1" />'."\n".
'<input id="eflore_chercher" name="eflore_chercher" type="submit" value="chercher" />'."\n".
'</fieldset>'."\n".
'</form>';