increased subject max length to 100 characters

This commit is contained in:
Savetheinternet 2011-08-27 12:11:34 +10:00
parent 881ea10162
commit aa02cffb93
6 changed files with 12 additions and 6 deletions

View file

@ -60,7 +60,7 @@
Subject
</th>
<td>
<input style="float:left;" type="text" name="subject" size="25" maxlength="40" autocomplete="off" />
<input style="float:left;" type="text" name="subject" size="25" maxlength="100" autocomplete="off" />
<input accesskey="s" style="margin-left:2px" type="submit" name="post" value="{config[button_newtopic]=New Topic}" />
</td>
</tr>

View file

@ -1,7 +1,7 @@
CREATE TABLE IF NOT EXISTS `posts_{board}` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`thread` int(11) DEFAULT NULL,
`subject` varchar(50) NOT NULL,
`subject` varchar(100) NOT NULL,
`email` varchar(30) NOT NULL,
`name` varchar(35) NOT NULL,
`trip` varchar(15) DEFAULT NULL,

View file

@ -59,7 +59,7 @@
Subject
</th>
<td>
<input style="float:left;" type="text" name="subject" size="25" maxlength="40" autocomplete="off" />
<input style="float:left;" type="text" name="subject" size="25" maxlength="100" autocomplete="off" />
<input accesskey="s" style="margin-left:2px" type="submit" name="post" value="{config[button_reply]=New Reply}" />
</td>
</tr>