From a051ca64ababcf49f4eebf9b768b301c9e8cc06e Mon Sep 17 00:00:00 2001 From: asiekierka Date: Tue, 8 Jan 2013 04:31:09 +0100 Subject: [EDIT] added dummy page --- inc/mod/pages.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'inc/mod/pages.php') diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 4f1ab73c..fb9f364d 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -985,6 +985,18 @@ function mod_ban_post($board, $delete, $post, $token = false) { mod_page(_('New ban'), 'mod/ban_form.html', $args); } +function mod_edit_post($board, $post) { + global $config, $mod; + + if (!openBoard($board)) + error($config['error']['noboard']); + + if (!hasPermission($config['mod']['editpost'], $board)) + error($config['error']['noaccess']); + + error("Unimplemented!"); +} + function mod_delete($board, $post) { global $config, $mod; -- cgit v1.3