Subversion Repositories Applications.papyrus

Rev

Rev 1087 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1087 Rev 1206
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: inscription.php,v 1.20 2006-12-01 13:23:17 florian Exp $
22
// CVS : $Id: inscription.php,v 1.20.2.1 2007-01-26 10:32:59 alexandre_tb Exp $
23
/**
23
/**
24
* Inscription
24
* Inscription
25
*
25
*
26
* Un module d'inscription, en général ce code est spécifique à
26
* Un module d'inscription, en général ce code est spécifique à
27
* un site web
27
* un site web
Line 30... Line 30...
30
//Auteur original :
30
//Auteur original :
31
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
31
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
32
//Autres auteurs :
32
//Autres auteurs :
33
*@author        Florian SCHMITT <florian@ecole-et-nature.org>
33
*@author        Florian SCHMITT <florian@ecole-et-nature.org>
34
*@copyright     Tela-Botanica 2000-2004
34
*@copyright     Tela-Botanica 2000-2004
35
*@version       $Revision: 1.20 $ $Date: 2006-12-01 13:23:17 $
35
*@version       $Revision: 1.20.2.1 $ $Date: 2007-01-26 10:32:59 $
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
37
*/
37
*/
Line 38... Line 38...
38
 
38
 
39
// +------------------------------------------------------------------------------------------------------+
39
// +------------------------------------------------------------------------------------------------------+
Line 50... Line 50...
50
}
50
}
Line 51... Line 51...
51
 
51
 
52
// +------------------------------------------------------------------------------------------------------+
52
// +------------------------------------------------------------------------------------------------------+
53
// |                                           LISTE de FONCTIONS                                         |
53
// |                                           LISTE de FONCTIONS                                         |
-
 
54
// +------------------------------------------------------------------------------------------------------+
-
 
55
 
-
 
56
if (!isset($_REQUEST['action'])) {
-
 
57
	$_REQUEST['action']='';
-
 
58
}
-
 
59
 
54
// +------------------------------------------------------------------------------------------------------+
60
 
55
if ( isset($_GET['voir_fiche']) or isset($_GET['voir_abonnement']) or isset($_GET['voir_actus']) or isset($_GET['voir_ressources']) or isset($_GET['voir_competences']) 
61
if ( isset($_GET['voir_fiche']) or isset($_GET['voir_abonnement']) or isset($_GET['voir_actus']) or isset($_GET['voir_ressources']) or isset($_GET['voir_competences']) 
56
or (isset($_REQUEST['action'])&&($_REQUEST['action']=='modifier_v'||$_REQUEST['action']=='modifier_v'))
62
or (isset($_REQUEST['action'])&&($_REQUEST['action']=='modifier_v'||$_REQUEST['action']=='modifier_v'))
57
or ($GLOBALS['AUTH']->getAuth() && ($_REQUEST['action']!='modifier')) ) {
63
or ($GLOBALS['AUTH']->getAuth() && ($_REQUEST['action']!='modifier')) ) {
58
	//---------------le menu de l'appli-----------
64
	//---------------le menu de l'appli-----------
Line 62... Line 68...
62
	}
68
	}
63
}
69
}
Line 64... Line 70...
64
 
70
 
65
function afficherContenuCorps() {
71
function afficherContenuCorps() {
66
    $res = '<h1>'.INS_TITRE_INSCRIPTION.'</h1>'."\n" ;
-
 
67
    if (!isset($_REQUEST['action'])) {
-
 
68
    	$_REQUEST['action']='';
72
    $res = '<h1>'.INS_TITRE_INSCRIPTION.'</h1>'."\n" ;
Line 69... Line 73...
69
    }
73
 
70
    
74
    
71
//cas de la déconnexion----------------------------------------------------------------------------------
75
//cas de la déconnexion----------------------------------------------------------------------------------
72
    if ($_REQUEST['action'] == 'deconnexion') {
76
    if ($_REQUEST['action'] == 'deconnexion') {
Line 232... Line 236...
232
}
236
}
Line 233... Line 237...
233
 
237
 
234
/* +--Fin du code ----------------------------------------------------------------------------------------+
238
/* +--Fin du code ----------------------------------------------------------------------------------------+
235
*
239
*
-
 
240
* $Log: not supported by cvs2svn $
-
 
241
* Revision 1.20  2006/12/01 13:23:17  florian
-
 
242
* integration annuaire backoffice
236
* $Log: not supported by cvs2svn $
243
*
237
* Revision 1.19  2006/10/05 13:53:54  florian
244
* Revision 1.19  2006/10/05 13:53:54  florian
238
* amélioration des fichiers sql
245
* amélioration des fichiers sql
239
*
246
*
240
* Revision 1.18  2006/07/20 09:48:07  alexandre_tb
247
* Revision 1.18  2006/07/20 09:48:07  alexandre_tb