summaryrefslogtreecommitdiff
path: root/inc/mod
diff options
context:
space:
mode:
authorasiekierka <asiekierka@gmail.com>2013-01-08 04:35:22 +0100
committerMichael Save <savetheinternet@tinyboard.org>2013-01-24 03:53:06 +1100
commit64e06dfcf366d79250a9828e87f760be691bbf23 (patch)
tree2e146f2886c29cfcbddcd053503014e6c53925f5 /inc/mod
parent684b7f84929ac1c714e0dd803b23551f2e2acee4 (diff)
[EDIT] added dummy form
Diffstat (limited to 'inc/mod')
-rw-r--r--inc/mod/pages.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index f0c1b7fc..345da133 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -995,7 +995,11 @@ function mod_edit_post($board, $post) {
if (!hasPermission($config['mod']['editpost'], $board))
error($config['error']['noaccess']);
- error("Unimplemented!");
+ // error("Unimplemented!");
+ $args = array(
+ 'test' => 1
+ );
+ mod_page(_('Edit post'), 'mod/edit_post_form.html', $args);
}
function mod_delete($board, $post) {