Use template instead of inline HTML for ban messages.

This commit is contained in:
Savetheinternet 2011-11-23 16:12:19 +11:00
parent 7ecebe4616
commit 51cdaaccd1
5 changed files with 99 additions and 73 deletions

View file

@ -28,7 +28,7 @@
unset($debug['start']);
}
$options['body'] .= '<h3>Debug</h3><pre style="white-space: pre-wrap;font-size: 10px;">' . str_replace("\n", '<br/>', print_r($debug, true)) . '</pre><hr/>';
$options['body'] .= '<hr/><h3>Debug</h3><pre style="white-space: pre-wrap;font-size: 10px;">' . str_replace("\n", '<br/>', print_r($debug, true)) . '</pre>';
}
$loader->setPaths($config['dir']['template']);