mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 04:23:38 +01:00
[ticket/11201] Add some commas at the last array entry
PHPBB3-11201
This commit is contained in:
parent
876e5e5fbb
commit
1c884d07eb
@ -46,7 +46,7 @@ class type_bool extends type_base
|
|||||||
'field_ident' => 'field_default_value',
|
'field_ident' => 'field_default_value',
|
||||||
'field_type' => $this->get_service_name(),
|
'field_type' => $this->get_service_name(),
|
||||||
'field_length' => $field_data['field_length'],
|
'field_length' => $field_data['field_length'],
|
||||||
'lang_options' => $field_data['lang_options']
|
'lang_options' => $field_data['lang_options'],
|
||||||
);
|
);
|
||||||
|
|
||||||
$options = array(
|
$options = array(
|
||||||
@ -180,8 +180,8 @@ class type_bool extends type_base
|
|||||||
$this->template->assign_block_vars('bool.options', array(
|
$this->template->assign_block_vars('bool.options', array(
|
||||||
'OPTION_ID' => $option_id,
|
'OPTION_ID' => $option_id,
|
||||||
'CHECKED' => ($value == $option_id) ? ' checked="checked"' : '',
|
'CHECKED' => ($value == $option_id) ? ' checked="checked"' : '',
|
||||||
'VALUE' => $option_value)
|
'VALUE' => $option_value,
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -226,7 +226,7 @@ class type_bool extends type_base
|
|||||||
public function get_language_options_input($field_data)
|
public function get_language_options_input($field_data)
|
||||||
{
|
{
|
||||||
$field_data['l_lang_name'] = $this->request->variable('l_lang_name', array(0 => ''), true);
|
$field_data['l_lang_name'] = $this->request->variable('l_lang_name', array(0 => ''), true);
|
||||||
$field_data['l_lang_explain'] = $this->request->variable('l_lang_explain', array(0 => ''), true);
|
$field_data['l_lang_explain'] = $this->request->variable('l_lang_explain', array(0 => ''), true);
|
||||||
$field_data['l_lang_default_value'] = $this->request->variable('l_lang_default_value', array(0 => ''), true);
|
$field_data['l_lang_default_value'] = $this->request->variable('l_lang_default_value', array(0 => ''), true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -179,8 +179,8 @@ class type_dropdown extends type_base
|
|||||||
$this->template->assign_block_vars('dropdown.options', array(
|
$this->template->assign_block_vars('dropdown.options', array(
|
||||||
'OPTION_ID' => $option_id,
|
'OPTION_ID' => $option_id,
|
||||||
'SELECTED' => ($value == $option_id) ? ' selected="selected"' : '',
|
'SELECTED' => ($value == $option_id) ? ' selected="selected"' : '',
|
||||||
'VALUE' => $option_value)
|
'VALUE' => $option_value,
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user