Fix misaligned header horizontal rule if no motd.txt or fortunes.

This commit is contained in:
Retro_Guy 2024-02-29 20:38:20 -07:00
parent 0803522a6d
commit 924a2c2d0f
1 changed files with 2 additions and 2 deletions

View File

@ -135,9 +135,9 @@ echo '<table cellpadding="0" cellspacing="0" class="np_header_bar_small"><tr>';
if ($unread) {
$motd = '<center>*** You have unread mail. <a href="../spoolnews/mail.php">Click Here</a> ***</center>';
}
if (strlen($motd) > 0) {
//if (strlen($motd) > 0) {
echo '<div class="np_last_posted_date"><h1 class="np_thread_headline">' . $motd . '</h1></div>';
}
//}
echo '</tr></table>';
echo '</p>';