From c107f24d3a858ae380e493e58904e743a8a302ce Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Wed, 24 Feb 2021 01:52:20 -0700 Subject: [PATCH] Add header links to posting page --- Rocksolid_Light/rocksolid/post.php | 39 ++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/Rocksolid_Light/rocksolid/post.php b/Rocksolid_Light/rocksolid/post.php index 4e8eab4..67074d4 100644 --- a/Rocksolid_Light/rocksolid/post.php +++ b/Rocksolid_Light/rocksolid/post.php @@ -44,9 +44,6 @@ include "auth.inc"; if($post_captcha) include "lib/captcha/captcha.php"; - - - // Save name in cookies if (($setcookies==true) && (isset($abspeichern)) && ($abspeichern=="ja")) { setcookie("cookie_name",stripslashes($name),time()+(3600*24*90)); @@ -68,8 +65,40 @@ if($testgroup) { } else { $newsgroups=$thisgroup; } - - + echo '

'; + echo ''.basename(getcwd()).' / '; + echo ''.htmlspecialchars(group_display_name($thisgroup)).''; + if(isset($type) && $type == 'post') { + echo ' / '.$subject.'

'; + } else { + echo ''; + } + echo ''; +// View Latest button + if (isset($overboard) && ($overboard == true)) { + echo ''; + } + if (!$CONFIG['readonly'] && + (!function_exists("npreg_group_has_write_access") || + npreg_group_has_write_access($thisgroup))) + { +// New Thread button + echo ''; + } + // Pages + echo '
'; + echo '
'; + echo ''; + echo ''; + echo '
'; + echo '
'; + echo '
'; + echo ''; + echo ''; + echo '
'; + echo '
'; + echo articleflat_pageselect($thisgroup,$id,count($subthread),$first); + echo '
'; // has the user write-rights on the newsgroups? if((function_exists("npreg_group_has_read_access") && !npreg_group_has_read_access($newsgroups)) ||