mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 12:58:40 +00:00
chore(web): use gravatar.loli.net as gravatar mirror
This commit is contained in:
parent
8703281ab3
commit
8cf76566cb
@ -8,7 +8,7 @@ class HTML {
|
|||||||
return strip_tags($str);
|
return strip_tags($str);
|
||||||
}
|
}
|
||||||
public static function avatar_addr($user, $size) {
|
public static function avatar_addr($user, $size) {
|
||||||
return '//cn.gravatar.com/avatar/' . md5(strtolower(trim($user['email']))) . "?d=mm&s=$size";
|
return '//gravatar.loli.net/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