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.35 2007-10-11 14:14:22 florian Exp $
|
22 |
// CVS : $Id: identification.php,v 1.35.2.1 2007-11-27 11:25:30 jp_milcent 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.35 $ $Date: 2007-10-11 14:14:22 $
|
41 |
*@version $Revision: 1.35.2.1 $ $Date: 2007-11-27 11:25:30 $
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
43 |
*/
|
43 |
*/
|
Line 44... |
Line 44... |
44 |
|
44 |
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
Line 160... |
Line 160... |
160 |
$objet_pear_auth->login();
|
160 |
$objet_pear_auth->login();
|
161 |
}
|
161 |
}
|
162 |
}
|
162 |
}
|
Line 163... |
Line 163... |
163 |
|
163 |
|
- |
|
164 |
// L'utilisateur a essayé de s'identifier mais a échoué
|
164 |
// L'utilisateur a essayé de s'identifier mais a échoué
|
165 |
$url_erreur = false;
|
165 |
if ($login != '') {
|
- |
|
166 |
$retour .= '<span class="erreur">'.IDEN_ECHEC_AUTH ;
|
166 |
if ($login != '') {
|
167 |
$url_erreur = '#';
|
167 |
$url_erreur = '#';
|
168 |
if (isset($InfoAuthBdd->url_erreur)) {
|
168 |
if (isset($InfoAuthBdd->url_erreur)) {
|
169 |
$url_erreur = $InfoAuthBdd->url_erreur;
|
169 |
$url_erreur = $InfoAuthBdd->url_erreur;
|
170 |
} else if (isset($InfoAuthBdd->url_inscription)) {
|
170 |
} else if (isset($InfoAuthBdd->url_inscription)) {
|
171 |
$url_erreur = $InfoAuthBdd->url_inscription;
|
171 |
$url_erreur = $InfoAuthBdd->url_inscription;
|
172 |
}
|
- |
|
173 |
$retour .= '<a id="lien_inscription" href="'.$url_erreur.'">'.IDEN_ICI.'</a>' ;
|
- |
|
174 |
$retour .= '</span>'."\n";
|
172 |
}
|
175 |
}
|
173 |
}
|
176 |
$url_inscription_aide = '';
|
174 |
$url_inscription_aide = '';
|
177 |
$url_page_inscription = '';
|
175 |
$url_page_inscription = '';
|
178 |
$url_page_modif_inscription = '';
|
176 |
$url_page_modif_inscription = '';
|
Line 215... |
Line 213... |
215 |
|
213 |
|
216 |
|
214 |
|
217 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
215 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
216 |
*
|
- |
|
217 |
* $Log: not supported by cvs2svn $
|
- |
|
218 |
* Revision 1.35 2007-10-11 14:14:22 florian
|
218 |
*
|
219 |
* amelioration du template de l'applette inscription
|
219 |
* $Log: not supported by cvs2svn $
|
220 |
*
|
220 |
* Revision 1.34 2007-09-18 08:40:54 alexandre_tb
|
221 |
* Revision 1.34 2007-09-18 08:40:54 alexandre_tb
|
221 |
* modification de la balise identification pour permettre de preciser un template.
|
222 |
* modification de la balise identification pour permettre de preciser un template.
|
222 |
*
|
223 |
*
|