| Line 17... |
Line 17... |
| 17 |
// | |
|
17 |
// | |
|
| 18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
| 19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
| 20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
| 22 |
// CVS : $Id: selecteur_sites.php,v 1.11 2006-12-01 16:33:40 florian Exp $
|
22 |
// CVS : $Id: selecteur_sites.php,v 1.12 2007-05-24 16:26:08 jp_milcent Exp $
|
| 23 |
/**
|
23 |
/**
|
| 24 |
* Applette : selecteur sites
|
24 |
* Applette : selecteur sites
|
| 25 |
*
|
25 |
*
|
| 26 |
* Génère un formulaire contenant un menu déroulant permettant de choisir un site parmis les disponibles.
|
26 |
* Génère un formulaire contenant un menu déroulant permettant de choisir un site parmis les disponibles.
|
| 27 |
* Nécessite :
|
27 |
* Nécessite :
|
| Line 38... |
Line 38... |
| 38 |
//Auteur original :
|
38 |
//Auteur original :
|
| 39 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
39 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
| 40 |
//Autres auteurs :
|
40 |
//Autres auteurs :
|
| 41 |
*@author Aucun
|
41 |
*@author Aucun
|
| 42 |
*@copyright Tela-Botanica 2000-2004
|
42 |
*@copyright Tela-Botanica 2000-2004
|
| 43 |
*@version $Revision: 1.11 $ $Date: 2006-12-01 16:33:40 $
|
43 |
*@version $Revision: 1.12 $ $Date: 2007-05-24 16:26:08 $
|
| 44 |
// +------------------------------------------------------------------------------------------------------+
|
44 |
// +------------------------------------------------------------------------------------------------------+
|
| 45 |
*/
|
45 |
*/
|
| Line 46... |
Line 46... |
| 46 |
|
46 |
|
| 47 |
// +------------------------------------------------------------------------------------------------------+
|
47 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 230... |
Line 230... |
| 230 |
if (count($liste_site) == 0 ) {
|
230 |
if (count($liste_site) == 0 ) {
|
| 231 |
$retour = str_repeat(' ', $indent_origine + ($indent_pas * 0)).
|
231 |
$retour = str_repeat(' ', $indent_origine + ($indent_pas * 0)).
|
| 232 |
'<!-- '.SESI_LG_ETIQUETTE_VALIDER.' -->';
|
232 |
'<!-- '.SESI_LG_ETIQUETTE_VALIDER.' -->';
|
| 233 |
} else {
|
233 |
} else {
|
| 234 |
// Préparation de l'url de retour du formulaire
|
234 |
// Préparation de l'url de retour du formulaire
|
| 235 |
$objet_pear_url = & new Net_URL($url_base);
|
235 |
$objet_pear_url = & new Pap_URL($url_base);
|
| - |
|
236 |
$objet_pear_url->setPermalienBool(false);
|
| 236 |
|
237 |
|
| 237 |
// Préparation du code du sites
|
238 |
// Préparation du code du sites
|
| 238 |
$champs_code_site = ($url_id_type_site == 'int') ? 'gs_code_num' : 'gs_code_alpha';
|
239 |
$champs_code_site = ($url_id_type_site == 'int') ? 'gs_code_num' : 'gs_code_alpha';
|
| Line 239... |
Line 240... |
| 239 |
|
240 |
|
| 240 |
// Préparation du formulaire
|
241 |
// Préparation du formulaire
|
| Line 286... |
Line 287... |
| 286 |
|
287 |
|
| 287 |
|
288 |
|
| 288 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
289 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| - |
|
290 |
*
|
| - |
|
291 |
* $Log: not supported by cvs2svn $
|
| - |
|
292 |
* Revision 1.11 2006-12-01 16:33:40 florian
|
| 289 |
*
|
293 |
* Amélioration de la gestion des applettes et compatibilité avec le nouveau mode de gestion de l'inclusion des applettes.
|
| 290 |
* $Log: not supported by cvs2svn $
|
294 |
*
|
| 291 |
* Revision 1.10 2006/10/11 17:20:19 jp_milcent
|
295 |
* Revision 1.10 2006/10/11 17:20:19 jp_milcent
|
| 292 |
* Formatage du code.
|
296 |
* Formatage du code.
|
| 293 |
*
|
297 |
*
|