From ddbe562f9c3bc646fb85da0a0252eff711d050bb Mon Sep 17 00:00:00 2001 From: ctrlcctrlv Date: Thu, 8 Aug 2013 21:08:01 +0000 Subject: Optionally allow the moving of single replies --- inc/display.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'inc/display.php') diff --git a/inc/display.php b/inc/display.php index e2d23215..b78639d6 100644 --- a/inc/display.php +++ b/inc/display.php @@ -349,9 +349,14 @@ class Post { if (!empty($this->file) && $this->file != "deleted" && $this->file != null && $this->thumb != 'spoiler' && hasPermission($config['mod']['spoilerimage'], $board['uri'], $this->mod) && $config['spoiler_images']) $built .= ' ' . secure_link_confirm($config['mod']['link_spoilerimage'], 'Spoiler File', 'Are you sure you want to spoiler this file?', $board['uri'] . '/spoiler/' . $this->id); + // Move post + if (hasPermission($config['mod']['move'], $board['uri'], $this->mod) && $config['move_replies']) + $built .= ' ' . $config['mod']['link_move'] . ''; + // Edit post if (hasPermission($config['mod']['editpost'], $board['uri'], $this->mod)) $built .= ' ' . $config['mod']['link_editpost'] . ''; + if (!empty($built)) $built = '' . $built . ''; -- cgit v1.3