'Title', 'name' => 'title', 'type' => 'text', 'default' => 'Catalog' ); $__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' => 'Update on new posts', 'name' => 'update_on_posts', 'type' => 'checkbox', 'default' => false, 'comment' => 'Without this checked, the catalog only updates on new threads.' ); $theme['config'][] = Array( 'title' => 'Enable Ukko catalog', 'name' => 'enable_ukko', 'type' => 'checkbox', 'default' => false, 'comment' => 'Enable catalog for the Ukko theme. This requires the Ukko theme to be enabled.' ); $theme['config'][] = Array( 'title' => 'Enable Ukko2 catalog', 'name' => 'enable_ukko2', 'type' => 'checkbox', 'default' => false, 'comment' => 'Enable catalog for the Ukko2 theme. This requires the Ukko2 theme to be enabled.' ); $theme['config'][] = Array( 'title' => 'Enable Ukko3 catalog', 'name' => 'enable_ukko3', 'type' => 'checkbox', 'default' => false, 'comment' => 'Enable catalog for the Ukko theme. This requires the Ukko3 theme to be enabled.' ); $theme['config'][] = Array( 'title' => 'Enable Ukko4 catalog', 'name' => 'enable_ukko4', 'type' => 'checkbox', 'default' => false, 'comment' => 'Enable catalog for the Ukko theme. This requires the Ukko4 theme to be enabled.' ); $theme['config'][] = Array( 'title' => 'Enable Rand catalog', 'name' => 'enable_rand', 'type' => 'checkbox', 'default' => false, 'comment' => 'Enable catalog for the Rand theme. This requires the Rand theme to be enabled.' ); $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.' ); $theme['config'][] = Array( 'title' => 'Build overboard catalogs', 'name' => 'has_overboard', 'type' => 'checkbox', 'default' => false, 'comment' => 'Check this if you wish to create a catalog for the overboard. Requires Overboards theme.' ); $theme['config'][] = Array( 'title' => 'Max posts in catalog overboard', 'name' => 'overboard_limit', 'type' => 'text', 'default' => '350', 'comment' => 'The maximum number of thread that will appear in the overboard catalog' ); // Unique function name for building everything $theme['build_function'] = 'catalog_build';