Merge branch 'php8' into section

This commit is contained in:
xiaomlove
2022-09-07 03:28:18 +08:00
9 changed files with 17 additions and 6 deletions

View File

@@ -25,6 +25,7 @@ class SearchBox extends NexusModel
const EXTRA_TAXONOMY_LABELS = 'taxonomy_labels';
const EXTRA_DISPLAY_COVER_ON_TORRENT_LIST = 'display_cover_on_torrent_list';
const EXTRA_DISPLAY_SEED_BOX_ICON_ON_TORRENT_LIST = 'display_seed_box_icon_on_torrent_list';
public static array $subCatFields = [
'source', 'medium', 'codec', 'audiocodec', 'team', 'standard', 'processing'
@@ -32,6 +33,7 @@ class SearchBox extends NexusModel
public static array $extras = [
self::EXTRA_DISPLAY_COVER_ON_TORRENT_LIST => ['text' => 'Display cover on torrent list'],
self::EXTRA_DISPLAY_SEED_BOX_ICON_ON_TORRENT_LIST => ['text' => 'Display seed box icon on torrent list'],
];
public static function listExtraText(): array

View File

@@ -617,7 +617,7 @@ class TorrentRepository extends BaseRepository
$input = <<<HTML
<div class="nexus-input-box" style="display: flex">
<div style="display: flex;flex-direction: column;flex-grow: 1">
<input type="text" name="$name" value="{$value}">
<input type="text" id="$name" name="$name" value="{$value}">
$note
</div>
$btn