diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-11-19 01:35:22 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-11-19 01:35:22 +1100 |
| commit | d8fe3ff8d82b5437fd83de3716728cdff0885d03 (patch) | |
| tree | 706d6658fe1d1f8d88a803b6e9e1a2798aec1365 /inc/display.php | |
| parent | b966670fe4c72de062374b044e364757b14cfe09 (diff) | |
Ability to "move" a thread to another board (2/3 done)
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 3 |
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>'; } |
