19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: selecteur_sites.php,v 1.6 2005-05-23 09:31:43 jpm Exp $ |
// CVS : $Id: selecteur_sites.php,v 1.7 2005-05-25 12:53:00 jpm Exp $ |
/** |
* Applette : selecteur sites |
* |
40,7 → 40,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.6 $ $Date: 2005-05-23 09:31:43 $ |
*@version $Revision: 1.7 $ $Date: 2005-05-25 12:53:00 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
130,10 → 130,10 |
|
// Préparation du formulaire |
$retour = str_repeat(' ', $indent_origine + ($indent_pas * 0)). |
'<form id="selecteur_sites" '; |
'<form id="sesi_selecteur" '; |
// Test sur XHTML strict |
if ($bln_xhtml_strict == 0) { |
$retour .= 'name="selecteur_sites" '; |
$retour .= 'name="sesi_selecteur" '; |
} |
$retour .= 'action="'.$objet_pear_url->getURL().'" method="get">'."\n"; |
|
142,7 → 142,7 |
$retour .= str_repeat(' ', $indent_origine + ($indent_pas * 2)). |
'<legend>'.$etiquette_legende.'</legend>'."\n"; |
$retour .= str_repeat(' ', $indent_origine + ($indent_pas * 2)). |
'<select id="'.$url_cle_site.'" name="'.$url_cle_site.'" onchange="javascript:this.form.submit();">'."\n"; |
'<select id="sesi_'.$url_cle_site.'" name="'.$url_cle_site.'" onchange="javascript:this.form.submit();">'."\n"; |
$retour .= str_repeat(' ', $indent_origine + ($indent_pas * 3)). |
'<option value="'.$code_site.'" selected="selected">'.$etiquette_option_defaut.'</option>'."\n"; |
while ($ligne = $retourultat->fetchRow(DB_FETCHMODE_ASSOC)) { |
174,7 → 174,7 |
$retour .= str_repeat(' ', $indent_origine + ($indent_pas * 2)). |
'</select>'."\n"; |
$retour .= str_repeat(' ', $indent_origine + ($indent_pas * 2)). |
'<input type="submit" value="'.$etiquette_bouton_valider.'"/>'."\n"; |
'<input id="sesi_ok" name="sesi_ok" type="submit" value="'.$etiquette_bouton_valider.'"/>'."\n"; |
$retour .= str_repeat(' ', $indent_origine + ($indent_pas * 1)). |
'</fieldset>'."\n"; |
$retour .= str_repeat(' ', $indent_origine + ($indent_pas * 0)). |
194,6 → 194,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.6 2005/05/23 09:31:43 jpm |
* Ajout d'une majuscule à un txt. |
* |
* Revision 1.5 2004/10/26 18:42:02 jpm |
* Possibilité d'externaliser l'applette. |
* Gestion des sites externes. |