diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-04-30 03:49:35 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-04-30 03:49:35 +0000 |
commit | b07bba87bf48a5a17ce70ca3552501e8677842bf (patch) | |
tree | 945c6f783adaed33d0d3e4ab800f6839029a03e7 /IkiWiki/Plugin/openid.pm | |
parent | 007dd1648be59af224f603f3912f085f43365c83 (diff) | |
download | ikiwiki-b07bba87bf48a5a17ce70ca3552501e8677842bf.tar ikiwiki-b07bba87bf48a5a17ce70ca3552501e8677842bf.tar.gz |
actually, let's not use a fieldset label at all here, and use the
"login with openid" as the input field label
Diffstat (limited to 'IkiWiki/Plugin/openid.pm')
-rw-r--r-- | IkiWiki/Plugin/openid.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/openid.pm b/IkiWiki/Plugin/openid.pm index a24ee7519..fcd53ee71 100644 --- a/IkiWiki/Plugin/openid.pm +++ b/IkiWiki/Plugin/openid.pm @@ -28,10 +28,14 @@ sub formbuilder_setup (@) { #{{{ my $cgi=$params{cgi}; if ($form->title eq "signin") { + # This avoids it displaying a redundant label for the + # OpenID fieldset. + $form->fieldsets("OpenID"); + $form->field( name => "openid_url", - label => "OpenID", - fieldset => gettext("Log in with")." ".htmllink("", "", "OpenID", noimageinline => 1), + label => gettext("Log in with")." ".htmllink("", "", "OpenID", noimageinline => 1), + fieldset => "OpenID", size => 30, comment => ($config{openidsignup} ? " | <a href=\"$config{openidsignup}\">".gettext("Get an OpenID")."</a>" : "") ); |