Subversion Repositories Applications.papyrus

Rev

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

Rev 246 Rev 303
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.7 2005-01-07 12:43:03 alex Exp $
22
// CVS : $Id: identification.php,v 1.8 2005-03-10 12:50:44 alex 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.7 $ $Date: 2005-01-07 12:43:03 $
41
*@version       $Revision: 1.8 $ $Date: 2005-03-10 12:50:44 $
42
// +------------------------------------------------------------------------------------------------------+
42
// +------------------------------------------------------------------------------------------------------+
43
*/
43
*/
Line 44... Line 44...
44
 
44
 
45
// +------------------------------------------------------------------------------------------------------+
45
// +------------------------------------------------------------------------------------------------------+
Line 146... Line 146...
146
    } else {
146
    } else {
147
        // L'utilisateur est identifié. Nous affichons ses informations.
147
        // L'utilisateur est identifié. Nous affichons ses informations.
148
        // Amélioré la récupération des informations sur l'utilisateur.
148
        // Amélioré la récupération des informations sur l'utilisateur.
149
        //$nom_utilisateur = $objet_pear_auth->getAuthData($champ_nom);
149
        //$nom_utilisateur = $objet_pear_auth->getAuthData($champ_nom);
Line 150... Line 150...
150
        
150
        
151
        $res  = str_repeat(' ', 16).'<form id="form_deconnexion" action="'.$url.'&logout=1" method="post">'."\n";
151
        $res  = str_repeat(' ', 16).'<form id="form_deconnexion" action="'.$url.'&amp;logout=1" method="post">'."\n";
152
        $res .= str_repeat(' ', 16).'<fieldset>'."\n";
152
        $res .= str_repeat(' ', 16).'<fieldset>'."\n";
153
        $res .= str_repeat(' ', 20).'<legend>'.'Identification'.'</legend>'."\n";
153
        $res .= str_repeat(' ', 20).'<legend>'.'Identification'.'</legend>'."\n";
154
        // Il faudrait mettre dans la base de données le prénom et le nom ou chercher comment définir ces champs en fonction
154
        // Il faudrait mettre dans la base de données le prénom et le nom ou chercher comment définir ces champs en fonction
155
        // de l'annuaire utilisé, si on veut les afficher après le message de bienvenue.
155
        // de l'annuaire utilisé, si on veut les afficher après le message de bienvenue.
Line 170... Line 170...
170
 
170
 
171
 
171
 
172
/* +--Fin du code ----------------------------------------------------------------------------------------+
172
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
173
*
-
 
174
* $Log: not supported by cvs2svn $
-
 
175
* Revision 1.7  2005/01/07 12:43:03  alex
173
*
176
* réauction de la taille des champs texte à 12
174
* $Log: not supported by cvs2svn $
177
*
175
* Revision 1.6  2004/12/13 18:07:09  alex
178
* Revision 1.6  2004/12/13 18:07:09  alex
176
* désauthentification spip presque parfaite
179
* désauthentification spip presque parfaite
177
*
180
*