Subversion Repositories Applications.papyrus

Rev

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

Rev 231 Rev 291
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.1 2004-12-15 13:32:15 alex Exp $
22
// CVS : $Id: inscription.php,v 1.2 2005-03-02 12:44:41 alex 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 29... Line 29...
29
*@package inscription
29
*@package inscription
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
*@copyright     Tela-Botanica 2000-2004
33
*@copyright     Tela-Botanica 2000-2004
34
*@version       $Revision: 1.1 $ $Date: 2004-12-15 13:32:15 $
34
*@version       $Revision: 1.2 $ $Date: 2005-03-02 12:44:41 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
Line 140... Line 140...
140
            return INS_MESSAGE_EXPIRATION ;
140
            return INS_MESSAGE_EXPIRATION ;
141
        }
141
        }
142
    }
142
    }
Line 143... Line 143...
143
 
143
 
144
    if (!$GLOBALS['AUTH']->getAuth() && $GLOBALS['action'] != "inscription" && $GLOBALS['action'] != 'inscription_v')    {
144
    if (!$GLOBALS['AUTH']->getAuth() && $GLOBALS['action'] != "inscription" && $GLOBALS['action'] != 'inscription_v')    {
145
        if (isset($GLOBALS['username']) && $GLOBALS['username'] != '') {
145
        if (isset($_POST['username']) && $GLOBALS['username'] != '') {
146
            $res .= message_erreur() ;
146
            $res .= message_erreur() ;
147
        } else {
147
        } else {
148
            $res .= AUTH_formulaire_login() ;
148
            $res .= AUTH_formulaire_login() ;
149
        }
149
        }
Line 156... Line 156...
156
    return $res ;
156
    return $res ;
157
}
157
}
158
/* +--Fin du code ----------------------------------------------------------------------------------------+
158
/* +--Fin du code ----------------------------------------------------------------------------------------+
159
*
159
*
160
* $Log: not supported by cvs2svn $
160
* $Log: not supported by cvs2svn $
-
 
161
* Revision 1.1  2004/12/15 13:32:15  alex
-
 
162
* version initiale
-
 
163
*
161
* Revision 1.2  2004/09/01 16:36:37  alex
164
* Revision 1.2  2004/09/01 16:36:37  alex
162
* changement du chemin pour les include
165
* changement du chemin pour les include
163
*
166
*
164
* Revision 1.1  2004/07/06 15:42:28  alex
167
* Revision 1.1  2004/07/06 15:42:28  alex
165
* en cours
168
* en cours