From: Joey Hess Date: Sat, 8 May 2010 20:16:38 +0000 (-0400) Subject: use labels X-Git-Tag: 3.20100515~46 X-Git-Url: http://git.tremily.us/?p=ikiwiki.git;a=commitdiff_plain;h=bf19c01f29a7e740f47354318629e61ad4ee5175 use labels --- diff --git a/templates/openid-selector.tmpl b/templates/openid-selector.tmpl index b4d0e314f..c12df519f 100644 --- a/templates/openid-selector.tmpl +++ b/templates/openid-selector.tmpl @@ -12,7 +12,9 @@ $(document).ready(function() {
- Select your account provider + @@ -20,6 +22,7 @@ $(document).ready(function() {
+
diff --git a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js index bf14fd3d5..4eaa613d9 100644 --- a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js +++ b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js @@ -246,14 +246,14 @@ var openid = { var label = provider['label']; var style = ''; - if (label) { - html = '

' + label + '

'; - } if (provider['name'] == 'OpenID') { id = this.input_id; value = ''; style = 'background:#FFF url(wikiicons/openidlogin-bg.gif) no-repeat scroll 0 50%; padding-left:18px;'; } + if (label) { + html = ''; + } html += '' + '';