Ability to "move" a thread to another board (2/3 done)

This commit is contained in:
Savetheinternet 2011-11-19 01:35:22 +11:00
parent b966670fe4
commit d8fe3ff8d8
4 changed files with 160 additions and 2 deletions

View file

@ -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>';
}