Permalink
Browse files

fixes

  • Loading branch information...
1 parent 59cff9e commit 02bb2c82fcd1a892133e29f8dd3d068c8ec7ea49 @nopticon committed Apr 4, 2012
Showing with 862 additions and 861 deletions.
  1. +1 −1 acp/forums_post_delete.php
  2. +1 −1 acp/forums_post_modify.php
  3. +2 −2 objects/events.php
  4. +1 −857 template/css/default.css
  5. +857 −0 template/css/site.css
@@ -22,7 +22,7 @@ class __forums_post_delete extends mac {
public function __construct() {
parent::__construct();
- $this->auth('founder');
+ $this->auth('mod');
}
public function _home() {
@@ -22,7 +22,7 @@ class __forums_post_modify extends mac {
public function __construct() {
parent::__construct();
- $this->auth('founder');
+ $this->auth('mod');
}
public function _home() {
View
@@ -648,8 +648,8 @@ public function object() {
$controls[$row['post_id']]['reply'] = s_link('events', array($this->v('event_alias'), $row['post_id'], 'reply'));
if ($mod_auth) {
- $controls[$row['post_id']]['edit'] = s_link('acp', array('', 'edit', $row['post_id']));
- $controls[$row['post_id']]['delete'] = s_link('acp', array('', 'post', $row['post_id']));
+ $controls[$row['post_id']]['edit'] = s_link('acp', array('forums_post_modify', 'msg_id' => $row['post_id']));
+ $controls[$row['post_id']]['delete'] = s_link('acp', array('forums_post_delete', 'msg_id' => $row['post_id']));
}
}
Oops, something went wrong.

0 comments on commit 02bb2c8

Please sign in to comment.