diff options
author | Brion Vibber <brion@pobox.com> | 2010-04-23 14:26:57 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-04-23 14:26:57 -0700 |
commit | dd7b95c2cffe7e33f32d841ed8950e09b44b853d (patch) | |
tree | c03b3030ebdc271a3ba8806708a1866b22e7573d /plugins/OpenID/openid.php | |
parent | 61098faf5dd2685ea00c110bb4a3c871da17a300 (diff) | |
parent | 9c8052e755e5ad4c8120ace9acdd75ee910e2ab7 (diff) |
Merge branch 'master' into testing
Diffstat (limited to 'plugins/OpenID/openid.php')
-rw-r--r-- | plugins/OpenID/openid.php | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/plugins/OpenID/openid.php b/plugins/OpenID/openid.php index 152438917..4ec336e1c 100644 --- a/plugins/OpenID/openid.php +++ b/plugins/OpenID/openid.php @@ -299,11 +299,21 @@ class AutosubmitAction extends Action function title() { - return _m('OpenID Auto-Submit'); + return _m('OpenID Login Submission'); } function showContent() { + $this->raw('<p style="margin: 20px 80px">'); + // @fixme this would be better using standard CSS class, but the present theme's a bit scary. + $this->element('img', array('src' => Theme::path('images/icons/icon_processing.gif', 'base'), + // for some reason the base CSS sets <img>s as block display?! + 'style' => 'display: inline')); + $this->text(_m('Requesting authorization from your login provider...')); + $this->raw('</p>'); + $this->raw('<p style="margin-top: 60px; font-style: italic">'); + $this->text(_m('If you are not redirected to your login provider in a few seconds, try pushing the button below.')); + $this->raw('</p>'); $this->raw($this->form_html); } @@ -311,8 +321,6 @@ class AutosubmitAction extends Action { parent::showScripts(); $this->element('script', null, - '$(document).ready(function() { ' . - ' $(\'#'. $this->form_id .'\').submit(); '. - '});'); + 'document.getElementById(\'' . $this->form_id . '\').submit();'); } } |