mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-15 00:51:18 +01:00
34 lines
827 B
PHP
34 lines
827 B
PHP
|
<?php
|
||
|
$theme = Array();
|
||
|
|
||
|
// Theme name
|
||
|
$theme['name'] = 'Public Banlist';
|
||
|
// Description (you can use Tinyboard markup here)
|
||
|
$theme['description'] =
|
||
|
'Shows a public list of bans, that were issued on all boards. Basically, this theme
|
||
|
copies the banlist interface from moderation panel.';
|
||
|
$theme['version'] = 'v0.1';
|
||
|
|
||
|
// Theme configuration
|
||
|
$theme['config'] = Array();
|
||
|
|
||
|
$theme['config'][] = Array(
|
||
|
'title' => 'JSON feed file',
|
||
|
'name' => 'file_json',
|
||
|
'type' => 'text',
|
||
|
'default' => 'bans.json',
|
||
|
'comment' => '(eg. "bans.json")'
|
||
|
);
|
||
|
|
||
|
$theme['config'][] = Array(
|
||
|
'title' => 'Main HTML file',
|
||
|
'name' => 'file_bans',
|
||
|
'type' => 'text',
|
||
|
'default' => 'bans.html',
|
||
|
'comment' => '(eg. "bans.html")'
|
||
|
);
|
||
|
|
||
|
// Unique function name for building everything
|
||
|
$theme['build_function'] = 'pbanlist_build';
|
||
|
?>
|