diff --git a/Rocksolid_Light/rocksolid/lib/message.inc.php b/Rocksolid_Light/rocksolid/lib/message.inc.php
index c13be03..0aac0a8 100644
--- a/Rocksolid_Light/rocksolid/lib/message.inc.php
+++ b/Rocksolid_Light/rocksolid/lib/message.inc.php
@@ -497,7 +497,7 @@ function show_header($head, $group, $local_poster = false)
function show_header_short($head, $group, $local_poster = false)
{
global $article_show, $text_header, $file_article, $file_thread, $attachment_show;
- global $file_attachment, $anonym_address, $CONFIG;
+ global $file_attachment, $anonym_address, $CONFIG, $config_name;
if (isset($_COOKIE['tzo'])) {
$offset = $_COOKIE['tzo'];
} else {
@@ -535,18 +535,22 @@ function show_header_short($head, $group, $local_poster = false)
copy mid
newsgroups);
$ngroups = explode("\t", $ngroups);
- echo " ";
+ // echo " ";
foreach ($ngroups as $onegroup) {
if ($s = get_section_by_group($onegroup)) {
- echo ' ' . $onegroup . " ";
+ echo ' ' . $onegroup . " ";
} else {
echo " ".$onegroup." ";
}
}
echo "
";
+ if (isset($head->followup) && ($article_show["Followup"]) && ($head->followup != "")) {
+ echo $text_header["followup"] . htmlspecialchars($head->followup) . "
\n";
+ }
if ($article_show["trigger_headers"]) {
echo '';
echo '
';
diff --git a/Rocksolid_Light/rocksolid/newsportal.php b/Rocksolid_Light/rocksolid/newsportal.php
index e6658dc..9e50bc2 100644
--- a/Rocksolid_Light/rocksolid/newsportal.php
+++ b/Rocksolid_Light/rocksolid/newsportal.php
@@ -1398,7 +1398,7 @@ function create_name_link($name, $data = null)
if ((strpos($name, '...@') !== false && (isset($CONFIG['hide_email']) && $CONFIG['hide_email'] == true)) && ! $data) {
$return = '' . substr(htmlspecialchars($name), 0, 20) . '';
} else {
- $return = '' . substr(htmlspecialchars($name), 0, 20) . '';
+ $return = '' . substr(htmlspecialchars($name), 0, 20) . '';
}
return ($return);
}
diff --git a/Rocksolid_Light/rocksolid/post.php b/Rocksolid_Light/rocksolid/post.php
index a767fa3..05040dc 100644
--- a/Rocksolid_Light/rocksolid/post.php
+++ b/Rocksolid_Light/rocksolid/post.php
@@ -93,6 +93,12 @@ if (disable_page_by_user_agent($client_device, "bot", "Post")) {
global $synchro_user, $synchro_pass;
// check to which groups the user is allowed to post to
$thisgroup = _rawurldecode($_REQUEST['group']);
+
+// Is this a reply to an article containing Followup-To?
+if(isset($_REQUEST['fgroups'])) {
+ $thisgroup = $_REQUEST['fgroups'];
+}
+
$newsgroups = $thisgroup;
if ($_REQUEST['returngroup']) {
$returngroup = $_REQUEST['returngroup'];
@@ -324,8 +330,11 @@ if ($type == "reply") {
}
}
$subject = $head->subject;
+ // Offer choice of whether to use Followup-To
+ $has_followup = false;
if (isset($head->followup) && ($head->followup != "")) {
$newsgroups = $head->followup;
+ $has_followup = $head->newsgroups;
} else {
$newsgroups = $head->newsgroups;
}
@@ -373,6 +382,20 @@ if ($show == 1) {
echo 'value="' . htmlspecialchars($subject) . '" ';
echo 'size="40" maxlength="' . $thread_maxSubject . '">';
echo '';
+
+ if($has_followup) {
+ echo '';
+ echo '';
+ echo ' | ';
+ echo ' | ';
+ echo '
';
+ echo '
';
+ echo '';
+ echo ' | ';
+ echo '';
+ echo ' |
';
+ }
+
echo '' . $text_post["name"] . ' | ';
echo '';
if (! isset($name) && $CONFIG['anonuser'])
|