From ecabf718a77ca979d16ef9d55f8db962fd3e814b Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sat, 5 Mar 2016 10:36:38 -0800 Subject: [PATCH] use https for gravatar --- include/functions.php | 2 +- include/output.php | 2 +- include/user.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/functions.php b/include/functions.php index 9736182..888be82 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1073,7 +1073,7 @@ function display_single_user($r,$start=0) $lastlogin = strtotime($r[6]); date_default_timezone_set($timezone); $timenow = strtotime(date("Y-m-d H:i:s")); - $gravatar = "$name
\n \"$name's"; echo "
\n"; diff --git a/include/output.php b/include/output.php index 279d4a4..8dbf3d6 100644 --- a/include/output.php +++ b/include/output.php @@ -494,7 +494,7 @@ function output_navbar() echo "
"; echo " \n"; echo " \n"; + echo "src=\"https://www.gravatar.com/avatar/".md5(strtolower(trim($email)))."?d=identicon\" />\n"; echo '