fix: style for staff.php and lang_functions.php

Signed-off-by: SPC <github@spcsky.com>
This commit is contained in:
SPC
2025-01-02 20:39:51 +08:00
committed by Qi HU
parent 4f597e93dd
commit 0f089d39ab
3 changed files with 14 additions and 14 deletions

View File

@@ -54,7 +54,7 @@ $lang_functions = array
'text_request' => "&nbsp;求&nbsp;&nbsp;种&nbsp;",
'text_upload' => "&nbsp;发&nbsp;&nbsp;布&nbsp;",
'text_subtitles' => "&nbsp;字&nbsp;&nbsp;幕&nbsp;",
'text_user_cp' => "&nbsp;控制面板&nbsp;",
'text_user_cp' => "控制面板",
'text_top_ten' => "排&nbsp;行&nbsp;榜",
'text_log' => "&nbsp;日&nbsp;&nbsp;志&nbsp;",
'text_rules' => "&nbsp;规&nbsp;&nbsp;则&nbsp;",

View File

@@ -54,7 +54,7 @@ $lang_functions = array
'text_request' => "&nbsp;求&nbsp;&nbsp;種&nbsp;",
'text_upload' => "&nbsp;發&nbsp;&nbsp;布&nbsp;",
'text_subtitles' => "&nbsp;字&nbsp;&nbsp;幕&nbsp;",
'text_user_cp' => "&nbsp;控制面板&nbsp;",
'text_user_cp' => "控制面板",
'text_top_ten' => "排&nbsp;行&nbsp;榜",
'text_log' => "&nbsp;日&nbsp;&nbsp;志&nbsp;",
'text_rules' => "&nbsp;規&nbsp;&nbsp;則&nbsp;",

View File

@@ -209,24 +209,24 @@ JS;
else
$status = "<a href=checkuser.php?id={$arr['id']}><font color=#ca0226>".$lang_invite['text_pending']."</font></a>";
print("<tr class=rowfollow>
<td class=rowfollow>".get_username($arr['id'])."</td>
<td>{$arr['email']}</td>
<td class=rowfollow>".$arr['enabled']."</td>
<td class=rowfollow>" . mksize($arr['uploaded']) . "</td>
<td class=rowfollow>" . mksize($arr['downloaded']) . "</td>
<td class=rowfollow>$ratio</td>
<td class=rowfollow>".number_format($arr['seeding_torrent_count'])."</td>
<td class=rowfollow>".mksize($arr['seeding_torrent_size'])."</td>
<td class=rowfollow>".number_format($arr['seed_points_per_hour'], 3)."</td>
");
<td class=rowfollow>".get_username($arr['id'])."</td>
<td class=rowfollow>".$arr['email']."</td>
<td class=rowfollow>".$arr['enabled']."</td>
<td class=rowfollow>" . mksize($arr['uploaded']) . "</td>
<td class=rowfollow>" . mksize($arr['downloaded']) . "</td>
<td class=rowfollow>".$ratio."</td>
<td class=rowfollow>".number_format($arr['seeding_torrent_count'])."</td>
<td class=rowfollow>".mksize($arr['seeding_torrent_size'])."</td>
<td class=rowfollow>".number_format($arr['seed_points_per_hour'], 3)."</td>
");
if ($haremAdditionFactor > 0) {
print ("<td class=rowfollow>".number_format(floatval($arr['seed_points_per_hour']) * $haremAdditionFactor, 3)."</td>");
}
print("<td class=rowfollow>{$arr['last_announce_at']}</td>");
print("<td class=rowfollow>$status</td>");
print("<td class=rowfollow>{$status}</td>");
if ($CURUSER['id'] == $id || get_user_class() >= UC_SYSOP){
print("<td>");
print("<td class=rowfollow>");
if ($arr['status'] == 'pending')
print("<input type=\"checkbox\" name=\"conusr[]\" value=\"" . $arr['id'] . "\" />");
print("</td>");