fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-10-13 03:27 am

[dw-free] members list page only allows usernames up to 25 characters - too small for OpenID account

[commit: http://hg.dwscoalition.org/dw-free/rev/069e4004c565]

http://bugs.dwscoalition.org/show_bug.cgi?id=3023

Increase maxlength for the sake of openids.

Patch by [staff profile] denise.

Files modified:
  • htdocs/community/members.bml
--------------------------------------------------------------------------------
diff -r 5f5def4a5a6b -r 069e4004c565 htdocs/community/members.bml
--- a/htdocs/community/members.bml	Wed Oct 13 11:02:03 2010 +0800
+++ b/htdocs/community/members.bml	Wed Oct 13 11:26:44 2010 +0800
@@ -520,7 +520,7 @@ body<=
     if ($items{'pages'} > 1) {
         $ret .= "<div style='margin-left: 30px;'>$ML{'.jump'}: ";
         $ret .= LJ::html_text({ 'name' => 'jumpto', 'value' => $POST{'jumpto'},
-                                'class' => 'text', 'size' => '10', 'maxlength' => '25' }) . " ";
+                                'class' => 'text', 'size' => '10', 'maxlength' => '75' }) . " ";
         $ret .= LJ::html_submit(undef, 'Go') . "</div>";
 
         $ret .= $navbar;
@@ -555,7 +555,7 @@ body<=
         foreach(1..5) {
             my $rstyle = ($rc++ & 1) ? "altrow2" : "altrow1";
             $ret .= "<tr class='$rstyle'><td>";
-            $ret .= LJ::html_text({ 'name' => "add_$_", 'size' => '10', 'class' => 'text', 'maxlength' => '25' }) . "</td>";
+            $ret .= LJ::html_text({ 'name' => "add_$_", 'size' => '10', 'class' => 'text', 'maxlength' => '75' }) . "</td>";
             foreach my $key (@attribs) {
                 $ret .= "<td style='text-align: center;'>";
                 if ($key eq 'member' || $key eq 'post') {
--------------------------------------------------------------------------------