Browse Source

Merge pull request #106 from ctrlcctrlv/master

Per board configuration names were not working
pull/40/head
Michael 11 years ago
parent
commit
b9140f3c07
  1. 4
      inc/config.php
  2. 2
      inc/mod/pages.php

4
inc/config.php

@ -858,8 +858,8 @@
$config['mod']['shadow_mesage'] = 'Moved to %s.'; $config['mod']['shadow_mesage'] = 'Moved to %s.';
// Capcode to use when posting the above message. // Capcode to use when posting the above message.
$config['mod']['shadow_capcode'] = 'Mod'; $config['mod']['shadow_capcode'] = 'Mod';
// Name to use when posting the above message. // Name to use when posting the above message. If false, the default board name will be used. If something else, that will be used.
$config['mod']['shadow_name'] = $config['anonymous']; $config['mod']['shadow_name'] = false;
// Wait indefinitely when rebuilding everything // Wait indefinitely when rebuilding everything
$config['mod']['rebuild_timelimit'] = 0; $config['mod']['rebuild_timelimit'] = 0;

2
inc/mod/pages.php

@ -912,7 +912,7 @@ function mod_move($originBoard, $postID) {
'mod' => true, 'mod' => true,
'subject' => '', 'subject' => '',
'email' => '', 'email' => '',
'name' => $config['mod']['shadow_name'], 'name' => (!$config['mod']['shadow_name'] ? $config['anonymous'] : $config['mod']['shadow_name']),
'capcode' => $config['mod']['shadow_capcode'], 'capcode' => $config['mod']['shadow_capcode'],
'trip' => '', 'trip' => '',
'password' => '', 'password' => '',

Loading…
Cancel
Save