|
@ -685,6 +685,11 @@ function mod_lock($board, $unlock, $post) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']); |
|
|
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']); |
|
|
|
|
|
|
|
|
|
|
|
if ($unlock) |
|
|
|
|
|
event('unlock', $post); |
|
|
|
|
|
else |
|
|
|
|
|
event('lock', $post); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function mod_sticky($board, $unsticky, $post) { |
|
|
function mod_sticky($board, $unsticky, $post) { |
|
@ -888,7 +893,7 @@ function mod_move($originBoard, $postID) { |
|
|
'thread' => $postID, |
|
|
'thread' => $postID, |
|
|
'op' => false |
|
|
'op' => false |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
$post['body'] = $post['body_nomarkup'] = sprintf($config['mod']['shadow_mesage'], '>>>/' . $targetBoard . '/' . $newID); |
|
|
$post['body'] = $post['body_nomarkup'] = sprintf($config['mod']['shadow_mesage'], '>>>/' . $targetBoard . '/' . $newID); |
|
|
|
|
|
|
|
|
markup($post['body']); |
|
|
markup($post['body']); |
|
|