Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 665 → Rev 666

/trunk/papyrus/applettes/identification/identification.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: identification.php,v 1.19 2005-10-31 17:09:28 ddelon Exp $
// CVS : $Id: identification.php,v 1.20 2005-12-13 11:13:35 alexandre_tb Exp $
/**
* Applette : identification
*
38,7 → 38,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.19 $ $Date: 2005-10-31 17:09:28 $
*@version $Revision: 1.20 $ $Date: 2005-12-13 11:13:35 $
// +------------------------------------------------------------------------------------------------------+
*/
 
95,7 → 95,6
}
}
}
// $_GEN_commun['pear_auth']->start();
}
// Si un formulaire nous renvoie en POST une variable "connexion", nous logons l'utilisateur.
if (isset($_REQUEST['connexion'])) {
139,6 → 138,15
}
if (! $objet_pear_auth->getAuth()) {
// L'utilisateur a essayé de s'identifier mais a échoué
if (isset($_POST['username'])) {
$retour .= '<span class="erreur">'.IDEN_ECHEC_AUTH ;
if (isset($GLOBALS['_GEN_commun']['info_auth_bdd']->url_inscription)) {
$retour .= '<a id="lien_inscription" href="'.$GLOBALS['_GEN_commun']['info_auth_bdd']->url_inscription.'">' ;
$retour .= IDEN_ICI.'</a>' ;
}
$retour .= '</span>' ;
}
// L'utilisateur n'est pas identifié:
$retour .= str_repeat(' ', 16).'<form id="form_connexion" class="form_identification" action="'.$url.'" method="post">'."\n";
$retour .= str_repeat(' ', 16).'<fieldset>'."\n";
206,6 → 214,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.19 2005/10/31 17:09:28 ddelon
* Suppression auth start suite à deconnexion ... attention aux effets de bord
*
* Revision 1.18 2005/09/27 09:07:32 ddelon
* size applette et squelettes
*