forked from leftypol/leftypol
Added FAQ theme
This commit is contained in:
parent
f91739389f
commit
307af0246b
4 changed files with 187 additions and 0 deletions
36
templates/themes/faq/info.php
Normal file
36
templates/themes/faq/info.php
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?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';
|
Loading…
Add table
Add a link
Reference in a new issue