37 lines
752 B
PHP
37 lines
752 B
PHP
|
<?php
|
||
|
$theme = Array();
|
||
|
|
||
|
// Theme name
|
||
|
$theme['name'] = 'FAQ';
|
||
|
// Description (you can use Tinyboard markup here)
|
||
|
$theme['description'] = 'FAQ because Lainons have questions';
|
||
|
$theme['version'] = 'v0.0.1';
|
||
|
|
||
|
// Theme configuration
|
||
|
$theme['config'] = Array();
|
||
|
|
||
|
$theme['config'][] = Array(
|
||
|
'title' => 'Site title',
|
||
|
'name' => 'title',
|
||
|
'type' => 'text'
|
||
|
);
|
||
|
|
||
|
$theme['config'][] = Array(
|
||
|
'title' => 'Slogan',
|
||
|
'name' => 'subtitle',
|
||
|
'type' => 'text',
|
||
|
'comment' => '(optional)'
|
||
|
);
|
||
|
|
||
|
$theme['config'][] = Array(
|
||
|
'title' => 'File',
|
||
|
'name' => 'file',
|
||
|
'type' => 'text',
|
||
|
'default' => "faq.html",
|
||
|
'comment' => '(eg. "faq.html")'
|
||
|
);
|
||
|
|
||
|
|
||
|
// Unique function name for building everything
|
||
|
$theme['build_function'] = 'faq_build';
|