diff options
author | Matt <maf675@gmail.com> | 2010-04-09 14:46:58 -0700 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2010-05-16 19:33:51 +0200 |
commit | 30035b94f5928d6eea2548563b1a1f7767f0e308 (patch) | |
tree | a225e508e6ba55586b52c93ea02c6f75d3ffd054 /phpBB/viewtopic.php | |
parent | e36da18b1c3a492df5789252600b1fc80805472a (diff) | |
download | forums-30035b94f5928d6eea2548563b1a1f7767f0e308.tar forums-30035b94f5928d6eea2548563b1a1f7767f0e308.tar.gz forums-30035b94f5928d6eea2548563b1a1f7767f0e308.tar.bz2 forums-30035b94f5928d6eea2548563b1a1f7767f0e308.tar.xz forums-30035b94f5928d6eea2548563b1a1f7767f0e308.zip |
[ticket/9532] Simplified page titles by removing meaningless text.
Removed View Forum, View Topic, added pagination to forum and topic page
titles, also moved the Site Name to the end of title for forum and topic
view pages.
PHPBB3-9532
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 8e0521522d..12c0f909fd 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1744,7 +1744,7 @@ if (empty($_REQUEST['t']) && !empty($topic_id)) } // Output the page -page_header($user->lang['VIEW_TOPIC'] . ' - ' . $topic_data['topic_title'], true, $forum_id); +page_header($topic_data['topic_title'] . ($start ? ' - ' . sprintf($user->lang['PAGE_TITLE_NUMBER'], floor($start / $config['posts_per_page']) + 1) : ''), true, $forum_id); $template->set_filenames(array( 'body' => ($view == 'print') ? 'viewtopic_print.html' : 'viewtopic_body.html') |