From a53f7cc480aa5dcafdafcafada819f421eb6419f Mon Sep 17 00:00:00 2001
From: Sandra MICHAUT <sandra.michaut@ensiie.fr>
Date: Mon, 9 May 2016 02:20:00 +0200
Subject: [PATCH] correction bugs de balises p

---
 Code/profil_modif.php         | 4 ++--
 Code/visualisation_profil.php | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Code/profil_modif.php b/Code/profil_modif.php
index 76df3de..f5f5fb5 100644
--- a/Code/profil_modif.php
+++ b/Code/profil_modif.php
@@ -186,7 +186,7 @@ else {
                     print "<input type=\"radio\" name=\"gpeN\" value=\"0\" checked /> Pas de groupe<br/>\n";
                     break;
             }
-            print "<br/>";
+            print "<br/></p>";
 
             $assoc = infoAssoc($nomHost, $nomBase, $nomRoot, $mdpRoot); /* On demande toutes les association présentes dans la table Assoc */
 
@@ -196,7 +196,7 @@ else {
                     print "<li><input type='checkbox' name=$key value='ajout' checked> $value </li>";
                 } else print "<li><input type='checkbox' name=$key value='ajout'> $value </li>";
             }
-            print "</ul></p>";
+            print "</ul>";
 
 
             print "<input type=\"hidden\" value=$login name=\"login\" />";
diff --git a/Code/visualisation_profil.php b/Code/visualisation_profil.php
index 8aabd00..8c9506a 100644
--- a/Code/visualisation_profil.php
+++ b/Code/visualisation_profil.php
@@ -54,6 +54,7 @@ print "Mail: '" . htmlentities($mail) . "' <br/><br/>\n";
 
 print "ENSIIE de: $ecole<br /><br/>\n";
 print "Groupe de TP/TD: $gpe<br/><br/>\n";
+print "</p>";
 
 if ($assocs != NULL) {
     print "Membre de: <ul>";
@@ -62,7 +63,6 @@ if ($assocs != NULL) {
     }
     print "</ul>";
 }
-print "</p>";
 
 
 print "<form action=\"profil_modif.php\" method='get'\n>";
-- 
GitLab