mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Merge pull request #4732 from Jimmi08/load-bbcode-buttons-only-if-HTML-is-allowed-for-user
Fixes #4708 load bbcode buttons only if posting HTML is allowed for user
This commit is contained in:
@@ -2490,10 +2490,18 @@ class e_form
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
if (!check_class(e107::getConfig()->get('post_html', e_UC_MAINADMIN)))
|
||||||
|
{
|
||||||
|
$ret .= e107::getBB()->renderButtons($template,$help_tagid);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ret .= e107::getBB()->renderButtons($template,$help_tagid);
|
||||||
|
}
|
||||||
|
|
||||||
$ret .= e107::getBB()->renderButtons($template,$help_tagid);
|
|
||||||
$ret .= $this->textarea($name, $value, $rows, $cols, $options, $counter); // higher thank 70 will break some layouts.
|
$ret .= $this->textarea($name, $value, $rows, $cols, $options, $counter); // higher thank 70 will break some layouts.
|
||||||
|
|
||||||
$ret .= "</div>\n";
|
$ret .= "</div>\n";
|
||||||
|
Reference in New Issue
Block a user