https support for gravatars

This commit is contained in:
Shish 2016-06-18 15:56:24 +01:00
parent 0ff6da6d3c
commit 06ee5347c7
2 changed files with 2 additions and 2 deletions

View File

@ -276,7 +276,7 @@ class CommentListTheme extends Themelet {
if(!empty($comment->owner_email)) {
$hash = md5(strtolower($comment->owner_email));
$cb = date("Y-m-d");
$h_avatar = "<img src=\"http://www.gravatar.com/avatar/$hash.jpg?cacheBreak=$cb\"><br>";
$h_avatar = "<img src=\"//www.gravatar.com/avatar/$hash.jpg?cacheBreak=$cb\"><br>";
}
$h_reply = " - <a href='javascript: replyTo($i_image_id, $i_comment_id, \"$h_name\")'>Reply</a>";
$h_ip = $user->can("view_ip") ? "<br>".show_ip($comment->poster_ip, "Comment posted {$comment->posted}") : "";

View File

@ -216,7 +216,7 @@ class UserPage extends Extension {
($user->id == $event->display_user->id)
) {
$event->add_stats(
"No avatar? This gallery uses <a href='http://gravatar.com'>Gravatar</a> for avatar hosting, use the".
"No avatar? This gallery uses <a href='https://gravatar.com'>Gravatar</a> for avatar hosting, use the".
"<br>same email address here and there to have your avatar synced<br>",
0
);