summaryrefslogtreecommitdiff
path: root/templates/themes/public_banlist/info.php
blob: 6f928d9ae2753d48e2f8abf8869ac2bad2c80165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
	$theme = [];
	
	// 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'] = [];
	
	$theme['config'][] = ['title' => 'JSON feed file', 'name' => 'file_json', 'type' => 'text', 'default' => 'bans.json', 'comment' => '(eg. "bans.json")'];
	
	$theme['config'][] = ['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';
?>