| 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.31 2006-12-15 14:49:47 jp_milcent Exp $
|
22 |
// CVS : $Id: identification.php,v 1.31.2.1 2007-08-06 16:15:50 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.31 $ $Date: 2006-12-15 14:49:47 $
|
41 |
*@version $Revision: 1.31.2.1 $ $Date: 2007-08-06 16:15:50 $
|
| 42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
| 43 |
*/
|
43 |
*/
|
| Line 44... |
Line 44... |
| 44 |
|
44 |
|
| 45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 142... |
Line 142... |
| 142 |
|
142 |
|
| 143 |
if (! $objet_pear_auth->getAuth()) {
|
143 |
if (! $objet_pear_auth->getAuth()) {
|
| 144 |
// L'utilisateur a essayé de s'identifier mais a échoué
|
144 |
// L'utilisateur a essayé de s'identifier mais a échoué
|
| 145 |
if ($login != '') {
|
145 |
if ($login != '') {
|
| - |
|
146 |
$retour .= '<span class="erreur">'.IDEN_ECHEC_AUTH ;
|
| - |
|
147 |
$url_erreur = '';
|
| - |
|
148 |
if (isset($InfoAuthBdd->url_erreur)) {
|
| 146 |
$retour .= '<span class="erreur">'.IDEN_ECHEC_AUTH ;
|
149 |
$url_erreur = $InfoAuthBdd->url_erreur;
|
| 147 |
if (isset($InfoAuthBdd->url_inscription)) {
|
150 |
} else if (isset($InfoAuthBdd->url_inscription)) {
|
| - |
|
151 |
$url_erreur = $InfoAuthBdd->url_inscription;
|
| 148 |
$retour .= '<a id="lien_inscription" href="'.$InfoAuthBdd->url_inscription.'">' ;
|
152 |
}
|
| - |
|
153 |
if (!empty($url_erreur)) {
|
| 149 |
$retour .= IDEN_ICI.'</a>' ;
|
154 |
$retour .= '<a id="lien_inscription" href="'.$url_erreur.'">'.IDEN_ICI.'</a>' ;
|
| 150 |
}
|
155 |
}
|
| 151 |
$retour .= '</span>'."\n";
|
156 |
$retour .= '</span>'."\n";
|
| Line 152... |
Line 157... |
| 152 |
}
|
157 |
}
|
| Line 232... |
Line 237... |
| 232 |
|
237 |
|
| 233 |
|
238 |
|
| 234 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
239 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| - |
|
240 |
*
|
| - |
|
241 |
* $Log: not supported by cvs2svn $
|
| - |
|
242 |
* Revision 1.31 2006-12-15 14:49:47 jp_milcent
|
| 235 |
*
|
243 |
* Correction bogue : le type de cryptage est stocké à 2 endroits...
|
| 236 |
* $Log: not supported by cvs2svn $
|
244 |
*
|
| 237 |
* Revision 1.30 2006/12/14 15:01:05 jp_milcent
|
245 |
* Revision 1.30 2006/12/14 15:01:05 jp_milcent
|
| 238 |
* Utilisation d'un système permettant de mémoriser les idenitifications.
|
246 |
* Utilisation d'un système permettant de mémoriser les idenitifications.
|
| 239 |
* Passage à Auth 1.4.3 et DB 1.7.6.
|
247 |
* Passage à Auth 1.4.3 et DB 1.7.6.
|