Skip to content
Snippets Groups Projects
Commit 414c8cca authored by Seth Meranda's avatar Seth Meranda
Browse files

messages plugin

parent 5d97758c
Branches
Tags
No related merge requests found
<?php
$num_messages = count_unread_messages();
if($num_messages == 0)
echo "<h3 class=\"new_messages_count\">You have no new messages.</h3>";
else {
echo "<h3 class=\"new_messages_count\">" . $num_messages . " new message(s).</h3>";
echo "<a href=\"" . $vars['url'] . "pg/messages/" . $_SESSION['user']->username ."\">check them out</a>";
}
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment