[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
denise.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3023
Increase maxlength for the sake of openids.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
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') { --------------------------------------------------------------------------------