diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 35713c27..6a9f07c7 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1059,10 +1059,13 @@ function mod_move_reply($originBoard, $postID) { } } + // build index buildIndex(); + // build new thread + buildThread($newID); // trigger themes - rebuildThemes($post['op'] ? 'post-thread' : 'post'); + rebuildThemes('post'); // mod log modLog("Moved post #${postID} to " . sprintf($config['board_abbreviation'], $targetBoard) . " (#${newID})", $originBoard); diff --git a/templates/mod/move_reply.html b/templates/mod/move_reply.html new file mode 100644 index 00000000..bf7c2f75 --- /dev/null +++ b/templates/mod/move_reply.html @@ -0,0 +1,41 @@ +
+ + + + + + + + + + + + + + +
+ {% trans 'Post ID' %} + + >>>{{ config.board_abbreviation|sprintf(board) }}{{ post }} +
{% trans 'Target board' %} +
    + {% for targetboard in boards %} +
  • + + +
  • + {% endfor %} +
+
+
{% trans 'Target thread' %} +

If you do not want to make the post into a new thread, please specify the thread you want to move the reply to:

+ +
+ + +
+