- <div class="loginBox">
- <h3><%= t 'user.login.openid_heading' %></h3>
- <table id="loginForm" width="100%">
- <tr>
- <td class="fieldName">
- <%= image_tag "openid-16x16.gif", :alt => t('user.login.openid_logo_alt') %>
- <%= t 'user.login.openid' %>
- </td>
- <td><%= text_field('user', 'openid_url',{:size => 28, :maxlength => 255, :tabindex => 3, :class => "openid_url"}) %></td>
- </tr>
- <tr>
- <td></td>
- <td>
- <span class="minorNote">
- (<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)
- </span>
- </td>
- </tr>
- </table>
- <a href="javascript: openid_signin('openid');" title="<%= h(t 'user.login.openid_providers.openid.title') %>">
- <%= image_tag "openid_logo.png", :alt => t('user.login.openid_providers.openid.title') %>
- </a>
- <a href="javascript: openid_signin('yahoo');" title="<%= h(t 'user.login.openid_providers.yahoo.title') %>">
- <%= image_tag "yahoo.png", :alt => t('user.login.openid_providers.yahoo.alt') %>
- </a>
- <a href="javascript: openid_signin('google');" title="<%= h(t 'user.login.openid_providers.google.title') %>">
- <%= image_tag "google.png", :alt => t('user.login.openid_providers.google.alt') %>
- </a><b>
- <a href="javascript: openid_signin('myopenid');" title="<%= h(t 'user.login.openid_providers.myopenid.title') %>">
- <%= image_tag "myopenid.png", :alt => t('user.login.openid_providers.myopenid.alt') %>
- </a>
- <a href="javascript: openid_signin('wordpress');" title="<%= h(t 'user.login.openid_providers.wordpress.title') %>">
- <%= image_tag "wordpress.png", :alt => t('user.login.openid_providers.wordpress.alt') %>
- </a>
- <a href="javascript: openid_signin('myspace');" title="<%= h(t 'user.login.openid_providers.myspace.title') %>">
- <%= image_tag "myspace.png", :alt => t('user.login.openid_providers.myspace.alt') %>
- </a><b>
+ <p class='standard-label'><%= t '.with external' %></p>
+
+ <ul class='clearfix' id="login_auth_buttons">
+ <li><%= link_to image_tag("openid.png", :alt => t(".auth_providers.openid.title")), "#", :id => "openid_open_url", :title => t(".auth_providers.openid.title") %></li>
+ <% if defined?(GOOGLE_AUTH_ID) -%>
+ <li><%= auth_button "google", "google" %></li>
+ <% end -%>
+ <% if defined?(FACEBOOK_AUTH_ID) -%>
+ <li><%= auth_button "facebook", "facebook" %></li>
+ <% end -%>
+ <% if defined?(WINDOWSLIVE_AUTH_ID) -%>
+ <li><%= auth_button "windowslive", "windowslive" %></li>
+ <% end -%>
+ <% if defined?(GITHUB_AUTH_ID) -%>
+ <li><%= auth_button "github", "github" %></li>
+ <% end -%>
+ <% if defined?(WIKIPEDIA_AUTH_ID) -%>
+ <li><%= auth_button "wikipedia", "wikipedia" %></li>
+ <% end -%>
+ <li><%= auth_button "yahoo", "openid", :openid_url => "yahoo.com" %></li>
+ <li><%= auth_button "wordpress", "openid", :openid_url => "wordpress.com" %></li>
+ <li><%= auth_button "aol", "openid", :openid_url => "aol.com" %></li>
+ </ul>
+
+ <div id='login_openid_url' class='form-row'>
+ <label for='openid_url' class="standard-label"><%= raw t '.openid', :logo => openid_logo %></label>
+ <%= text_field_tag("openid_url", "", { :tabindex => 3, :class => "openid_url" }) %>
+ <span class="minorNote">(<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)</span>