diff options
| author | czaks <marcin@6irc.net> | 2014-10-08 23:23:59 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-10-08 23:23:59 +0200 |
| commit | 9b3fa77719642acd13a2ae6f29087dffcb261f4d (patch) | |
| tree | 6ea26048a0f540c29d28041e1191920d5485f346 /templates/themes/public_banlist/info.php | |
| parent | 906764a62f6fbc263d8b1d21957531edb6481e59 (diff) | |
new banlist implementation; also includes a public banlist
Diffstat (limited to 'templates/themes/public_banlist/info.php')
| -rw-r--r-- | templates/themes/public_banlist/info.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/templates/themes/public_banlist/info.php b/templates/themes/public_banlist/info.php new file mode 100644 index 00000000..006ac38e --- /dev/null +++ b/templates/themes/public_banlist/info.php @@ -0,0 +1,33 @@ +<?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'; +?> |
