/forums/post.php |
---|
33,8 → 33,8 |
write('<p>' . $page->replaceBBCode($forumPost->content) . '</p>'); |
if ($page->isUserAdmin($page->getLoggedInUser()) || $forumPost->author->ID == $page->getLoggedInUser()->ID) |
{ |
write(' · <a href="edit-post.php?id=' . $id . '">Edit Post</a>'); |
write(' · <a href="delete-post-do.php?id=' . $id . '">Delete Post</a>'); |
write('<p class="bold"><a href="edit-post.php?id=' . $id . '">Edit Post</a>'); |
write(' · <a href="delete-post-do.php?id=' . $id . '">Delete Post</a></p>'); |
} |
write('<br />'); |
} |