From 635cd5a7d9d44499a20582f54f2c08feadaa01f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20=C5=81abanowski?= Date: Wed, 23 Jan 2013 18:54:48 +0100 Subject: [PATCH] Revert "[EDIT] added dummy form" This reverts commit 1a2c859996e5827581a0440da8fb97ec09fd70b7. --- inc/mod/pages.php | 6 +--- templates/mod/edit_post_form.html | 55 ------------------------------- 2 files changed, 1 insertion(+), 60 deletions(-) delete mode 100644 templates/mod/edit_post_form.html 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 %} -
-