From 0f089d39ab9b8ed8598341f940ddbd9b944179cd Mon Sep 17 00:00:00 2001 From: SPC Date: Thu, 2 Jan 2025 20:39:51 +0800 Subject: [PATCH] fix: style for staff.php and lang_functions.php Signed-off-by: SPC --- lang/chs/lang_functions.php | 2 +- lang/cht/lang_functions.php | 2 +- public/invite.php | 24 ++++++++++++------------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lang/chs/lang_functions.php b/lang/chs/lang_functions.php index 50456d18..e869a348 100644 --- a/lang/chs/lang_functions.php +++ b/lang/chs/lang_functions.php @@ -54,7 +54,7 @@ $lang_functions = array 'text_request' => " 求  种 ", 'text_upload' => " 发  布 ", 'text_subtitles' => " 字  幕 ", - 'text_user_cp' => " 控制面板 ", + 'text_user_cp' => "控制面板", 'text_top_ten' => "排 行 榜", 'text_log' => " 日  志 ", 'text_rules' => " 规  则 ", diff --git a/lang/cht/lang_functions.php b/lang/cht/lang_functions.php index fd361bcb..4b5a67e5 100644 --- a/lang/cht/lang_functions.php +++ b/lang/cht/lang_functions.php @@ -54,7 +54,7 @@ $lang_functions = array 'text_request' => " 求  種 ", 'text_upload' => " 發  布 ", 'text_subtitles' => " 字  幕 ", - 'text_user_cp' => " 控制面板 ", + 'text_user_cp' => "控制面板", 'text_top_ten' => "排 行 榜", 'text_log' => " 日  志 ", 'text_rules' => " 規  則 ", diff --git a/public/invite.php b/public/invite.php index 0491468b..0fa79a13 100644 --- a/public/invite.php +++ b/public/invite.php @@ -209,24 +209,24 @@ JS; else $status = "".$lang_invite['text_pending'].""; print(" -".get_username($arr['id'])." -{$arr['email']} -".$arr['enabled']." -" . mksize($arr['uploaded']) . " -" . mksize($arr['downloaded']) . " -$ratio -".number_format($arr['seeding_torrent_count'])." -".mksize($arr['seeding_torrent_size'])." -".number_format($arr['seed_points_per_hour'], 3)." -"); + ".get_username($arr['id'])." + ".$arr['email']." + ".$arr['enabled']." + " . mksize($arr['uploaded']) . " + " . mksize($arr['downloaded']) . " + ".$ratio." + ".number_format($arr['seeding_torrent_count'])." + ".mksize($arr['seeding_torrent_size'])." + ".number_format($arr['seed_points_per_hour'], 3)." + "); if ($haremAdditionFactor > 0) { print ("".number_format(floatval($arr['seed_points_per_hour']) * $haremAdditionFactor, 3).""); } print("{$arr['last_announce_at']}"); - print("$status"); + print("{$status}"); if ($CURUSER['id'] == $id || get_user_class() >= UC_SYSOP){ - print(""); + print(""); if ($arr['status'] == 'pending') print(""); print("");