mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
oh, it is already in here
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9691 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
e2f01e86d0
commit
18c5c8e8ec
1 changed files with 3 additions and 2 deletions
|
@ -1606,10 +1606,11 @@ else if (!$all_marked_read)
|
||||||
|
|
||||||
// let's set up quick_reply
|
// let's set up quick_reply
|
||||||
// TODO: introduce a per-forum and a per-user setting
|
// TODO: introduce a per-forum and a per-user setting
|
||||||
if ($s_can_vote || $config['allow_quick_reply'])
|
$s_quick_reply = $user->data['is_registered'] && $config['allow_quick_reply'] && ($topic_data['forum_flags'] & FORUM_FLAG_QUICK_REPLY);
|
||||||
|
if ($s_can_vote || $s_quick_reply )
|
||||||
{
|
{
|
||||||
add_form_key('posting');
|
add_form_key('posting');
|
||||||
if ($user->data['is_registered'] && $config['allow_quick_reply'])
|
if ($s_quick_reply)
|
||||||
{
|
{
|
||||||
|
|
||||||
$s_attach_sig = $config['allow_sig'] && strlen($user->data['user_sig']) && $user->optionget('attachsig') && $auth->acl_get('f_sigs', $forum_id) && $auth->acl_get('u_sig');
|
$s_attach_sig = $config['allow_sig'] && strlen($user->data['user_sig']) && $user->optionget('attachsig') && $auth->acl_get('f_sigs', $forum_id) && $auth->acl_get('u_sig');
|
||||||
|
|
Loading…
Add table
Reference in a new issue