From b07bba87bf48a5a17ce70ca3552501e8677842bf Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 30 Apr 2007 03:49:35 +0000 Subject: actually, let's not use a fieldset label at all here, and use the "login with openid" as the input field label --- IkiWiki/Plugin/openid.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'IkiWiki/Plugin/openid.pm') 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")."" : "") ); -- cgit v1.2.3