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.12 2005-03-25 14:40:51 jpm Exp $
|
22 |
// CVS : $Id: identification.php,v 1.13 2005-04-14 16:37:22 jpm 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.12 $ $Date: 2005-03-25 14:40:51 $
|
41 |
*@version $Revision: 1.13 $ $Date: 2005-04-14 16:37:22 $
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
43 |
*/
|
43 |
*/
|
Line 44... |
Line 44... |
44 |
|
44 |
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
Line 163... |
Line 163... |
163 |
$retour .= str_repeat(' ', 16).'</form>';
|
163 |
$retour .= str_repeat(' ', 16).'</form>';
|
164 |
} else {
|
164 |
} else {
|
165 |
// L'utilisateur est identifié. Nous affichons ses informations.
|
165 |
// L'utilisateur est identifié. Nous affichons ses informations.
|
166 |
// Affichage du prénom et nom d'une personne ou du nom de la structure en fonction des paramêtres
|
166 |
// Affichage du prénom et nom d'une personne ou du nom de la structure en fonction des paramêtres
|
167 |
// de l'annuaire utilisé
|
167 |
// de l'annuaire utilisé
|
- |
|
168 |
// Si l'url de la page de modification de l'inscription est stockée dans les paramêtres, nous l'affichons
|
- |
|
169 |
if (isset($GLOBALS['_GEN_commun']['info_auth_bdd']->url_inscription_modif)) {
|
- |
|
170 |
$retour .= '<div><a id="lien_inscription_modif" href="'.$GLOBALS['_GEN_commun']['info_auth_bdd']->url_inscription_modif.'">'.
|
- |
|
171 |
IDEN_LG_INSCRIPTION_URL_MODIF.
|
- |
|
172 |
'</a></div>';
|
- |
|
173 |
}
|
168 |
$retour = str_repeat(' ', 16).'<p id="identification_info"><span id="identification_message">'.IDEN_LG_MESSAGE.'</span> ';
|
174 |
$retour .= str_repeat(' ', 16).'<p id="identification_info"><span id="identification_message">'.IDEN_LG_MESSAGE.'</span> ';
|
169 |
// Si les intitulés des champs nom et prénoms d'une personne ou le nom d'une structure sont indiqués nous les affichons
|
175 |
// Si les intitulés des champs nom et prénoms d'une personne ou le nom d'une structure sont indiqués nous les affichons
|
170 |
if (isset($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_prenom) && isset($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_nom)) {
|
176 |
if (isset($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_prenom) && isset($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_nom)) {
|
171 |
$retour .= '<span id="identification_prenom">'.
|
177 |
$retour .= '<span id="identification_prenom">'.
|
172 |
$objet_pear_auth->getAuthData($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_prenom).
|
178 |
$objet_pear_auth->getAuthData($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_prenom).
|
173 |
'</span> '.
|
179 |
'</span> '.
|
Line 196... |
Line 202... |
196 |
|
202 |
|
197 |
|
203 |
|
198 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
204 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
205 |
*
|
- |
|
206 |
* $Log: not supported by cvs2svn $
|
- |
|
207 |
* Revision 1.12 2005/03/25 14:40:51 jpm
|
199 |
*
|
208 |
* Prise en compte du paramêtre url_inscription permettant de faire figurer dans l'applette inscription un lien vers la page d'inscription.
|
200 |
* $Log: not supported by cvs2svn $
|
209 |
*
|
201 |
* Revision 1.11 2005/03/17 15:52:17 jpm
|
210 |
* Revision 1.11 2005/03/17 15:52:17 jpm
|
202 |
* Suppression d'un / causant un bogue.
|
211 |
* Suppression d'un / causant un bogue.
|
203 |
*
|
212 |
*
|