summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/homepage/basic/info.php27
-rw-r--r--templates/homepage/frameset/info.php30
2 files changed, 57 insertions, 0 deletions
diff --git a/templates/homepage/basic/info.php b/templates/homepage/basic/info.php
new file mode 100644
index 00000000..bd856655
--- /dev/null
+++ b/templates/homepage/basic/info.php
@@ -0,0 +1,27 @@
+<?php
+ $theme = Array();
+
+ // Theme name
+ $theme['name'] = 'Basic';
+ // Description (you can use Tinyboard markup here)
+ $theme['description'] = 'Extremely basic news listing for the homepage. It\'s suggested that you enable boardlinks for this theme.';
+ $theme['version'] = 'v0.9';
+
+ // Theme configuration
+ $theme['config'] = Array();
+
+ $theme['config'][] = Array(
+ 'title' => 'Title',
+ 'name' => 'title',
+ 'type' => 'text'
+ );
+
+ $theme['config'][] = Array(
+ 'title' => 'Slogan',
+ 'name' => 'subtitle',
+ 'type' => 'text'
+ );
+
+ // Unique function name for building everything
+ $theme['build_function'] = 'basic_build';
+?> \ No newline at end of file
diff --git a/templates/homepage/frameset/info.php b/templates/homepage/frameset/info.php
new file mode 100644
index 00000000..8b607af0
--- /dev/null
+++ b/templates/homepage/frameset/info.php
@@ -0,0 +1,30 @@
+<?php
+ $theme = Array();
+
+ // Theme name
+ $theme['name'] = 'Frameset';
+ // Description (you can use Tinyboard markup here)
+ $theme['description'] =
+'Use a basic frameset layout, with a list of boards and pages on a sidebar to the left of the page.
+
+Users never have to leave the homepage; they can do all their browsing from the one page.';
+ $theme['version'] = 'v0.1';
+
+ // Theme configuration
+ $theme['config'] = Array();
+
+ $theme['config'][] = Array(
+ 'title' => 'Title',
+ 'name' => 'title',
+ 'type' => 'text'
+ );
+
+ $theme['config'][] = Array(
+ 'title' => 'Slogan',
+ 'name' => 'subtitle',
+ 'type' => 'text'
+ );
+
+ // Unique function name for building everything
+ $theme['build_function'] = 'frameset_build';
+?> \ No newline at end of file