diff --git a/Rocksolid_Light/rocksolid/post.php b/Rocksolid_Light/rocksolid/post.php index 34b2841..41e567f 100644 --- a/Rocksolid_Light/rocksolid/post.php +++ b/Rocksolid_Light/rocksolid/post.php @@ -70,6 +70,7 @@ if($testgroup) { } else { $newsgroups=$thisgroup; } +$returngroup = preg_split("/( |\,)/", $newsgroups, 2); echo '
'.$text_post["button_back"].' '.$text_post["button_back2"].' '.group_display_name($returngroup[0]).'
'; return; } @@ -245,9 +245,6 @@ if ($type=="post") { (substr($message,0,7)=="441 435")) { echo ''.$text_post["message_posted2"].'
'; -// This returns to multiple groups if crossposting, which does not work. FIXME -// Try to return to just the first group in the list - $returngroup=explode(',',$newsgroups); if(isset($CONFIG['auto_return']) && ($CONFIG['auto_return'] == true)) { echo ''.$text_post["button_back"].' '.$text_post["button_back2"].' '.group_display_name($returngroup[0]).''; if(isset($_REQUEST['returngroup']) && $_REQUEST['returngroup'] !== '') { echo 'Your post will appear in '.group_display_name($_REQUEST['returngroup']).'
'; + } + if(isset($_SESSION['return_page'])) { + echo ''; } else { - echo ''; + echo ''; } } else { // article not accepted by the newsserver