summaryrefslogtreecommitdiff
path: root/beta_accents/app/auth_dialog.php
diff options
context:
space:
mode:
Diffstat (limited to 'beta_accents/app/auth_dialog.php')
-rw-r--r--beta_accents/app/auth_dialog.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/beta_accents/app/auth_dialog.php b/beta_accents/app/auth_dialog.php
index 55e6c16..234b092 100644
--- a/beta_accents/app/auth_dialog.php
+++ b/beta_accents/app/auth_dialog.php
@@ -1,14 +1,14 @@
<?php
- // Récupération des paramètres
+ // R&eacute;cup&eacute;ration des param&egrave;tres
if ( isset($_GET['retour']) && $_GET['retour']!='' )
{ $retour=addslashes( $_GET['retour'] ); } else { $retour='index.php'; }
- // Si le formulaire à été envoyé, on le traite ici
+ // Si le formulaire &agrave; &eacute;t&eacute; envoy&eacute;, on le traite ici
if ( isset($_POST['envoi']) && $_POST['envoi'] === '1' )
{
if ( ! ( isset($_POST['loginP']) && isset($_POST['pass']) ) )
{
- $errmsg = 'Paramètres incorrects';
+ $errmsg = 'Param&egrave;tres incorrects';
}
else
{
@@ -17,9 +17,9 @@
include 'include/ludo/auth.inc.php';
- // Code vérifiant que la personne qui tente de se connecter est bien référencée dans notre base
+ // Code v&eacute;rifiant que la personne qui tente de se connecter est bien r&eacute;f&eacute;renc&eacute;e dans notre base
include 'include/ludo/fonctions.inc.php';
- // Connexion à la base et sélection de la database
+ // Connexion &agrave; la base et s&eacute;lection de la database
include 'include/connect.inc.php';
include 'include/ludo/config.inc.php';
@@ -32,14 +32,14 @@
}
else
{
- // Initialisation par défaut
+ // Initialisation par d&eacute;faut
$methodeAuth='';
- // Chargement des préférences d'authentification de l'utilisateur
+ // Chargement des pr&eacute;f&eacute;rences d'authentification de l'utilisateur
if ( mysql_num_rows($result) === 1)
{
list($idP, $loginP, $nomP, $prenomP, $methodeAuth) = mysql_fetch_row($result);
}
- // Si le script est lancé en local, on saute l'authentification
+ // Si le script est lanc&eacute; en local, on saute l'authentification
if ( ($CONFIG['AUTH']['bypass_if_local'] === true )
&& ( ($_SERVER['REMOTE_ADDR'] == 'localhost') || ($_SERVER['REMOTE_ADDR'] == '127.0.0.1') ) )
{
@@ -60,7 +60,7 @@
// Tentative d'authentification POP
if ( ($errno = pop3_auth_simple($loginP, $_POST['pass']) ) != 0 )
{
- // Authentification échouée
+ // Authentification &eacute;chou&eacute;e
$errmsg=pop3_generate_errmsg($errno);
}
else
@@ -71,7 +71,7 @@
}
if ( $auth_is_ok === true )
{
- // Authentification réussie
+ // Authentification r&eacute;ussie
session_start();
$_SESSION['session_loginP']=$loginP;
$_SESSION['session_nomP']=$nomP;
@@ -93,7 +93,7 @@ generate_html_doctype_and_head("Identification");
generate_html_div_help();
?>
<div id="page_accueil">
- <h1>Application Web d'Organisation de Réunion</h1>
+ <h1>Application Web d'Organisation de R&eacute;union</h1>
<h2>Veuillez vous identifier</h2>
<?php echo '<form id="auth" method="post" action="' . $_SERVER['PHP_SELF'] . '">' . "\n"; ?>
<input type="hidden" name="envoi" value="1" />