From fc1f1ef3150ce52ec850c4941570fa6b130b8124 Mon Sep 17 00:00:00 2001 From: sinuca <55vitaminado@gmail.com> Date: Sun, 16 Mar 2014 23:21:01 -0300 Subject: "Favelog" theme added. Just a catalog with ordering functionality --- templates/themes/favelog/info.php | 58 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 templates/themes/favelog/info.php (limited to 'templates/themes/favelog/info.php') diff --git a/templates/themes/favelog/info.php b/templates/themes/favelog/info.php new file mode 100644 index 00000000..5e339930 --- /dev/null +++ b/templates/themes/favelog/info.php @@ -0,0 +1,58 @@ + 'Title', + 'name' => 'title', + 'type' => 'text', + 'default' => 'Favelog' + ); + + $__boards = listBoards(); + $__default_boards = Array(); + foreach ($__boards as $__board) + $__default_boards[] = $__board['uri']; + + $theme['config'][] = Array( + 'title' => 'Included boards', + 'name' => 'boards', + 'type' => 'text', + 'comment' => '(space seperated)', + 'default' => implode(' ', $__default_boards) + ); + + $theme['config'][] = Array( + 'title' => 'CSS file', + 'name' => 'css', + 'type' => 'text', + 'default' => 'catalog.css', + 'comment' => '(eg. "catalog.css")' + ); + + $theme['config'][] = Array( + 'title' => 'Update on new posts', + 'name' => 'update_on_posts', + 'type' => 'checkbox', + 'default' => true, + 'comment' => 'Without this checked, the catalog only updates on new threads.' + ); + + $theme['config'][] = Array( + 'title' => 'Use tooltipster', + 'name' => 'use_tooltipster', + 'type' => 'checkbox', + 'default' => true, + 'comment' => 'Check this if you wish to show a nice tooltip with info about the thread on mouse over. Texts only available in PT-br.' + ); + + // Unique function name for building everything + $theme['build_function'] = 'favelog_build'; -- cgit v1.3