summaryrefslogtreecommitdiff
path: root/templates/themes/sitemap/info.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-08-28 18:30:01 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-28 18:30:01 +1000
commitf8f375ec302e0fb8de334d0d6c2ffc85d35ebb1a (patch)
tree42e3b7d7c12927c7332ec8ca98d955bafbaff71a /templates/themes/sitemap/info.php
parent5aaa6887f647a2d16b5db995c434cea4ce98538d (diff)
Sitemap theme: Minimum time between generating, and only generate on post-thread and post-delete
Diffstat (limited to 'templates/themes/sitemap/info.php')
-rw-r--r--templates/themes/sitemap/info.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/themes/sitemap/info.php b/templates/themes/sitemap/info.php
index 43b529fa..0ea2ba9d 100644
--- a/templates/themes/sitemap/info.php
+++ b/templates/themes/sitemap/info.php
@@ -35,6 +35,15 @@
'default' => 'hourly',
'size' => '20'
);
+
+ $theme['config'][] = Array(
+ 'title' => 'Minimum time between regenerating',
+ 'name' => 'regen_time',
+ 'type' => 'text',
+ 'comment' => '(in seconds)',
+ 'default' => '0',
+ 'size' => '8'
+ );
$__boards = listBoards();
$__default_boards = Array();