forked from leftypol/leftypol
Themes edit: Split "post" into two seperate actions: "post" (replies) and "post-thread". And add a $board variable.
This commit is contained in:
parent
de4b5b3962
commit
e4bd9a6886
9 changed files with 44 additions and 39 deletions
|
@ -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']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue