diff options
| author | czaks <marcin@6irc.net> | 2013-07-18 15:19:03 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-07-18 15:19:03 -0400 |
| commit | fa66b96240e9fdf7b179e604833d1c59702f9c39 (patch) | |
| tree | c7640caebe4294b1bd0eff54ce418fe0a251104c /templates/themes/sitemap/theme.php | |
| parent | 8c72c8a43232f137256fa170c889ba330ebba7af (diff) | |
| parent | e4bd9a6886af2a812ccc909d8ad957df1bdc5d2b (diff) | |
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
post.php
Diffstat (limited to 'templates/themes/sitemap/theme.php')
| -rw-r--r-- | templates/themes/sitemap/theme.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/themes/sitemap/theme.php b/templates/themes/sitemap/theme.php index 372d292d..e210316b 100644 --- a/templates/themes/sitemap/theme.php +++ b/templates/themes/sitemap/theme.php @@ -1,7 +1,7 @@ <?php require 'info.php'; - function sitemap_build($action, $settings) { + function sitemap_build($action, $settings, $board) { global $config; // Possible values for $action: @@ -9,6 +9,10 @@ // - news (news has been updated) // - boards (board list changed) // - post (a post has been made) + // - thread (a thread has been made) + + if ($action != 'post' && $action != 'post-thread') + return; $boards = explode(' ', $settings['boards']); |
