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

@ -117,7 +117,7 @@ if ($mode) {
$catlist = get_list('category', $cat_id, true);
$forumlocked = $forumunlocked = '';
$forumstatus == FORUM_LOCKED ? $forumlocked = 'selected="selected"' : $forumunlocked = 'selected="selected"';
$forumstatus == FORUM_LOCKED ? $forumlocked = 'selected' : $forumunlocked = 'selected';
$statuslist = '<option value="' . FORUM_UNLOCKED . '" ' . $forumunlocked . '>' . $lang['STATUS_UNLOCKED'] . '</option>\n';
$statuslist .= '<option value="' . FORUM_LOCKED . '" ' . $forumlocked . '>' . $lang['STATUS_LOCKED'] . '</option>\n';
@ -854,7 +854,7 @@ function get_list($mode, $id, $select)
while ($row = DB()->sql_fetchrow($result)) {
$s = '';
if ($row[$idfield] == $id) {
$s = ' selected="selected"';
$s = ' selected';
}
$catlist .= '<option value="' . $row[$idfield] . '"' . $s . '>&nbsp;' . htmlCHR(str_short($row[$namefield], 60)) . '</option>\n';
}