Notify user of new mail in tagline to make it more obvious (user must be logged in).

This commit is contained in:
Retro_Guy 2023-04-29 18:45:59 -07:00
parent 564a333791
commit 2a3ba439ac
1 changed files with 3 additions and 0 deletions

View File

@ -156,6 +156,9 @@ foreach($menulist as $menu) {
echo '<button class="np_header_button_link" type="submit">'.$menuitem[0].'</button>';
echo '</form>';
echo '</td>';
}
if($unread) {
$motd = 'You have unread mail. <a href="../spoolnews/mail.php">Click Here</a>';
}
if(strlen($motd) > 0) {
echo '<div class="np_last_posted_date"><h1 class="np_thread_headline">'.$motd.'</h1></div>';