summaryrefslogtreecommitdiff
path: root/templates/themes/faq/info.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/themes/faq/info.php')
-rw-r--r--templates/themes/faq/info.php27
1 files changed, 6 insertions, 21 deletions
diff --git a/templates/themes/faq/info.php b/templates/themes/faq/info.php
index c81d52ab..019eff88 100644
--- a/templates/themes/faq/info.php
+++ b/templates/themes/faq/info.php
@@ -1,35 +1,20 @@
<?php
- $theme = Array();
+ $theme = [];
// Theme name
- $theme['name'] = 'FAQ';
+ $theme['name'] = \FAQ::class;
// 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'] = [];
- $theme['config'][] = Array(
- 'title' => 'Site title',
- 'name' => 'title',
- 'type' => 'text'
- );
+ $theme['config'][] = ['title' => 'Site title', 'name' => 'title', 'type' => 'text'];
- $theme['config'][] = Array(
- 'title' => 'Slogan',
- 'name' => 'subtitle',
- 'type' => 'text',
- 'comment' => '(optional)'
- );
+ $theme['config'][] = ['title' => 'Slogan', 'name' => 'subtitle', 'type' => 'text', 'comment' => '(optional)'];
- $theme['config'][] = Array(
- 'title' => 'File',
- 'name' => 'file',
- 'type' => 'text',
- 'default' => "faq.html",
- 'comment' => '(eg. "faq.html")'
- );
+ $theme['config'][] = ['title' => 'File', 'name' => 'file', 'type' => 'text', 'default' => "faq.html", 'comment' => '(eg. "faq.html")'];
// Unique function name for building everything