mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
c6fd14352e
3 changed files with 5 additions and 1 deletions
|
@ -496,6 +496,8 @@ class ucp_prefs
|
||||||
}
|
}
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
|
'S_SIG_ALLOWED' => $config['allow_sig'] && $auth->acl_get('u_sig'),
|
||||||
|
|
||||||
'S_BBCODE' => $data['bbcode'],
|
'S_BBCODE' => $data['bbcode'],
|
||||||
'S_SMILIES' => $data['smilies'],
|
'S_SMILIES' => $data['smilies'],
|
||||||
'S_SIG' => $data['sig'],
|
'S_SIG' => $data['sig'],
|
||||||
|
|
|
@ -1963,7 +1963,7 @@ $page_data = array(
|
||||||
'S_BBCODE_CHECKED' => ($bbcode_checked) ? ' checked="checked"' : '',
|
'S_BBCODE_CHECKED' => ($bbcode_checked) ? ' checked="checked"' : '',
|
||||||
'S_SMILIES_ALLOWED' => $smilies_status,
|
'S_SMILIES_ALLOWED' => $smilies_status,
|
||||||
'S_SMILIES_CHECKED' => ($smilies_checked) ? ' checked="checked"' : '',
|
'S_SMILIES_CHECKED' => ($smilies_checked) ? ' checked="checked"' : '',
|
||||||
'S_SIG_ALLOWED' => ($auth->acl_get('f_sigs', $forum_id) && $config['allow_sig'] && $user->data['is_registered']) ? true : false,
|
'S_SIG_ALLOWED' => ($user->data['is_registered'] && $config['allow_sig'] && $auth->acl_get('f_sigs', $forum_id) && $auth->acl_get('u_sig')) ? true : false,
|
||||||
'S_SIGNATURE_CHECKED' => ($sig_checked) ? ' checked="checked"' : '',
|
'S_SIGNATURE_CHECKED' => ($sig_checked) ? ' checked="checked"' : '',
|
||||||
'S_NOTIFY_ALLOWED' => (!$user->data['is_registered'] || ($mode == 'edit' && $user->data['user_id'] != $post_data['poster_id']) || !$config['allow_topic_notify'] || !$config['email_enable']) ? false : true,
|
'S_NOTIFY_ALLOWED' => (!$user->data['is_registered'] || ($mode == 'edit' && $user->data['user_id'] != $post_data['poster_id']) || !$config['allow_topic_notify'] || !$config['email_enable']) ? false : true,
|
||||||
'S_NOTIFY_CHECKED' => ($notify_checked) ? ' checked="checked"' : '',
|
'S_NOTIFY_CHECKED' => ($notify_checked) ? ' checked="checked"' : '',
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
<label for="smilies0"><input type="radio" name="smilies" id="smilies0" value="0"<!-- IF not S_SMILIES --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label for="smilies0"><input type="radio" name="smilies" id="smilies0" value="0"<!-- IF not S_SMILIES --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
{% if S_SIG_ALLOWED %}
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="sig1">{L_DEFAULT_ADD_SIG}{L_COLON}</label></dt>
|
<dt><label for="sig1">{L_DEFAULT_ADD_SIG}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
@ -30,6 +31,7 @@
|
||||||
<label for="sig0"><input type="radio" name="sig" id="sig0" value="0"<!-- IF not S_SIG --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label for="sig0"><input type="radio" name="sig" id="sig0" value="0"<!-- IF not S_SIG --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
{% endif %}
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="notify1">{L_DEFAULT_NOTIFY}{L_COLON}</label></dt>
|
<dt><label for="notify1">{L_DEFAULT_NOTIFY}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
|
Loading…
Add table
Reference in a new issue