Browse Source

Request posts favicons over HTTPS

pull/56/head
Jaussoin Timothée 10 years ago
parent
commit
09066821c7
  1. 2
      app/widgets/Group/_group_posts.tpl
  2. 2
      app/widgets/Post/_post.tpl

2
app/widgets/Group/_group_posts.tpl

@ -51,7 +51,7 @@
{loop="$attachements.links"}
{if="substr($value.href, 0, 5) != 'xmpp:' && filter_var($value.href, FILTER_VALIDATE_URL)"}
<li>
<span class="icon small"><img src="http://icons.duckduckgo.com/ip2/{$value.url.host}.ico"/></span>
<span class="icon small"><img src="https://icons.duckduckgo.com/ip2/{$value.url.host}.ico"/></span>
<a href="{$value.href}" class="alternate" target="_blank">
<span>{$value.href|urldecode}</span>
</a>

2
app/widgets/Post/_post.tpl

@ -71,7 +71,7 @@
{if="substr($value.href, 0, 5) != 'xmpp:' && filter_var($value.href, FILTER_VALIDATE_URL)"}
<li>
<span class="icon">
<img src="http://icons.duckduckgo.com/ip2/{$value.url.host}.ico"/>
<img src="https://icons.duckduckgo.com/ip2/{$value.url.host}.ico"/>
</span>
<a href="{$value.href}" class="alternate" target="_blank">
<span>{$value.href|urldecode}</span>

Loading…
Cancel
Save