mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-02 04:24:56 +02:00
[ticket/15289] Fix radio buttons
PHPBB3-15289
This commit is contained in:
parent
da32ecb30b
commit
5be42739dc
@ -47,7 +47,7 @@
|
||||
<textarea id="" name="{{ input_name }}">{{ input_value }}</textarea>
|
||||
{% elseif input_type == 'radio' %}
|
||||
{% for option_name, option_value in options['options'] %}
|
||||
<label><input type="radio" name="{{ input_name }}" value="{{ option_value }}" class="radio" id=""{{ (option_value == input_value) ? ' checked="checked"' }}>{{ lang(option_name) }}</textarea></label>
|
||||
<label><input type="radio" name="{{ input_name }}" value="{{ option_value }}" class="radio" id=""{{ (option_value == input_value) ? ' checked="checked"' }}> {{ lang(option_name) }}</label>
|
||||
{% endfor %}
|
||||
{% elseif input_type == 'select' %}
|
||||
<select name="{{ input_name }}">
|
||||
|
@ -64,6 +64,7 @@ class acp_storage
|
||||
$this->storage_collection = $phpbb_container->get('storage.storage_collection');
|
||||
|
||||
// Add necesary language files
|
||||
$this->lang->add_lang(array('common'));
|
||||
$this->lang->add_lang(array('acp/storage'));
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user