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.35.2.1 2007-11-27 11:25:30 jp_milcent Exp $ |
// CVS : $Id: identification.php,v 1.35.2.2 2008-04-18 14:14:55 jp_milcent Exp $ |
/** |
* Applette : identification |
* |
38,7 → 38,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.35.2.1 $ $Date: 2007-11-27 11:25:30 $ |
*@version $Revision: 1.35.2.2 $ $Date: 2008-04-18 14:14:55 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
82,6 → 82,7 |
setcookie($cookie_persistant_nom, '', time()-3600, '/'); |
//$GLOBALS['_GEN_commun']['pear_auth']->start(); |
} else { |
|
if (isset($_REQUEST['connexion'])) { |
// Si un formulaire nous renvoie en POST une variable "connexion", nous logons l'utilisateur. |
// Nous vérifions que l'utilisateur est coché "Mémoriser mon compte" |
140,6 → 141,10 |
} |
// Initialisation de variable. |
$retour = ''; |
$id_xhtml = ''; |
if ( $GLOBALS['_PAPYRUS_']['applette']['comptage']['afficherFormIdentification'] > 1) { |
$id_xhtml = $GLOBALS['_PAPYRUS_']['applette']['comptage']['afficherFormIdentification']; |
} |
$objet_pear_auth =& $_GEN_commun['pear_auth']; |
$objet_pear_db =& $_GEN_commun['pear_db']; |
$InfoAuthBdd =& $_GEN_commun['info_auth_bdd']; |
198,7 → 203,7 |
if ($objet_pear_auth->getAuth()) { $loggue = true; } else { $loggue = false; } |
|
ob_start(); |
include_once $options['template']; |
include $options['template']; |
$retour = ob_get_contents(); |
// Arrete et detruit le buffer |
ob_end_clean(); |
215,6 → 220,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.35.2.1 2007-11-27 11:25:30 jp_milcent |
* Correction bogue : non affichage de l'url d'erreur de saisie du login. |
* |
* Revision 1.35 2007-10-11 14:14:22 florian |
* amelioration du template de l'applette inscription |
* |