mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 14:48:41 +00:00
chore: gravatar fallback
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8defcd448f
commit
d6df38cb35
@ -117,7 +117,7 @@ class HTML {
|
|||||||
return "https://q1.qlogo.cn/g?b=qq&nk={$user['qq']}&s=$s";
|
return "https://q1.qlogo.cn/g?b=qq&nk={$user['qq']}&s=$s";
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'https://cravatar.cn/avatar/' . md5(strtolower(trim($user['email']))) . "?d=404&s=$size";
|
return 'https://cravatar.cn/avatar/' . md5(strtolower(trim($user['email']))) . "?d=mm&s=$size";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function tablist($tabs_info, $cur, $type = 'nav-tabs') {
|
public static function tablist($tabs_info, $cur, $type = 'nav-tabs') {
|
||||||
|
Loading…
Reference in New Issue
Block a user