* added new forum option: "Enable HTML"

* will be by default enabled for newses
* fixed bbcode parsing
This commit is contained in:
slawkens
2018-01-08 10:53:14 +01:00
parent bf71c1aee8
commit c133482659
12 changed files with 104 additions and 46 deletions

View File

@@ -28,7 +28,7 @@ if(!$logged)
require_once(LIBS . 'forum.php');
$canEdit = hasFlag(FLAG_CONTENT_FORUM) || superAdmin();
$canEdit = Forum::isModerator();
if($canEdit)
{
$groups = new OTS_Groups_List();
@@ -172,7 +172,7 @@ if(empty($action))
return;
}
$errors = array();
if($action == 'show_board' || $action == 'show_thread')
{
require(PAGES . 'forum/' . $action . '.php');