diff --git a/README.md b/README.md
index b8c8f77..a8e2f99 100755
--- a/README.md
+++ b/README.md
@@ -1,7 +1,9 @@
# Presentation Projet_ToDoList_Php
+

+
**Nom de l’application** : ToDoList
diff --git a/src/config/Validation.php b/src/config/Validation.php
index d31d86a..e79c088 100755
--- a/src/config/Validation.php
+++ b/src/config/Validation.php
@@ -22,21 +22,6 @@ class Validation {
// $dVueEreur[] = "Veuillez revoir le mail*";
// }
-<<<<<<< HEAD
- //Vérification Email
- if (!isset($email)||$email=="") {
- $dVueEreur[] = "L'email est obligatoire.";
- $pseudo="";
- $i++;
- }
-
- if ($email != filter_var($email, FILTER_SANITIZE_STRING))
- {
- $dVueEreur[] = "Tentative d'injection de code (attaque sécurité)";
- $nom="";
- $i++;
- }
-=======
// //Vérification Pseudo
// if (!isset($pseudo)||$pseudo=="") {
// $dVueEreur[] = "pas de pseudo";
@@ -45,7 +30,6 @@ class Validation {
// }
// val_string($pseudo,$i,$dVueEreur);
->>>>>>> master
// //Vérification Mot de Passe
// if (!isset($mdp)||$mdp=="") {
@@ -54,27 +38,7 @@ class Validation {
// $i++;
// }
-<<<<<<< HEAD
- //Vérification Pseudo
- if (!isset($pseudo)||$pseudo=="") {
- $dVueEreur[] = "Le pseudonyme est obligatoire.";
- $pseudo="";
- $i++;
- }
-
- val_string($pseudo,$i,$dVueEreur);
-
- //Vérification Mot de Passe
- if (!isset($mdp)||$mdp=="") {
- $dVueEreur[] = "Veuillez renseignez votre mot de passe.";
- $mdp="";
- $i++;
- }
-
- val_string($mdp,$i,$dVueEreur);
-=======
// val_string($mdp,$i,$dVueEreur);
->>>>>>> master
// if (!preg_match('/^.{5,}$/', $mdp)) {
@@ -93,13 +57,7 @@ class Validation {
$str = preg_replace('/[^A-Za-z\-]/', '', $str);
if($str == null || $str == '')
{
-<<<<<<< HEAD
- $dVueEreur[] = "Tentative d'injection de code (attaque sécurité)";
- $str="";
- $i++;
-=======
return null;
->>>>>>> master
}
return $str;
}
diff --git a/src/modele/MdlUtilisateur.php b/src/modele/MdlUtilisateur.php
index 998a590..22d5317 100644
--- a/src/modele/MdlUtilisateur.php
+++ b/src/modele/MdlUtilisateur.php
@@ -23,7 +23,6 @@ class MdlUtilisateur
return $userGtw->getListePublic(0,10);
}
-<<<<<<< HEAD:src/Modele/MdlVisiteur.php
public static function RecupererTache(){
$userGtw = new TacheGateway();
@@ -41,8 +40,5 @@ class MdlUtilisateur
return $userGtw->Supprimer($id);
}
-=======
-
->>>>>>> master:src/modele/MdlUtilisateur.php
}
diff --git a/src/modele/gateway/TacheGateway.php b/src/modele/gateway/TacheGateway.php
index 150c97d..1610903 100644
--- a/src/modele/gateway/TacheGateway.php
+++ b/src/modele/gateway/TacheGateway.php
@@ -16,7 +16,7 @@ class TacheGateway{
}
public function Editer(Tache $tache, string $nom, string $description){
- $query='UPDATE ToDoListe_Tache SET nom=:nom, description =:description WHERE id=:id';
+ $query='UPDATE ToDoList_Tache SET nom=:nom, description =:description WHERE id=:id';
$this->con->executeQuery($query, array('nom' => array($tache->getNom(), PDO::PARAM_STRING)), array('description' => array($tache->getdescription(), PDO::PARAM_STRING)), array('id' => array($tache->getId(),PDO::PARAM_INT)));
}
diff --git a/src/vue/html/NavBar.php b/src/vue/html/NavBar.php
index 3acb935..21c1886 100644
--- a/src/vue/html/NavBar.php
+++ b/src/vue/html/NavBar.php
@@ -22,7 +22,7 @@
+ ?>
-
- Html
+
+
-
- Css
+
+
-
- Php
+
+
-
- JavaScript
+
+
@@ -181,4 +173,5 @@
+