mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-27 08:50:59 +01:00
31 lines
665 B
PHP
31 lines
665 B
PHP
|
<?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';
|
||
|
?>
|