diff --git a/Views/template/header.phtml b/Views/template/header.phtml index 703c746..521f1c2 100644 --- a/Views/template/header.phtml +++ b/Views/template/header.phtml @@ -88,9 +88,6 @@
loginError) { - require_once('Views/template/loginError.phtml'); - } if(!$view->user->isLoggedIn()) { require_once('Views/template/loginModal.phtml'); } diff --git a/Views/template/loginError.phtml b/Views/template/loginError.phtml index e69de29..ac49647 100644 --- a/Views/template/loginError.phtml +++ b/Views/template/loginError.phtml @@ -0,0 +1,18 @@ +loginError ?> +
+ +
+ " readonly> + +
+ + +
+ + +
+
\ No newline at end of file diff --git a/Views/template/loginModal.phtml b/Views/template/loginModal.phtml index 5225248..2e1c950 100644 --- a/Views/template/loginModal.phtml +++ b/Views/template/loginModal.phtml @@ -1,7 +1,11 @@ - -