pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
Res facta quae tamen fingi potuit ([personal profile] pauamma) wrote in [site community profile] changelog2009-03-09 10:29 pm

[dw-free] Reduce maxlength of text field for feed account creation

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

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

Lower max length of syn account name to 25 to make up for the _feed suffix.

Patch by [personal profile] rho.

Files modified:
  • htdocs/syn/index.bml
--------------------------------------------------------------------------------
diff -r 7cdc92ff1cb9 -r dc7eeebc4d67 htdocs/syn/index.bml
--- a/htdocs/syn/index.bml	Mon Mar 09 21:54:00 2009 +0000
+++ b/htdocs/syn/index.bml	Mon Mar 09 22:29:31 2009 +0000
@@ -70,7 +70,7 @@ body<=
                     $ret .= "<form method='post' action='./'>";
                     $ret .= LJ::html_hidden("userid", $u->{'userid'}, 'synurl', $url);
                     $ret .= "<blockquote>";
-                    $ret .= "<p>$ML{'.account'} <input size='15' maxlength='25' name='acct' />";
+                    $ret .= "<p>$ML{'.account'} <input size='15' maxlength='20' name='acct' />";
                     $ret .= "<p><input name='action:addcustom' type='submit' value='" . LJ::ehtml($ML{'.create'}) . "' />";
                     $ret .= "</blockquote></form>";
                     return $ret;
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org