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:
Retro_Guy 2024-03-23 06:08:41 -07:00
parent 283e33c40e
commit 631930ea39
1 changed files with 17 additions and 11 deletions

View File

@ -120,7 +120,10 @@ foreach ($menulist as $menu) {
}
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 '<form name="form1" method="get" action="article-flat.php">';
echo '<tr>';
@ -130,6 +133,7 @@ if($OVERRIDES['disable_msgid_search'] != true) {
echo '</tr>';
echo '</table><br />';
}
}
echo '<table cellpadding="0" cellspacing="0" class="np_header_bar_small"><tr>';
if ($unread) {
@ -189,5 +193,7 @@ function head_mail_db_open($database, $table = 'messages')
return ($dbh);
}
?>
</body>
</html>