Add enable per board feature and only include new threads feature for RSS theme / extension

This commit is contained in:
Benjamin Southall 2016-10-08 00:48:55 +09:00
parent e5aa42860d
commit bb34304614
3 changed files with 84 additions and 66 deletions

View file

@ -48,6 +48,20 @@
'comment' => '(eg. "http://test.com")'
);
$theme['config'][] = Array(
'title' => 'Show Threads Only',
'name' => 'show_threads_only',
'type' => 'text',
'default' => 'false',
);
$theme['config'][] = Array(
'title' => 'Enable Per Board',
'name' => 'enable_per_board',
'type' => 'text',
'default' => 'false',
);
// Unique function name for building everything
$theme['build_function'] = 'rss_recentposts_build';
$theme['install_callback'] = 'rss_recentposts_install';