CS, tabs to spaces

pull/11/merge
Aleksander Machniak 13 years ago
parent 37202827d3
commit 089e53c617

@ -1564,16 +1564,20 @@ class rcube_output_html extends rcube_output
'GB2312' => 'GB2312 ('.$this->app->gettext('chinese').')', 'GB2312' => 'GB2312 ('.$this->app->gettext('chinese').')',
); );
if (!empty($_POST['_charset'])) if (!empty($_POST['_charset'])) {
$set = $_POST['_charset']; $set = $_POST['_charset'];
else if (!empty($attrib['selected'])) }
else if (!empty($attrib['selected'])) {
$set = $attrib['selected']; $set = $attrib['selected'];
else }
else {
$set = $this->get_charset(); $set = $this->get_charset();
}
$set = strtoupper($set); $set = strtoupper($set);
if (!isset($charsets[$set])) if (!isset($charsets[$set])) {
$charsets[$set] = $set; $charsets[$set] = $set;
}
$select = new html_select($field_attrib); $select = new html_select($field_attrib);
$select->add(array_values($charsets), array_keys($charsets)); $select->add(array_values($charsets), array_keys($charsets));

Loading…
Cancel
Save