From: joey Date: Mon, 30 Apr 2007 03:49:35 +0000 (+0000) Subject: actually, let's not use a fieldset label at all here, and use the X-Git-Tag: 2.00~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b07bba87bf48a5a17ce70ca3552501e8677842bf;p=ikiwiki.git actually, let's not use a fieldset label at all here, and use the "login with openid" as the input field label --- 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} ? " | ".gettext("Get an OpenID")."" : "") );