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: identification.php,v 1.18 2005-09-27 09:07:32 ddelon Exp $
|
22 |
// CVS : $Id: identification.php,v 1.19 2005-10-31 17:09:28 ddelon Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Applette : identification
|
24 |
* Applette : identification
|
25 |
*
|
25 |
*
|
26 |
* Génère un formulaire les champs nécessaires pour s'identifier.
|
26 |
* Génère un formulaire les champs nécessaires pour s'identifier.
|
27 |
* Nécessite :
|
27 |
* Nécessite :
|
Line 36... |
Line 36... |
36 |
//Auteur original :
|
36 |
//Auteur original :
|
37 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
37 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
38 |
//Autres auteurs :
|
38 |
//Autres auteurs :
|
39 |
*@author Aucun
|
39 |
*@author Aucun
|
40 |
*@copyright Tela-Botanica 2000-2004
|
40 |
*@copyright Tela-Botanica 2000-2004
|
41 |
*@version $Revision: 1.18 $ $Date: 2005-09-27 09:07:32 $
|
41 |
*@version $Revision: 1.19 $ $Date: 2005-10-31 17:09:28 $
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
43 |
*/
|
43 |
*/
|
Line 44... |
Line 44... |
44 |
|
44 |
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
Line 93... |
Line 93... |
93 |
if ($zap) unlink($chemin);
|
93 |
if ($zap) unlink($chemin);
|
94 |
}
|
94 |
}
|
95 |
}
|
95 |
}
|
96 |
}
|
96 |
}
|
97 |
}
|
97 |
}
|
98 |
$_GEN_commun['pear_auth']->start();
|
98 |
// $_GEN_commun['pear_auth']->start();
|
99 |
}
|
99 |
}
|
100 |
// Si un formulaire nous renvoie en POST une variable "connexion", nous logons l'utilisateur.
|
100 |
// Si un formulaire nous renvoie en POST une variable "connexion", nous logons l'utilisateur.
|
101 |
if (isset($_REQUEST['connexion'])) {
|
101 |
if (isset($_REQUEST['connexion'])) {
|
102 |
$_GEN_commun['pear_auth']->login();
|
102 |
$_GEN_commun['pear_auth']->login();
|
103 |
$_SESSION['username'] = $username;
|
103 |
$_SESSION['username'] = $username;
|
Line 204... |
Line 204... |
204 |
|
204 |
|
205 |
|
205 |
|
206 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
206 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
207 |
*
|
- |
|
208 |
* $Log: not supported by cvs2svn $
|
- |
|
209 |
* Revision 1.18 2005/09/27 09:07:32 ddelon
|
207 |
*
|
210 |
* size applette et squelettes
|
208 |
* $Log: not supported by cvs2svn $
|
211 |
*
|
209 |
* Revision 1.17 2005/09/12 09:17:17 alexandre_tb
|
212 |
* Revision 1.17 2005/09/12 09:17:17 alexandre_tb
|
210 |
* utilisation de l'objet Net_URL pour ajouter la variable logout dans le lien de déconnexion
|
213 |
* utilisation de l'objet Net_URL pour ajouter la variable logout dans le lien de déconnexion
|
211 |
*
|
214 |
*
|