summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-23 08:52:04 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-23 08:52:04 +0000
commit6c9bbdb56174f106ceeebab9a4b6f0ee452ee17f (patch)
tree2455f9b02bc92255a87402c0cf94cd95e2f09563
parent843358be44b9b107441cbc2e35d7794343762fb0 (diff)
openid markup and style
-rw-r--r--actions/openidlogin.php13
-rw-r--r--theme/base/css/display.css6
2 files changed, 16 insertions, 3 deletions
diff --git a/actions/openidlogin.php b/actions/openidlogin.php
index ec5361c8b..7a267a2bd 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 24f5cc865..f8dbd7941 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;
}