From 11d274f3ee61c4227cfe97ff9dafe0d38b41213d Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Mon, 11 Nov 2024 06:01:34 -0700 Subject: [PATCH] Tweak some css in message and posting display. --- Rocksolid_Light/common/themes/style.css | 21 +++++++++++-------- Rocksolid_Light/rocksolid/lib/message.inc.php | 12 +++++++++-- Rocksolid_Light/rocksolid/post.php | 7 +++++-- 3 files changed, 27 insertions(+), 13 deletions(-) diff --git a/Rocksolid_Light/common/themes/style.css b/Rocksolid_Light/common/themes/style.css index ed69735..b1da730 100644 --- a/Rocksolid_Light/common/themes/style.css +++ b/Rocksolid_Light/common/themes/style.css @@ -500,13 +500,14 @@ text-decoration: none; color: var(--color-highlight); font-family: Arial, Helvetica, sans-serif; - font-size: 0.8em; + font-size: 0.9em; } /* short header Followup-To: */ .short_header_followup-to { margin-top: 0; margin-bottom: 0; + margin-left: 0.4em; text-decoration: none; color: var(--color-highlight); font-family: Arial, Helvetica, sans-serif; @@ -517,6 +518,7 @@ .short_header_references { margin-top: 0; margin-bottom: 0; + margin-left: 0.4em; text-decoration: none; color: var(--color-highlight); font-family: Arial, Helvetica, sans-serif; @@ -527,6 +529,7 @@ .short_header_attachments { margin-top: 0; margin-bottom: 0; + margin-left: 0.4em; text-decoration: none; color: var(--color-highlight); font-family: Arial, Helvetica, sans-serif; @@ -537,6 +540,7 @@ .short_header_javascript_links { margin-top: 0; margin-bottom: 0; + margin-left: 0.4em; text-decoration: none; color: var(--color-highlight); font-family: Arial, Helvetica, sans-serif; @@ -1274,11 +1278,16 @@ h1.np_post_headline { text-align: right; } +.post_followup-to_notice { + color: var(--color-text); + font-family: Arial, Helvetica, sans-serif; + font-size: 0.6em; +} + .np_post_header_newsgroups { color: var(--color-text); font-family: Arial, Helvetica, sans-serif; font-size: 0.6em; - ; text-align: right; } @@ -1286,7 +1295,6 @@ h1.np_post_headline { color: var(--color-text); font-family: Arial, Helvetica, sans-serif; font-size: 0.6em; - ; text-align: right; } @@ -1294,7 +1302,6 @@ h1.np_post_headline { color: var(--color-text); font-family: Arial, Helvetica, sans-serif; font-size: 0.6em; - ; text-align: right; } @@ -1302,7 +1309,6 @@ h1.np_post_headline { color: var(--color-text); font-family: Arial, Helvetica, sans-serif; font-size: 0.6em; - ; text-align: right; } @@ -1310,15 +1316,13 @@ h1.np_post_headline { color: var(--color-text); font-family: Arial, Helvetica, sans-serif; font-size: 0.6em; - ; text-align: right; } .np_post_header_or { color: var(--color-text); font-family: Arial, Helvetica, sans-serif; - font-size: 0.7em; - ; + font-size: 0.6em; text-align: right; } @@ -1331,7 +1335,6 @@ h1.np_post_headline { color: var(--color-text); font-family: Arial, Helvetica, sans-serif; font-size: 0.5em; - ; text-align: right; } diff --git a/Rocksolid_Light/rocksolid/lib/message.inc.php b/Rocksolid_Light/rocksolid/lib/message.inc.php index 7196dd4..36c03ee 100644 --- a/Rocksolid_Light/rocksolid/lib/message.inc.php +++ b/Rocksolid_Light/rocksolid/lib/message.inc.php @@ -651,10 +651,18 @@ function show_header_short($head, $group, $local_poster = false) echo ''; } - if (isset($head->followup) && ($article_show["Followup"]) && ($head->followup != "")) { echo '
'; - echo '' . $text_header["followup"] . '' . htmlspecialchars($head->followup) . "
\n"; + echo '' . $text_header["followup"] . ''; + $ngroups = preg_replace("/\,|\ /", "\t", $head->followup); + $ngroups = explode("\t", $ngroups); + foreach ($ngroups as $onegroup) { + if (get_section_by_group($onegroup)) { + echo ' ' . $onegroup . " "; + } else { + echo " " . $onegroup . " "; + } + } echo '
'; } diff --git a/Rocksolid_Light/rocksolid/post.php b/Rocksolid_Light/rocksolid/post.php index 0ba6886..33f313b 100644 --- a/Rocksolid_Light/rocksolid/post.php +++ b/Rocksolid_Light/rocksolid/post.php @@ -517,7 +517,8 @@ if ($show == 1) { if (isset($has_followup) && $has_followup !== false) { echo 'Newsgroups: '; - echo ''; + echo ''; + echo ''; echo ''; echo ' '; @@ -528,10 +529,12 @@ if ($show == 1) { echo ')'; echo ''; echo 'or: '; - echo ''; + echo ''; + echo ''; echo ''; echo ' '; echo ''; + echo ''; echo ''; } else { if (!isset($OVERRIDES['disable_ngs_edit']) || $OVERRIDES['disable_ngs_edit'] == false) {