summaryrefslogtreecommitdiff
path: root/inc/mod/pages.php
diff options
context:
space:
mode:
authorasiekierka <asiekierka@gmail.com>2013-01-08 04:31:09 +0100
committerMichael Save <savetheinternet@tinyboard.org>2013-01-24 03:52:55 +1100
commit684b7f84929ac1c714e0dd803b23551f2e2acee4 (patch)
tree754cb56d0dd53f9c7f1e94e9e991d5e0c59f066f /inc/mod/pages.php
parentb086e47cfceabda8f96af52113e4441d1719e67a (diff)
[EDIT] added dummy page
Diffstat (limited to 'inc/mod/pages.php')
-rw-r--r--inc/mod/pages.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index 1c31631c..f0c1b7fc 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -986,6 +986,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;