Commits

Benjamin Peterson  committed 5e932c3

serve openid icons over https

  • Participants
  • Parent commits db18c67

Comments (0)

Files changed (3)

File extensions/openid_login.py

 
 providers = {}
 for p in (
-    ('Google', 'http://www.google.com/favicon.ico', 'https://www.google.com/accounts/o8/id'),
+    ('Google', 'https://www.google.com/favicon.ico', 'https://www.google.com/accounts/o8/id'),
     ('myOpenID', 'https://www.myopenid.com/favicon.ico', 'https://www.myopenid.com/'),
     ('Launchpad', 'https://login.launchpad.net/favicon.ico', 'https://login.launchpad.net/')
     ):

File html/openid-16x16.gif

Added
New image

File html/page.html

                 <tal:span i18n:translate="">Login</tal:span>&nbsp;(OpenID&nbsp;possible)<br />
                 <a style="display:inline;width:0;margin:0" tal:repeat="prov python:utils.openid_links(request)" tal:attributes="href prov/href">
                   <img hspace="0" vspace="0" width="16" height="16" tal:attributes="src prov/src;title prov/title;alt prov/alt"/></a>
-                <input size="10" name="openid_identifier" style="background:url(http://wiki.openid.net/f/openid-16x16.gif)
+                <input size="10" name="openid_identifier" style="background:url(@@file/openid-16x16.gif)
                   center left no-repeat;padding-left:16px"/><br/>
                 <input size="10" type="password" name="__login_password"/><br/>
                 <input type="hidden" name="@action" value="Login"/>