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
6
post.php
6
post.php
|
@ -677,7 +677,11 @@ if (isset($_POST['delete'])) {
|
|||
_syslog(LOG_INFO, 'New post: /' . $board['dir'] . $config['dir']['res'] .
|
||||
sprintf($config['file_page'], $post['op'] ? $id : $post['thread']) . (!$post['op'] ? '#' . $id : ''));
|
||||
|
||||
rebuildThemes('post');
|
||||
if ($post['op'])
|
||||
rebuildThemes('post-thread', $board['uri']);
|
||||
else
|
||||
rebuildThemes('post', $board['uri']);
|
||||
|
||||
header('Location: ' . $redirect, true, $config['redirect_http']);
|
||||
} else {
|
||||
if (!file_exists($config['has_installed'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue