Embedding field

This commit is contained in:
Savetheinternet
2011-05-18 17:05:48 +10:00
parent 88a48c10d5
commit 797fd8ad13
8 changed files with 136 additions and 73 deletions

View File

@@ -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>

View File

@@ -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 ;

View File

@@ -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>