mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-23 17:42:15 -05:00
message de bienvenue
This commit is contained in:
parent
2761de0184
commit
88958248fa
@ -27,6 +27,7 @@ if (isset($_GET['login'])) {
|
|||||||
if (!empty($_POST['login']) && !empty($_POST['password'])) {
|
if (!empty($_POST['login']) && !empty($_POST['password'])) {
|
||||||
if (Session::login('poche', 'poche', $_POST['login'], $_POST['password'])) {
|
if (Session::login('poche', 'poche', $_POST['login'], $_POST['password'])) {
|
||||||
logm('login successful');
|
logm('login successful');
|
||||||
|
$msg->add('s', 'welcome in your pocket!');
|
||||||
if (!empty($_POST['longlastingsession'])) {
|
if (!empty($_POST['longlastingsession'])) {
|
||||||
$_SESSION['longlastingsession'] = 31536000;
|
$_SESSION['longlastingsession'] = 31536000;
|
||||||
$_SESSION['expires_on'] = time() + $_SESSION['longlastingsession'];
|
$_SESSION['expires_on'] = time() + $_SESSION['longlastingsession'];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<body class="light-style">
|
<body class="light-style">
|
||||||
<header>
|
<header>
|
||||||
<h1><a href="/"><img src="./img/logo.png" alt="logo poche" /></a>poche</h1>
|
<h1><a href="index.php"><img src="./img/logo.png" alt="logo poche" /></a>poche</h1>
|
||||||
</header>
|
</header>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<ul id="links">
|
<ul id="links">
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{include="head"}
|
{include="head"}
|
||||||
<body class="light-style">
|
<body class="light-style">
|
||||||
<header>
|
<header>
|
||||||
<h1><a href="/"><img src="./img/logo.png" alt="logo poche" /></a>poche</h1>
|
<h1><a href="index.php"><img src="./img/logo.png" alt="logo poche" /></a>poche</h1>
|
||||||
</header>
|
</header>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<form method="post" action="?login" name="loginform">
|
<form method="post" action="?login" name="loginform">
|
||||||
|
Loading…
Reference in New Issue
Block a user