summaryrefslogtreecommitdiff
path: root/inc/mod/pages.php
diff options
context:
space:
mode:
authorfallenPineapple <fallenPineapple87@gmail.com>2013-08-10 17:16:30 -0400
committerfallenPineapple <fallenPineapple87@gmail.com>2013-08-10 17:16:30 -0400
commit12ee85beafcb545fcb3a71eb1ad9cf90c329df33 (patch)
tree8919c8804160f947d58628a8589b7448fd104079 /inc/mod/pages.php
parent1248e329d20eeddbd9eea3b81bb59d42461d0893 (diff)
Adds "noko50" (View Last 50 Posts) pages. (Broken Reply)
Diffstat (limited to 'inc/mod/pages.php')
-rw-r--r--inc/mod/pages.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index 706d747d..192f1537 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -705,6 +705,16 @@ function mod_view_thread($boardName, $thread) {
echo $page;
}
+function mod_view_thread50($boardName, $thread) {
+ global $config, $mod;
+
+ if (!openBoard($boardName))
+ error($config['error']['noboard']);
+
+ $page = buildThread50($thread, true, $mod);
+ echo $page;
+}
+
function mod_ip_remove_note($ip, $id) {
global $config, $mod;