From 88958248fab89c8bfa0014c6e4c300cb27a522b2 Mon Sep 17 00:00:00 2001 From: nicosomb Date: Tue, 23 Apr 2013 08:07:47 +0200 Subject: [PATCH] message de bienvenue --- index.php | 1 + tpl/home.html | 2 +- tpl/login.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 6eefd277..829d5513 100644 --- a/index.php +++ b/index.php @@ -27,6 +27,7 @@ if (isset($_GET['login'])) { if (!empty($_POST['login']) && !empty($_POST['password'])) { if (Session::login('poche', 'poche', $_POST['login'], $_POST['password'])) { logm('login successful'); + $msg->add('s', 'welcome in your pocket!'); if (!empty($_POST['longlastingsession'])) { $_SESSION['longlastingsession'] = 31536000; $_SESSION['expires_on'] = time() + $_SESSION['longlastingsession']; diff --git a/tpl/home.html b/tpl/home.html index e99e1680..90e247f7 100644 --- a/tpl/home.html +++ b/tpl/home.html @@ -1,6 +1,6 @@
-

logo pochepoche

+

logo pochepoche