Subversion Repositories Applications.papyrus

Rev

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

Rev 754 Rev 832
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.8 2006-03-02 10:49:49 ddelon Exp $
22
// CVS : $Id: selecteur_sites.php,v 1.9 2006-04-28 12:41:49 florian 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.8 $ $Date: 2006-03-02 10:49:49 $
43
*@version       $Revision: 1.9 $ $Date: 2006-04-28 12:41:49 $
44
// +------------------------------------------------------------------------------------------------------+
44
// +------------------------------------------------------------------------------------------------------+
45
*/
45
*/
Line 46... Line 46...
46
 
46
 
47
// +------------------------------------------------------------------------------------------------------+
47
// +------------------------------------------------------------------------------------------------------+
Line 101... Line 101...
101
    $bln_xhtml_strict = 0;
101
    $bln_xhtml_strict = 0;
102
    if (isset($tab_applette_arguments[2]) && $tab_applette_arguments[2] == 'XHTML') {
102
    if (isset($tab_applette_arguments[2]) && $tab_applette_arguments[2] == 'XHTML') {
103
        $bln_xhtml_strict = 1;
103
        $bln_xhtml_strict = 1;
104
    }
104
    }
105
    // Nous vérifions s'il y a des sites que nous ne voulons pas afficher:
105
    // Nous vérifions s'il y a des sites que nous ne voulons pas afficher:
106
    $morceau_requete_id_suppr = '';
106
    $morceau_requete_id_suppr = '';
-
 
107
    $tab_id_suppr_groupe='';
107
    if (isset($tab_applette_arguments[3]) && ereg('SANS_(.+)', $tab_applette_arguments[3], $tab_id_suppr_groupe)) {
108
    if (isset($tab_applette_arguments[3]) && ereg('SANS_(.+)', $tab_applette_arguments[3], $tab_id_suppr_groupe)) {
108
        if (preg_match('/^\d+$/', $tab_id_suppr_groupe[1])) {
109
        if (preg_match('/^\d+$/', $tab_id_suppr_groupe[1])) {
109
            $liste_id_suppr = $tab_id_suppr_groupe[1];
110
            $liste_id_suppr = $tab_id_suppr_groupe[1];
110
        } else if (preg_match('/^\d+(?:_\d+)+$/', $tab_id_suppr_groupe[1])) {
111
        } else if (preg_match('/^\d+(?:_\d+)+$/', $tab_id_suppr_groupe[1])) {
111
            $liste_id_suppr = preg_replace('/_/', ', ', $tab_id_suppr_groupe[1]);
112
            $liste_id_suppr = preg_replace('/_/', ', ', $tab_id_suppr_groupe[1]);
Line 296... Line 297...
296
 
297
 
297
 
298
 
298
/* +--Fin du code ----------------------------------------------------------------------------------------+
299
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
300
*
-
 
301
* $Log: not supported by cvs2svn $
-
 
302
* Revision 1.8  2006/03/02 10:49:49  ddelon
299
*
303
* Fusion branche multilinguisme dans branche principale
300
* $Log: not supported by cvs2svn $
304
*
301
* Revision 1.7.2.4  2006/02/28 14:02:07  ddelon
305
* Revision 1.7.2.4  2006/02/28 14:02:07  ddelon
302
* Finition multilinguisme
306
* Finition multilinguisme
303
*
307
*