summaryrefslogtreecommitdiff
path: root/templates/themes/recent/info.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/themes/recent/info.php')
-rw-r--r--templates/themes/recent/info.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/themes/recent/info.php b/templates/themes/recent/info.php
new file mode 100644
index 00000000..734908c4
--- /dev/null
+++ b/templates/themes/recent/info.php
@@ -0,0 +1,28 @@
+<?php
+ $theme = Array();
+
+ // Theme name
+ $theme['name'] = 'RecentPosts';
+ // Description (you can use Tinyboard markup here)
+ $theme['description'] = 'Show recent posts and images, like 4chan.';
+ $theme['version'] = 'v0.9';
+
+ // Theme configuration
+ $theme['config'] = Array();
+
+ $theme['config'][] = Array(
+ 'title' => 'Title',
+ 'name' => 'title',
+ 'type' => 'text'
+ );
+
+ $theme['config'][] = Array(
+ 'title' => 'Excluded boards',
+ 'name' => 'exclude',
+ 'type' => 'text',
+ 'comment' => '(space seperated)'
+ );
+
+ // Unique function name for building everything
+ $theme['build_function'] = 'recentposts_build';
+?> \ No newline at end of file