mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Merge pull request #6671 from iMattPro/ticket/17364
[ticket/17364] Correctly handle styles list in ACP Forums
This commit is contained in:
commit
187a4f3586
2 changed files with 9 additions and 2 deletions
|
@ -181,7 +181,14 @@
|
|||
<!-- ENDIF -->
|
||||
<dl>
|
||||
<dt><label for="forum_style">{L_FORUM_STYLE}{L_COLON}</label></dt>
|
||||
<dd><select id="forum_style" name="forum_style"><option value="0">{L_DEFAULT_STYLE}</option>{S_STYLES_OPTIONS}</select></dd>
|
||||
<dd>
|
||||
<select id="forum_style" name="forum_style">
|
||||
<option value="0">{{ lang('DEFAULT_STYLE') }}</option>
|
||||
{% for style in S_STYLES_OPTIONS %}
|
||||
<option value="{{ style.value }}"{% if style.selected %} selected="selected"{% endif %}>{{ style.label }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</dd>
|
||||
</dl>
|
||||
<!-- EVENT acp_forums_main_settings_append -->
|
||||
</fieldset>
|
||||
|
|
|
@ -393,7 +393,7 @@ class acp_board
|
|||
'title' => 'ACP_AUTH_SETTINGS',
|
||||
'vars' => array(
|
||||
'legend1' => 'ACP_AUTH_SETTINGS',
|
||||
'auth_method' => array('lang' => 'AUTH_METHOD', 'validate' => 'string', 'type' => 'select:1:toggable', 'method' => 'select_auth_method', 'explain' => false),
|
||||
'auth_method' => array('lang' => 'AUTH_METHOD', 'validate' => 'string', 'type' => 'select:1:toggleable', 'method' => 'select_auth_method', 'explain' => false),
|
||||
)
|
||||
);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue