From 797fd8ad131e909d4dcc436e6bfa73921d8ea1dd Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Wed, 18 May 2011 17:05:48 +1000 Subject: Embedding field --- templates/index.html | 10 ++++++++++ templates/posts.sql | 1 + templates/thread.html | 10 ++++++++++ 3 files changed, 21 insertions(+) (limited to 'templates') 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 @@ + {config[enable_enbedding]? + + + Embed + + + + + + } {mod? 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 @@ + {config[enable_enbedding]? + + + Embed + + + + + + } {mod? -- cgit v1.3