summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-11-19 01:35:22 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-11-19 01:35:22 +1100
commitd8fe3ff8d82b5437fd83de3716728cdff0885d03 (patch)
tree706d6658fe1d1f8d88a803b6e9e1a2798aec1365 /inc/display.php
parentb966670fe4c72de062374b044e364757b14cfe09 (diff)
Ability to "move" a thread to another board (2/3 done)
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/display.php b/inc/display.php
index 93afd59d..ed5f403b 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -376,6 +376,9 @@
else
$built .= ' <a title="Lock thread" href="?/' . $board['uri'] . '/lock/' . $this->id . '">' . $config['mod']['link_lock'] . '</a>';
+ if(hasPermission($config['mod']['move'], $board['uri'], $this->mod))
+ $built .= ' <a title="Move thread to another board" href="?/' . $board['uri'] . '/move/' . $this->id . '">' . $config['mod']['link_move'] . '</a>';
+
if(!empty($built))
$built = '<span class="controls op">' . $built . '</span>';
}