summaryrefslogtreecommitdiff
path: root/templates/themes/frameset/info.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-02-14 21:02:06 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-02-14 21:02:06 +1100
commitcdfd67c87a6177101f920acbdd33b94d00a13fda (patch)
tree531d236500dc37b939d9a559c61f46318156469d /templates/themes/frameset/info.php
parentbac326a3652fbc98b78db62fc29fc4b7691bbe48 (diff)
frameset theme: transition to twig, plus more configurable
Diffstat (limited to 'templates/themes/frameset/info.php')
-rw-r--r--templates/themes/frameset/info.php35
1 files changed, 30 insertions, 5 deletions
diff --git a/templates/themes/frameset/info.php b/templates/themes/frameset/info.php
index ad42fc91..8cff78a9 100644
--- a/templates/themes/frameset/info.php
+++ b/templates/themes/frameset/info.php
@@ -2,19 +2,19 @@
$theme = Array();
// Theme name
- $theme['name'] = 'Frameset (alpha)';
+ $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.0.1';
+ $theme['version'] = 'v0.1';
// Theme configuration
$theme['config'] = Array();
$theme['config'][] = Array(
- 'title' => 'Title',
+ 'title' => 'Site title',
'name' => 'title',
'type' => 'text'
);
@@ -22,9 +22,34 @@ Users never have to leave the homepage; they can do all their browsing from the
$theme['config'][] = Array(
'title' => 'Slogan',
'name' => 'subtitle',
- 'type' => 'text'
+ 'type' => 'text',
+ 'comment' => '(optional)'
+ );
+
+ $theme['config'][] = Array(
+ 'title' => 'Main HTML file',
+ 'name' => 'file_main',
+ 'type' => 'text',
+ 'default' => $config['file_index'],
+ 'comment' => '(eg. "index.html")'
+ );
+
+ $theme['config'][] = Array(
+ 'title' => 'Sidebar file',
+ 'name' => 'file_sidebar',
+ 'type' => 'text',
+ 'default' => 'sidebar.html',
+ 'comment' => '(eg. "sidebar.html")'
+ );
+
+ $theme['config'][] = Array(
+ 'title' => 'News file',
+ 'name' => 'file_news',
+ 'type' => 'text',
+ 'default' => 'news.html',
+ 'comment' => '(eg. "news.html")'
);
// Unique function name for building everything
$theme['build_function'] = 'frameset_build';
-?> \ No newline at end of file
+?>