summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-08-27 12:11:34 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-08-27 12:11:34 +1000
commitaa02cffb93fecaa871528ab88d25b03c6715fab2 (patch)
treecdcbd27744725b46291f6f529e69c32fd5e5b896 /templates
parent881ea101628ec03a199b87dafd6a560a69e6901e (diff)
increased subject max length to 100 characters
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html2
-rw-r--r--templates/posts.sql2
-rw-r--r--templates/thread.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index 30ca3303..1f917945 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -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>
diff --git a/templates/posts.sql b/templates/posts.sql
index cf8718d2..c3250e51 100644
--- a/templates/posts.sql
+++ b/templates/posts.sql
@@ -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,
diff --git a/templates/thread.html b/templates/thread.html
index adf8579c..4dbe7de3 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -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>