diff --git a/inc/functions.php b/inc/functions.php index d948560..6a582f5 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -140,6 +140,7 @@ function newPost($parent = TINYIB_NEWTHREAD) { 'thumb_width' => '0', 'thumb_height' => '0', 'stickied' => '0', + 'locked' => '0', 'moderated' => '1'); } diff --git a/inc/html.php b/inc/html.php index 1a9cdc8..4a60513 100644 --- a/inc/html.php +++ b/inc/html.php @@ -478,6 +478,7 @@ EOF; } function buildPage($htmlposts, $parent, $pages = 0, $thispage = 0) { + $cataloglink = TINYIB_CATALOG ? '[Catalog]' : ''; $managelink = basename($_SERVER['PHP_SELF']) . "?manage"; $postingmode = ""; @@ -536,7 +537,7 @@ EOF; $body = <<
- [Catalog] + $cataloglink [Manage]