gravtar http 修改

This commit is contained in:
Van 2015-01-07 10:25:18 +08:00
parent acd0030d26
commit 95c1e4335e
2 changed files with 2 additions and 2 deletions

View File

@ -364,7 +364,7 @@
<div class="fn-right"> <div class="fn-right">
<img class="gravatar" <img class="gravatar"
onerror="this.src='/static/images/user-thumbnail.png'" onerror="this.src='/static/images/user-thumbnail.png'"
src="https://secure.gravatar.com/avatar/{{.user.Gravatar}}?s=17&d=http://symphony.b3log.org/images/user-thumbnail.png" src="https://secure.gravatar.com/avatar/{{.user.Gravatar}}?s=17&d=https://symphony.b3log.org/images/user-thumbnail.png"
title="{{.user.Name}}"/> title="{{.user.Name}}"/>
<span class="font-ico ico-share"></span> &nbsp; <span class="font-ico ico-share"></span> &nbsp;
<span onclick="window.open('https://github.com/b3log/wide')" <span onclick="window.open('https://github.com/b3log/wide')"

View File

@ -92,7 +92,7 @@
</label> </label>
<label class="fn-clear"> <label class="fn-clear">
<img onerror="this.src='/static/images/user-thumbnail.png'" <img onerror="this.src='/static/images/user-thumbnail.png'"
src="https://secure.gravatar.com/avatar/{{.user.Gravatar}}?s=48&d=http://symphony.b3log.org/images/user-thumbnail.png" src="https://secure.gravatar.com/avatar/{{.user.Gravatar}}?s=48&d=https://symphony.b3log.org/images/user-thumbnail.png"
title="{{.user.Name}}" class='gravatar'/> title="{{.user.Name}}" class='gravatar'/>
<a href="http://gravatar.com/" target="_blank">{{.i18n.change_avatar}} Gravatar.com</a> <a href="http://gravatar.com/" target="_blank">{{.i18n.change_avatar}} Gravatar.com</a>
</label> </label>