]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Use a fieldset to set off the openid entry from the rest of the login
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 29 Apr 2007 22:16:15 +0000 (22:16 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 29 Apr 2007 22:16:15 +0000 (22:16 +0000)
  form.

IkiWiki/Plugin/openid.pm
debian/changelog
doc/bugs/login_page_non-obvious_with_openid.mdwn

index 8bf3f63fd3048e568ad572ac59e613860937d077..9728acd48437d2b3b3454c526aea4543b06d3bbb 100644 (file)
@@ -30,12 +30,10 @@ sub formbuilder_setup (@) { #{{{
        if ($form->title eq "signin") {
                $form->field(
                        name => "openid_url",
-                       label => "OpenID",
+                       label => "",
+                       fieldset => gettext("Log in with")." ".htmllink("", "", "OpenID", noimageinline => 1),
                        size => 30,
-                       comment => '('.
-                               htmllink("", "", "OpenID", noimageinline => 1, linktext => gettext("What's this?"))
-                               .($config{openidsignup} ? " | <a href=\"$config{openidsignup}\">".gettext("Get an OpenID")."</a>" : "")
-                               .')'
+                       comment => ($config{openidsignup} ? "(<a href=\"$config{openidsignup}\">".gettext("Get an OpenID")."</a>)" : "")
                );
 
                # Handle submission of an OpenID as validation.
index 6ca389cf9e9dd8c6517a02cdeeabfd09ebbd27d0..37e7e28b0233332105616b4a51d95151e5980576 100644 (file)
@@ -7,8 +7,10 @@ ikiwiki (1.52) UNRELEASED; urgency=low
   [ Joey Hess ]
   * Use fieldsets in the preferences form to group related options together.
     Especially cleans up the ordering of the admin's preferences form.
+  * Use a fieldset to set off the openid entry from the rest of the login
+    form.
 
- -- Joey Hess <joeyh@debian.org>  Sun, 29 Apr 2007 18:28:35 -0400
+ -- Joey Hess <joeyh@debian.org>  Sun, 29 Apr 2007 18:47:00 -0400
 
 ikiwiki (1.51) unstable; urgency=low
 
index b2da1e423c13fcc36d66c70ad7f31d2539e6e938..5cffde7f46c940d4794e7b503e9ea04b5cba47f2 100644 (file)
@@ -40,3 +40,6 @@ If you want to keep it as one form, then perhaps using some javascript to disabl
 > is displayed instead of the regular signin form, and it should be
 > possible to use that to manually lay it out better than FormBuilder
 > manages with its automatic layout. --[[Joey]]
+
+> I've improved the form, I think it's more obvious now that the openid
+> stuff is separate. Good enough to call this [[done]]. I think. --[[Joey]]