Commit d4359894 authored by Sam's avatar Sam
Browse files

Ajout d'un lien vers les messages non lus dans le liner

parent d3737c4e
......@@ -44,7 +44,7 @@ $site->add_css("css/forum.css");
$cts = new contents();
$cts->cssclass="liner";
if ( $site->user->is_valid() )
$cts->buffer = "<p class=\"center\">Connecté en tant que ".$site->user->alias." - <a href=\"../user.php?page=edit\">Mon profil</a></p>";
$cts->buffer = "<p class=\"center\">Connecté en tant que ".$site->user->alias." - <a href=\"../user.php?page=edit\">Mon profil</a> - <a href=\"search.php?page=unread\">Messages non lus</a></p>";
else
$cts->buffer = "<p class=\"center\">Non connecté - <a href=\"../index.php\">Se connecter</a> - <a href=\"../newaccount.php\">Creer un compte</a></p>";
$site->add_contents($cts);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment