summaryrefslogtreecommitdiff
path: root/templates/themes/catalog/info.php
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-18 16:26:54 +0000
committerctrlcctrlv <wizardchan@hush.com>2013-08-18 16:26:54 +0000
commit80ade5da1fbe903763699ac705387b4952d5eb53 (patch)
treea96281da2221a3598d9c28b7ca46cefa3d795f48 /templates/themes/catalog/info.php
parent946c49ac5aa00a14cf6e8333e0802a719205ccfa (diff)
Add option to update catalog on new posts as well as new threads
Diffstat (limited to 'templates/themes/catalog/info.php')
-rw-r--r--templates/themes/catalog/info.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/themes/catalog/info.php b/templates/themes/catalog/info.php
index 1b9831ae..c68c9e09 100644
--- a/templates/themes/catalog/info.php
+++ b/templates/themes/catalog/info.php
@@ -38,5 +38,13 @@
'comment' => '(eg. "catalog.css")'
);
+ $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.'
+ );
+
// Unique function name for building everything
$theme['build_function'] = 'catalog_build';