Minor improvements (#863)

* Minor improvements

* Update posting.tpl

* Update posting.tpl

* Updated

* Update globals.css
This commit is contained in:
Roman Kelesidis 2023-08-24 14:34:28 +07:00 committed by GitHub
commit a2e8817b5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 326 additions and 328 deletions

View file

@ -1434,7 +1434,7 @@ function get_forum_display_sort_option($selected_row = 0, $action = 'list', $lis
// build list
if ($action == 'list') {
foreach ($listrow['lang_key'] as $i => $iValue) {
$selected = ($i == $selected_row) ? ' selected="selected"' : '';
$selected = ($i == $selected_row) ? ' selected' : '';
$l_value = $lang[$listrow['lang_key'][$i]] ?? $iValue;
$res .= '<option value="' . $i . '"' . $selected . '>' . $l_value . '</option>';
}