diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-18 17:05:48 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-18 17:05:48 +1000 |
| commit | 797fd8ad131e909d4dcc436e6bfa73921d8ea1dd (patch) | |
| tree | 4df0b8444831715bf650e632e67c8a2e8cabf938 /templates | |
| parent | 88a48c10d5ac16412ee046837f54a71c6e519a81 (diff) | |
Embedding field
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html | 10 | ||||
| -rw-r--r-- | templates/posts.sql | 1 | ||||
| -rw-r--r-- | templates/thread.html | 10 |
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>
|
