From: Arun Persaud Date: Sat, 5 Mar 2016 18:36:38 +0000 (-0800) Subject: use https for gravatar X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=commitdiff_plain;h=ecabf718a77ca979d16ef9d55f8db962fd3e814b use https for gravatar --- 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 '