Outputting thread subject in header/title (issue #122)

This commit is contained in:
Michael Foster 2013-07-16 02:48:20 -04:00
parent 7302fc57a8
commit 29b10c88db
4 changed files with 8 additions and 4 deletions

View file

@ -527,6 +527,9 @@
// Number of characters in the poster ID (maximum is 40)
$config['poster_id_length'] = 5;
// Show thread subject in page title?
$config['thread_subject_in_title'] = false;
// Page footer
$config['footer'][] = 'All trademarks, copyrights, comments, and images on this page are owned by and are the responsibility of their respective parties.';

View file

@ -1537,8 +1537,9 @@ function buildThread($id, $return=false, $mod=false) {
error($config['error']['nonexistant']);
$body = Element('thread.html', array(
'board'=>$board,
'body'=>$thread->build(),
'board' => $board,
'thread' => $thread,
'body' => $thread->build(),
'config' => $config,
'id' => $id,
'mod' => $mod,