summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html10
-rw-r--r--templates/posts.sql1
-rw-r--r--templates/thread.html10
3 files changed, 21 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
index 7ba56828..185066bb 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -64,6 +64,16 @@
<input type="file" name="file"/>
</td>
</tr>
+ {config[enable_enbedding]?
+ <tr>
+ <th>
+ Embed
+ </th>
+ <td>
+ <input type="text" name="embed" size="30" maxlength="80" autocomplete="off" />
+ </td>
+ </tr>
+ }
{mod?
<tr>
<th>
diff --git a/templates/posts.sql b/templates/posts.sql
index f46710cf..7aec0612 100644
--- a/templates/posts.sql
+++ b/templates/posts.sql
@@ -22,5 +22,6 @@ CREATE TABLE IF NOT EXISTS `posts_{board}` (
`ip` varchar(45) NOT NULL,
`sticky` int(1) NOT NULL,
`locked` int(1) NOT NULL,
+ `embed` text,
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; \ No newline at end of file
diff --git a/templates/thread.html b/templates/thread.html
index 28130dd4..e07fee89 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -63,6 +63,16 @@
<input type="file" name="file"/>
</td>
</tr>
+ {config[enable_enbedding]?
+ <tr>
+ <th>
+ Embed
+ </th>
+ <td>
+ <input type="text" name="embed" size="30" maxlength="80" autocomplete="off" />
+ </td>
+ </tr>
+ }
{mod?
<tr>
<th>