For now remove msgid search from header when in /common or /spoolnews until a clean way to handle it is written.
This commit is contained in:
parent
283e33c40e
commit
631930ea39
|
@ -93,7 +93,7 @@ echo '</a>';
|
||||||
echo '</td></tr>';
|
echo '</td></tr>';
|
||||||
echo '</table>';
|
echo '</table>';
|
||||||
|
|
||||||
include($config_dir.'/fortunes.conf');
|
include ($config_dir . '/fortunes.conf');
|
||||||
|
|
||||||
// If $config_dir/motd.txt is not blank, show it
|
// If $config_dir/motd.txt is not blank, show it
|
||||||
if (file_exists($config_dir . '/motd.txt')) {
|
if (file_exists($config_dir . '/motd.txt')) {
|
||||||
|
@ -120,7 +120,10 @@ foreach ($menulist as $menu) {
|
||||||
}
|
}
|
||||||
echo '</tr></table></p><p>';
|
echo '</tr></table></p><p>';
|
||||||
|
|
||||||
if($OVERRIDES['disable_msgid_search'] != true) {
|
$config_name = basename(getcwd());
|
||||||
|
|
||||||
|
if (!$OVERRIDES['disable_msgid_search']) {
|
||||||
|
if ($config_name != "common" && $config_name != 'spoolnews') {
|
||||||
echo '<table align="right">';
|
echo '<table align="right">';
|
||||||
echo '<form name="form1" method="get" action="article-flat.php">';
|
echo '<form name="form1" method="get" action="article-flat.php">';
|
||||||
echo '<tr>';
|
echo '<tr>';
|
||||||
|
@ -129,13 +132,14 @@ if($OVERRIDES['disable_msgid_search'] != true) {
|
||||||
echo '<input type="submit" name="Submit" value="Lookup"></form></td>';
|
echo '<input type="submit" name="Submit" value="Lookup"></form></td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
echo '</table><br />';
|
echo '</table><br />';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<table cellpadding="0" cellspacing="0" class="np_header_bar_small"><tr>';
|
echo '<table cellpadding="0" cellspacing="0" class="np_header_bar_small"><tr>';
|
||||||
if ($unread) {
|
if ($unread) {
|
||||||
$motd = '<center>*** You have unread mail. <a href="../spoolnews/mail.php">Click Here</a> ***</center>';
|
$motd = '<center>*** You have unread mail. <a href="../spoolnews/mail.php">Click Here</a> ***</center>';
|
||||||
}
|
}
|
||||||
echo '<div class="np_last_posted_date"><h1 class="np_thread_headline">' . $motd . '</h1></div>';
|
echo '<div class="np_last_posted_date"><h1 class="np_thread_headline">' . $motd . '</h1></div>';
|
||||||
echo '</tr></table>';
|
echo '</tr></table>';
|
||||||
echo '</p>';
|
echo '</p>';
|
||||||
|
|
||||||
|
@ -189,5 +193,7 @@ function head_mail_db_open($database, $table = 'messages')
|
||||||
return ($dbh);
|
return ($dbh);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue