mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
H&R up limit color red
This commit is contained in:
@@ -407,7 +407,7 @@ class HitAndRunRepository extends BaseRepository
|
|||||||
$out = [];
|
$out = [];
|
||||||
foreach (SearchBox::listSections() as $key => $info) {
|
foreach (SearchBox::listSections() as $key => $info) {
|
||||||
$out[] = sprintf(
|
$out[] = sprintf(
|
||||||
'%s: %s/%s/%s',
|
'%s: %s/<font color="red">%s</font>/%s',
|
||||||
$info['text'],
|
$info['text'],
|
||||||
$grouped[$info['mode']][HitAndRun::STATUS_INSPECTING] ?? 0,
|
$grouped[$info['mode']][HitAndRun::STATUS_INSPECTING] ?? 0,
|
||||||
$grouped[$info['mode']][HitAndRun::STATUS_UNREACHED] ?? 0,
|
$grouped[$info['mode']][HitAndRun::STATUS_UNREACHED] ?? 0,
|
||||||
@@ -423,7 +423,7 @@ class HitAndRunRepository extends BaseRepository
|
|||||||
foreach (SearchBox::listSections() as $key => $info) {
|
foreach (SearchBox::listSections() as $key => $info) {
|
||||||
if ($key == SearchBox::SECTION_BROWSE) {
|
if ($key == SearchBox::SECTION_BROWSE) {
|
||||||
return sprintf(
|
return sprintf(
|
||||||
'%s/%s/%s',
|
'%s/<font color="red">%s</font>/%s',
|
||||||
$grouped[HitAndRun::STATUS_INSPECTING] ?? 0,
|
$grouped[HitAndRun::STATUS_INSPECTING] ?? 0,
|
||||||
$grouped[HitAndRun::STATUS_UNREACHED] ?? 0,
|
$grouped[HitAndRun::STATUS_UNREACHED] ?? 0,
|
||||||
HitAndRun::getConfig('ban_user_when_counts_reach', $info['mode'])
|
HitAndRun::getConfig('ban_user_when_counts_reach', $info['mode'])
|
||||||
|
|||||||
Reference in New Issue
Block a user