Browse Source

Fix titles

LaurentTreguier 9 years ago
parent
commit
dbb45bc88a
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      controllers/login.php

+ 4
- 1
controllers/login.php View File

17
     
17
     
18
     if($_POST["login"] != $identifiers[0] || $_POST["password"] != $identifiers[1])
18
     if($_POST["login"] != $identifiers[0] || $_POST["password"] != $identifiers[1])
19
     {
19
     {
20
-        set("title", "Error");
20
+        set("title", "Erreur");
21
         set("error", true);
21
         set("error", true);
22
     } else
22
     } else
23
+    {
24
+        set("title", "Accueil");
23
         set("error", false);
25
         set("error", false);
26
+    }
24
     
27
     
25
     return html("login.html.php", "layout.html.php");
28
     return html("login.html.php", "layout.html.php");
26
 }
29
 }