diff --git a/Rocksolid_Light/rocksolid/post.php b/Rocksolid_Light/rocksolid/post.php index 2ed9f41..1f526ea 100644 --- a/Rocksolid_Light/rocksolid/post.php +++ b/Rocksolid_Light/rocksolid/post.php @@ -99,7 +99,7 @@ if ($testgroup) { } else { $newsgroups = $thisgroup; } -$returngroup = preg_split("/( |\,)/", $newsgroups, 2); +$returngroup = $thisgroup; echo '

'; echo '' . basename(getcwd()) . ' / '; echo '' . htmlspecialchars(group_display_name($thisgroup)) . ''; @@ -234,7 +234,7 @@ if ($type == "post") { if ($postsremaining < 1) { $wait = check_rate_limit($name, 0, 1); echo 'You have reached the limit of ' . $CONFIG['rate_limit'] . ' posts per hour.
Please wait ' . round($wait) . ' minutes before posting again.'; - echo '

' . $text_post["button_back"] . ' ' . $text_post["button_back2"] . ' ' . group_display_name($returngroup[0]) . '

'; + echo '

' . $text_post["button_back"] . ' ' . $text_post["button_back2"] . ' ' . group_display_name($returngroup) . '

'; return; } } @@ -250,7 +250,7 @@ if ($type == "post") { echo '

<' . $text_post["message_posted"] . '>

'; echo '

' . $text_post["message_posted2"] . '

'; if (isset($CONFIG['auto_return']) && ($CONFIG['auto_return'] == true)) { - echo ''.$text_post["button_back"].' '.$text_post["button_back2"].' '.group_display_name($returngroup[0]).'

'; + echo '

Back

'; + /* if (isset($_REQUEST['returngroup']) && $_REQUEST['returngroup'] !== '') { echo '

Your post will appear in ' . group_display_name($_REQUEST['returngroup']) . '

'; } if (isset($_SESSION['return_page'])) { - echo '

Back to Previous Page

'; + echo '

Back

'; + //echo '

Back to Previous Page

'; } else { - echo '

Back

'; + echo '

Back

'; } + */ } else { // article not accepted by the newsserver $type = "retry";