From 2adf7d99db1ef22ef37e517e64f511495e6c83c4 Mon Sep 17 00:00:00 2001 From: czaks Date: Wed, 30 Apr 2014 00:13:04 +0200 Subject: integrate favelog into catalog theme; needs more work, code cleanup etc. --- templates/themes/favelog/info.php | 58 --------------------------------------- 1 file changed, 58 deletions(-) delete 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 deleted file mode 100644 index 5e339930..00000000 --- a/templates/themes/favelog/info.php +++ /dev/null @@ -1,58 +0,0 @@ - '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