summaryrefslogtreecommitdiff
path: root/beta_accents/app/profil.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:39:33 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:39:33 +0200
commit9738017972a6d4fea655926525b3c67dd85740cf (patch)
tree938d6f26c138d7c176c821bafc513362186a8ca7 /beta_accents/app/profil.php
parent5dac82f52f45ad27f16ec2ff63ee75e2f39ef942 (diff)
download2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.tar.gz
2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.tar.bz2
2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.zip
Version beta_accents 2007-03-12+17:26:00 - 2007-03-14+17:35:14
Diffstat (limited to 'beta_accents/app/profil.php')
-rw-r--r--beta_accents/app/profil.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/beta_accents/app/profil.php b/beta_accents/app/profil.php
index 289b7f1..bd88afd 100644
--- a/beta_accents/app/profil.php
+++ b/beta_accents/app/profil.php
@@ -8,7 +8,7 @@ if ( isset($_REQUEST['action']) )
$nom_func = 'traiter_formulaire_' . $_REQUEST['action'];
$nom_func();
}
-generate_html_doctype_and_head("Modèle");
+generate_html_doctype_and_head("Administration du profil");
echo "<body>\n";
generate_html_divs_menu();
@@ -36,15 +36,15 @@ if($resultat != false)
{
$p = mysql_fetch_array($resultat);
echo "<form method=\"post\" action=\"profil.php\" onSubmit=\"return verifProfil()\" >\n";
- echo "<table>\n";
+ echo "<table summary=\"Formulaire permettant de modifier le profil de l'utilisateur\" >\n";
echo "<tr><td>Methode d'authentification : </td><td>\n<select name=\"methodeAuth\">\n";
if($p["methodeAuth"] == "webetud") echo "<option value=\"webetud\" selected=\"selected\">Webetud</option>\n"; else echo "<option value=\"webetud\">Webetud</option>\n";
if($p["methodeAuth"] == "pop") echo "<option value=\"pop\" selected=\"selected\">POP3</option>\n"; else echo "<option value=\"pop\">POP3</option>\n";
echo "</select></td></tr>\n";
- echo "<tr><td>Votre login :</td><td><input type=\"text\" name=\"loginP\" id=\"loginP\" value=\"".$p["loginP"]."\"/></td></tr>\n";
- echo "<tr><td>Votre adresse mail :</td><td><input type=\"text\" name=\"courrielP\" id=\"courrielP\" value=\"".$p["courrielP"]."\"/></td></tr>\n";
- echo "<tr><td>Votre nom :</td><td><input type=\"text\" name=\"nomP\" id=\"nomP\" value=\"".$p["nomP"]."\"/></td></tr>\n";
- echo "<tr><td>Votre prenom :</td><td><input type=\"text\" name=\"prenomP\" id=\"prenomP\" value=\"".$p["prenomP"]."\"/></td></tr>\n";
+ echo "<tr><td>Votre login :</td><td><input type=\"text\" name=\"loginP\" id=\"loginP\" value=\"".htmlentities($p["loginP"], ENT_QUOTES)."\"/></td></tr>\n";
+ echo "<tr><td>Votre adresse mail :</td><td><input type=\"text\" name=\"courrielP\" id=\"courrielP\" value=\"".htmlentities($p["courrielP"], ENT_QUOTES)."\"/></td></tr>\n";
+ echo "<tr><td>Votre nom :</td><td><input type=\"text\" name=\"nomP\" id=\"nomP\" value=\"".htmlentities($p["nomP"], ENT_QUOTES)."\"/></td></tr>\n";
+ echo "<tr><td>Votre prenom :</td><td><input type=\"text\" name=\"prenomP\" id=\"prenomP\" value=\"".htmlentities($p["prenomP"], ENT_QUOTES)."\"/></td></tr>\n";
echo "<tr><td colspan=\"2\"><input type=\"submit\" /></td></tr>\n";
echo "</table>\n";
echo "<input type=\"hidden\" name=\"action\" value=\"maj_profil\" />\n";
@@ -54,6 +54,7 @@ if($resultat != false)
if ( isset ($errmsg) ) generate_html_div_errmsg($errmsg);
?>
<div id="msg"></div>
+<?php generate_html_div_footer() ?>
</body>
</html>