New "Categories" theme, modifications for support.

This commit is contained in:
Michael D. Reiley
2011-09-20 12:49:07 -07:00
parent d51f6a932e
commit d3fb010a8f
5 changed files with 195 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
$theme = Array();
// Theme name
$theme['name'] = 'Categories';
// Description (you can use Tinyboard markup here)
$theme['description'] =
'Group-ordered, category-aware modification of the Frameset theme.
Requires $config[\'boards\'] and $config[\'categories\'].';
$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'] = 'categories_build';
?>