diff options
| author | Bart van Bragt <bartvb@users.sourceforge.net> | 2001-03-09 23:33:06 +0000 |
|---|---|---|
| committer | Bart van Bragt <bartvb@users.sourceforge.net> | 2001-03-09 23:33:06 +0000 |
| commit | d3d031d9eec485a05afdcc367ca8a8cca24e98e5 (patch) | |
| tree | 1a2fd368a3c3292d173e4cffa669538637f484fe /phpBB/viewtopic.php | |
| parent | 6be03b553d19c0598ea4101f1257bdcc2f81ab94 (diff) | |
| download | forums-d3d031d9eec485a05afdcc367ca8a8cca24e98e5.tar forums-d3d031d9eec485a05afdcc367ca8a8cca24e98e5.tar.gz forums-d3d031d9eec485a05afdcc367ca8a8cca24e98e5.tar.bz2 forums-d3d031d9eec485a05afdcc367ca8a8cca24e98e5.tar.xz forums-d3d031d9eec485a05afdcc367ca8a8cca24e98e5.zip | |
Moved include files
git-svn-id: file:///svn/phpbb/trunk@94 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index add38f5f1b..0452f63843 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1,6 +1,6 @@ <?php /*************************************************************************** - * viewtopic.php + * viewtopic.php * ------------------- * begin : Saturday, Feb 13, 2001 * copyright : (C) 2001 The phpBB Group @@ -23,6 +23,9 @@ include('extension.inc'); include('common.'.$phpEx); +$page_title = "View Topic - $topic_title"; +$topic_title = stripslashes($topic_info[0]["topic_title"]); + if(!isset($HTTP_GET_VARS['topic'])) // For backward compatibility { $topic_id = $HTTP_GET_VARS[POST_TOPIC_URL]; @@ -73,11 +76,9 @@ for($x = 0; $x < $total_rows; $x++) // Add checking for private forums here // -$page_title = "View Topic - $topic_title"; -$topic_title = stripslashes($topic_info[0]["topic_title"]); $total_replies = $topic_info[0]["topic_replies"] + 1; $pagetype = "viewtopic"; -include('page_header.'.$phpEx); +include('includes/page_header.'.$phpEx); if(!isset($start)) { @@ -252,6 +253,6 @@ $template->set_var(array("PAGES" => $pages, $template->pparse("output", array("posts", "body")); -include('page_tail.'.$phpEx); +include('includes/page_tail.'.$phpEx); ?> |
