diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-18 12:06:26 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-18 12:06:26 -0400 |
| commit | e4bd9a6886af2a812ccc909d8ad957df1bdc5d2b (patch) | |
| tree | 698630de8be70b1bf50fadef701c13109c1d5083 /templates/themes/sitemap/theme.php | |
| parent | de4b5b396246ee5c3cb8687cfef3647c844a3b54 (diff) | |
Themes edit: Split "post" into two seperate actions: "post" (replies) and "post-thread". And add a $board variable.
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']); |
