• R/O
  • HTTP
  • SSH
  • HTTPS

keitairc: Commit

keitaircメインレポジトリ


Commit MetaInfo

Revisión628ef4a9d3b69c34aa1583793ab3840077e23268 (tree)
Tiempo2011-04-15 14:48:19
AutorISHIKAWA Mutsumi <ishikawa@hanz...>
CommiterISHIKAWA Mutsumi

Log Message

add maxlength to handle privmsg maxlength

Cambiar Resumen

Diferencia incremental

--- a/data/templates/default/all.html
+++ b/data/templates/default/all.html
@@ -13,9 +13,9 @@
1313
1414 <form action="<!-- tmpl_var cid -->" method="post">
1515 <tmpl_if is_mobile>
16- <input type="text" name="m" size="10" />
16+ <input type="text" name="m" size="10" maxlength="165" />
1717 <tmpl_else>
18- <input type="text" name="m" />
18+ <input type="text" name="m" maxlength="165" />
1919 </tmpl_if>
2020 <input type="submit" accesskey="1" value="[1] 発言/更新" />
2121 <input type="hidden" name="stamp" value="<!-- tmpl_var stamp -->" /><br />
--- a/data/templates/default/index.html
+++ b/data/templates/default/index.html
@@ -30,9 +30,9 @@
3030
3131 <form action="index" method="post">
3232 <tmpl_if is_mobile>
33- <input type="text" name="m" size="10" />
33+ <input type="text" name="m" size="10" maxlength="165" />
3434 <tmpl_else>
35- <input type="text" name="m" />
35+ <input type="text" name="m" maxlength="165" />
3636 </tmpl_if>
3737 <input type="hidden" name="stamp" value="<!-- tmpl_var stamp -->" />
3838 <input type="submit" value="コマンド送信" /><br />
--- a/data/templates/default/unread.html
+++ b/data/templates/default/unread.html
@@ -13,9 +13,9 @@
1313
1414 <form action="<!-- tmpl_var cid -->" method="post">
1515 <tmpl_if is_mobile>
16- <input type="text" name="m" size="10" />
16+ <input type="text" name="m" size="10" maxlength="165" />
1717 <tmpl_else>
18- <input type="text" name="m" />
18+ <input type="text" name="m" maxlength="165" />
1919 </tmpl_if>
2020 <input type="submit" accesskey="1" value="[1] 発言/更新" />
2121 <input type="hidden" name="stamp" value="<!-- tmpl_var stamp -->" /><br />
--- a/data/templates/webkit/all.html
+++ b/data/templates/webkit/all.html
@@ -9,7 +9,7 @@
99 </div>
1010
1111 <form action="all/<!-- tmpl_var cid -->" method="post" class="internal_form edit">
12- <input type="text" id="m" name="m" placeholder="発言" />
12+ <input type="text" id="m" name="m" placeholder="発言" maxlength="165" />
1313 <input type="hidden" name="stamp" value="<!-- tmpl_var stamp -->" />
1414 </form>
1515
--- a/data/templates/webkit/index.html
+++ b/data/templates/webkit/index.html
@@ -31,7 +31,7 @@
3131 </div>
3232
3333 <form action="index" method="post" class="internal_form edit bottom">
34- <input type="text" id="m_c" name="m" placeholder="IRCコマンド" autocomplete="on" />
34+ <input type="text" id="m_c" name="m" placeholder="IRCコマンド" autocomplete="on" maxlength="165" />
3535 <input type="hidden" name="stamp" value="<!-- tmpl_var stamp -->" />
3636 </form>
3737
Show on old repository browser