From 6c9bbdb56174f106ceeebab9a4b6f0ee452ee17f Mon Sep 17 00:00:00 2001 From: sarven Date: Fri, 23 Jan 2009 08:52:04 +0000 Subject: [PATCH] openid markup and style --- actions/openidlogin.php | 13 ++++++++++++- theme/base/css/display.css | 6 ++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/actions/openidlogin.php b/actions/openidlogin.php index ec5361c8b4..7a267a2bdc 100644 --- a/actions/openidlogin.php +++ b/actions/openidlogin.php @@ -90,16 +90,27 @@ class OpenidloginAction extends Action function showContent() { $formaction = common_local_url('openidlogin'); $this->elementStart('form', array('method' => 'post', - 'id' => 'openidlogin', + 'id' => 'form_openid_login', + 'class' => 'form_settings', 'action' => $formaction)); + $this->elementStart('fieldset'); + $this->element('legend', null, _('OpenID login')); $this->hidden('token', common_session_token()); + + $this->elementStart('ul', 'form_data'); + $this->elementStart('li'); $this->input('openid_url', _('OpenID URL'), $this->openid_url, _('Your OpenID URL')); + $this->elementEnd('li'); + $this->elementStart('li', array('id' => 'settings_rememberme')); $this->checkbox('rememberme', _('Remember me'), false, _('Automatically login in the future; ' . 'not for shared computers!')); + $this->elementEnd('li'); + $this->elementEnd('ul'); $this->submit('submit', _('Login')); + $this->elementEnd('fieldset'); $this->elementEnd('form'); } diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 24f5cc8658..f8dbd79412 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -145,7 +145,8 @@ font-weight:bold; #newgroup legend, #editgroup legend, #form_tag_user legend, -#form_remote_subscribe legend { +#form_remote_subscribe legend, +#form_openid_login legend { display:none; } @@ -173,7 +174,8 @@ width:90%; } #form_login p.form_guide, -#form_register #settings_rememberme p.form_guide { +#form_register #settings_rememberme p.form_guide, +#form_openid_login #settings_rememberme p.form_guide { margin-left:0; } -- 2.39.5