diff --git a/inc/mod/pages.php b/inc/mod/pages.php index a3020e1d..139bcb65 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -995,11 +995,7 @@ function mod_edit_post($board, $post) { if (!hasPermission($config['mod']['editpost'], $board)) error($config['error']['noaccess']); - // error("Unimplemented!"); - $args = array( - 'test' => 1 - ); - mod_page(_('Edit post'), 'mod/edit_post_form.html', $args); + error("Unimplemented!"); } function mod_delete($board, $post) { diff --git a/templates/mod/edit_post_form.html b/templates/mod/edit_post_form.html deleted file mode 100644 index ac7e207f..00000000 --- a/templates/mod/edit_post_form.html +++ /dev/null @@ -1,55 +0,0 @@ -
- - {% if not config.field_disable_name or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %} - - - {% endif %} - {% if not config.field_disable_email or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %} - - - {% endif %} - - - - - - - - - - - - -
- {% trans %}Name{% endtrans %} - - -
- {% trans %}Email{% endtrans %} - - -
- {% trans %}Subject{% endtrans %} - - -
- {% trans %}Comment{% endtrans %} - - -
- {% trans %}Flags{% endtrans %} - - {% if not id and post.mod|hasPermission(config.mod.sticky, board.uri) %}
- -
-
{% endif %} - {% if not id and post.mod|hasPermission(config.mod.lock, board.uri) %}
-
- -
{% endif %} - {% if post.mod|hasPermission(config.mod.rawhtml, board.uri) %}
-
- -
{% endif %} -
-