webbuild-cgi: use https for gravatar
This commit is contained in:
parent
8b9ee4a7b2
commit
73f032afda
@ -245,7 +245,7 @@ if [ "$REQUEST" = "refresh" -o "$REQUEST" = "refreshsocial" -o ! "$USER" ]; then
|
|||||||
USER_GRAVATAR=`echo -n $SEMAIL | md5sum | sed "s| .*||"`
|
USER_GRAVATAR=`echo -n $SEMAIL | md5sum | sed "s| .*||"`
|
||||||
fi
|
fi
|
||||||
echo -n "<add id=\"$SID\"><![CDATA[<div style=\"margin:0;padding:0;\"><div style=\"vertical-align:middle;position:relative;float:left;height:24px;width:24px;margin-right:2px;\">"
|
echo -n "<add id=\"$SID\"><![CDATA[<div style=\"margin:0;padding:0;\"><div style=\"vertical-align:middle;position:relative;float:left;height:24px;width:24px;margin-right:2px;\">"
|
||||||
echo -n "<img src=\"http://www.gravatar.com/avatar/$USER_GRAVATAR?s=24&d=http://www.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=24\" /></div>"
|
echo -n "<img src=\"https://www.gravatar.com/avatar/$USER_GRAVATAR?s=24&d=https://www.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=24\" /></div>"
|
||||||
if [ "$SPRIVACY" -a ! "$USER" ]; then
|
if [ "$SPRIVACY" -a ! "$USER" ]; then
|
||||||
SUSER="a developer"
|
SUSER="a developer"
|
||||||
elif [ "$USER" = "$SUSER" ]; then
|
elif [ "$USER" = "$SUSER" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user