From cc73c642b2f6613db27fee4e89e786031905d902 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Sun, 14 May 2023 17:38:30 -0700 Subject: [PATCH] Fix some warnings and fix title for some internal links pages. --- Rocksolid_Light/common/head.inc | 1 - Rocksolid_Light/spoolnews/mail.php | 8 +++----- Rocksolid_Light/spoolnews/tail.inc | 1 + 3 files changed, 4 insertions(+), 6 deletions(-) create mode 120000 Rocksolid_Light/spoolnews/tail.inc diff --git a/Rocksolid_Light/common/head.inc b/Rocksolid_Light/common/head.inc index 551b5e0..f333655 100644 --- a/Rocksolid_Light/common/head.inc +++ b/Rocksolid_Light/common/head.inc @@ -1,5 +1,4 @@ '; echo ''; echo ''.htmlspecialchars($title).''; diff --git a/Rocksolid_Light/spoolnews/mail.php b/Rocksolid_Light/spoolnews/mail.php index 78b44e5..f742407 100644 --- a/Rocksolid_Light/spoolnews/mail.php +++ b/Rocksolid_Light/spoolnews/mail.php @@ -10,6 +10,9 @@ include "newsportal.php"; $offset=$CONFIG['timezone']; } + if(!isset($_POST['command'])) { + $_POST['command'] = ''; + } $keyfile = $spooldir.'/keys.dat'; $keys = unserialize(file_get_contents($keyfile)); @@ -55,7 +58,6 @@ echo ''; echo ''; echo ''; echo ""; - echo ""; echo ''; echo ''; echo ''; @@ -66,7 +68,6 @@ echo '
'; echo ''; echo ''; echo ""; - echo ""; echo ""; echo ''; echo ''; @@ -161,7 +162,6 @@ echo '
'; echo ''; echo ""; echo ""; - echo ""; echo ''; echo ''; echo ''; @@ -251,7 +251,6 @@ echo ''; echo ''; echo ""; echo ""; - echo ""; echo ""; echo ''; } @@ -296,7 +295,6 @@ echo ''; echo ''; echo ""; echo ""; - echo ""; echo ''; echo ''; echo ''.$row["mail_from"].''.$row["rcpt_to"].''.$newdate.''; diff --git a/Rocksolid_Light/spoolnews/tail.inc b/Rocksolid_Light/spoolnews/tail.inc new file mode 120000 index 0000000..6282791 --- /dev/null +++ b/Rocksolid_Light/spoolnews/tail.inc @@ -0,0 +1 @@ +../rocksolid/tail.inc \ No newline at end of file