mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Minor improvements (#1633)
* Minor improvements * Update CHANGELOG.md * Update filelist.php * Update ffprobe_info.php * Updated * Update announce.php * Update announce.php * Update ffprobe_info.php * Updated * Update ffprobe_info.php * Update ffprobe_info.php * Updated * Update common.php * Update common.php * Revert "Update common.php" This reverts commit3793263ff0
. * Revert "Update common.php" This reverts commit3911e72dba
. * Update common.php * Updated * Update playback_m3u.tpl * Update ffprobe_info.php * Update playback_m3u.php * Update dl.php * Update dl.php * Updated * Update dl.php * Update playback_m3u.php * Revert "Update playback_m3u.php" This reverts commit8cf6e9a041
. * Revert "Update dl.php" This reverts commit7c11cc385b
. * Revert "Updated" This reverts commit9c004f0651
. * Revert "Update dl.php" This reverts commit26d5feffa5
. * Revert "Update dl.php" This reverts commit261f8d3e62
. * Update playback_m3u.php * Updated * Update dl.php * Update dl.php * Update CHANGELOG.md
This commit is contained in:
parent
f5a9490dfe
commit
001c210217
16 changed files with 80 additions and 51 deletions
|
@ -865,7 +865,7 @@ function get_list($mode, $id, $select)
|
|||
if ($row[$idfield] == $id) {
|
||||
$s = ' selected';
|
||||
}
|
||||
$catlist .= '<option value="' . $row[$idfield] . '"' . $s . '> ' . htmlCHR(str_short($row[$namefield], 60)) . '</option>\n';
|
||||
$catlist .= '<option value="' . $row[$idfield] . '"' . $s . '> ' . str_short(htmlCHR($row[$namefield]), 60) . '</option>\n';
|
||||
}
|
||||
|
||||
return $catlist;
|
||||
|
@ -1102,7 +1102,7 @@ function sf_get_list($mode, $exclude = 0, $select = 0)
|
|||
$selected = ($fid == $select) ? HTML_SELECTED : '';
|
||||
$disabled = ($fid == $exclude && !$forum_parent) ? HTML_DISABLED : '';
|
||||
$style = $disabled ? ' style="color: gray" ' : (($fid == $exclude) ? ' style="color: darkred" ' : '');
|
||||
$opt .= '<option value="' . $fid . '" ' . $selected . $disabled . $style . '>' . ($f['forum_parent'] ? HTML_SF_SPACER : '') . htmlCHR(str_short($f['forum_name'], 60)) . " </option>\n";
|
||||
$opt .= '<option value="' . $fid . '" ' . $selected . $disabled . $style . '>' . ($f['forum_parent'] ? HTML_SF_SPACER : '') . str_short(htmlCHR($f['forum_name']), 60) . " </option>\n";
|
||||
}
|
||||
|
||||
$opt .= '</optgroup>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue