1
0
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:
Rubén Calvo 2017-08-03 19:26:00 +02:00
parent da32ecb30b
commit 5be42739dc
2 changed files with 2 additions and 1 deletions

View File

@ -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 }}">

View File

@ -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'));
/**