mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
Merge branch 'php8' into section
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user