https support for gravatars
This commit is contained in:
parent
0ff6da6d3c
commit
06ee5347c7
@ -276,7 +276,7 @@ class CommentListTheme extends Themelet {
|
|||||||
if(!empty($comment->owner_email)) {
|
if(!empty($comment->owner_email)) {
|
||||||
$hash = md5(strtolower($comment->owner_email));
|
$hash = md5(strtolower($comment->owner_email));
|
||||||
$cb = date("Y-m-d");
|
$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_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}") : "";
|
$h_ip = $user->can("view_ip") ? "<br>".show_ip($comment->poster_ip, "Comment posted {$comment->posted}") : "";
|
||||||
|
@ -216,7 +216,7 @@ class UserPage extends Extension {
|
|||||||
($user->id == $event->display_user->id)
|
($user->id == $event->display_user->id)
|
||||||
) {
|
) {
|
||||||
$event->add_stats(
|
$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>",
|
"<br>same email address here and there to have your avatar synced<br>",
|
||||||
0
|
0
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user