mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 07:19:25 -05:00
Display powered_by_reddit logo in https if on a secure domain.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
################################################################################
|
||||
|
||||
<%!
|
||||
from r2.lib.template_helpers import s3_https_if_secure
|
||||
from r2.lib.strings import strings
|
||||
import datetime
|
||||
%>
|
||||
@@ -36,7 +37,7 @@
|
||||
%if g.domain != "reddit.com":
|
||||
<!-- http://code.reddit.com/LICENSE see Exhibit B -->
|
||||
<a href="http://code.reddit.com" style="text-align:center;display:block">
|
||||
<img src="http://sp.reddit.com/powered_by_reddit.png"
|
||||
<img src="${s3_https_if_secure("http://sp.reddit.com/powered_by_reddit.png")}"
|
||||
style="width:140px; height:47px; margin-bottom: 5px"/>
|
||||
</a>
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user