fix searchbox seeders&leechers

This commit is contained in:
xiaomlove
2022-12-21 00:37:21 +08:00
parent 63321cb20f
commit 2162aa150c
3 changed files with 15 additions and 15 deletions

View File

@@ -60,8 +60,8 @@ $lang_torrents = array
'text_software' => "软件:",
'text_approval_status' => '审核状态:',
'size_range' => '体积范围(GB)',
'leechers_range' => '做种人数范围:',
'seeders_range' => '下载人数范围:',
'leechers_range' => '下载人数范围:',
'seeders_range' => '做种人数范围:',
'times_completed_range' => '完成次数范围:',
'added_range' => '发布时间范围:',
);

View File

@@ -60,8 +60,8 @@ $lang_torrents = array
'text_software' => "軟件:",
'text_approval_status' => '審核狀態:',
'size_range' => '體積範圍(GB)',
'leechers_range' => '做種人數範圍:',
'seeders_range' => '下載人數範圍:',
'leechers_range' => '下載人數範圍:',
'seeders_range' => '做種人數範圍:',
'times_completed_range' => '完成次數範圍:',
'added_range' => '發布時間範圍:',
);

View File

@@ -1095,17 +1095,6 @@ if ($allsec != 1 || $enablespecial != 'yes'){ //do not print searchbox if showin
</td>
</tr>
<tr>
<td class="bottom" style="padding: 1px;padding-left: 10px">
<font class="medium"><?php echo $lang_torrents['leechers_range'] ?></font>
</td>
</tr>
<tr>
<td class="bottom" style="padding: 1px;padding-left: 10px">
<input type="number" min="1" name="leechers_begin" style="width: <?php echo $filterInputWidth?>px" value="<?php echo htmlspecialchars($_GET['leechers_begin'] ?? '') ?>"/> ~ <input type="number" min="1" name="leechers_end" style="width: <?php echo $filterInputWidth?>px" value="<?php echo htmlspecialchars($_GET['leechers_end'] ?? '') ?>"/>
</td>
</tr>
<tr>
<td class="bottom" style="padding: 1px;padding-left: 10px">
<font class="medium"><?php echo $lang_torrents['seeders_range'] ?></font>
@@ -1117,6 +1106,17 @@ if ($allsec != 1 || $enablespecial != 'yes'){ //do not print searchbox if showin
</td>
</tr>
<tr>
<td class="bottom" style="padding: 1px;padding-left: 10px">
<font class="medium"><?php echo $lang_torrents['leechers_range'] ?></font>
</td>
</tr>
<tr>
<td class="bottom" style="padding: 1px;padding-left: 10px">
<input type="number" min="1" name="leechers_begin" style="width: <?php echo $filterInputWidth?>px" value="<?php echo htmlspecialchars($_GET['leechers_begin'] ?? '') ?>"/> ~ <input type="number" min="1" name="leechers_end" style="width: <?php echo $filterInputWidth?>px" value="<?php echo htmlspecialchars($_GET['leechers_end'] ?? '') ?>"/>
</td>
</tr>
<tr>
<td class="bottom" style="padding: 1px;padding-left: 10px">
<font class="medium"><?php echo $lang_torrents['times_completed_range'] ?></font>