diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-30 15:54:27 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-30 15:54:27 +0000 |
| commit | 8ee977f1d1cfbf86ed3938da710c00ca9ad40c44 (patch) | |
| tree | 68650b4c86c4829f8fecc5b1d77422892adcc7ec /phpBB/includes | |
| parent | 87cd557369c368b55b4af9e26ef03de5ec259d99 (diff) | |
| download | forums-8ee977f1d1cfbf86ed3938da710c00ca9ad40c44.tar forums-8ee977f1d1cfbf86ed3938da710c00ca9ad40c44.tar.gz forums-8ee977f1d1cfbf86ed3938da710c00ca9ad40c44.tar.bz2 forums-8ee977f1d1cfbf86ed3938da710c00ca9ad40c44.tar.xz forums-8ee977f1d1cfbf86ed3938da710c00ca9ad40c44.zip | |
Case changes, fix forum_id in nav, fix forum_id in posting success msg
git-svn-id: file:///svn/phpbb/trunk@3422 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/functions.php | 4 | ||||
| -rw-r--r-- | phpBB/includes/functions_display.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 389d5d122c..d760bf83d0 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -144,11 +144,11 @@ function generate_forum_nav(&$forum_data) } $template->assign_block_vars('navlinks', array( 'FORUM_NAME' => $forum_data['forum_name'], - 'U_VIEW_FORUM' => 'viewforum.' . $phpEx . $SID . '&f=' . $forum_id + 'U_VIEW_FORUM' => 'viewforum.' . $phpEx . $SID . '&f=' . $forum_data['forum_id'] )); $template->assign_vars(array( - 'FORUM_ID' => $forum_id, + 'FORUM_ID' => $forum_data['forum_id'], 'FORUM_NAME' => $forum_data['forum_name'], 'FORUM_DESC' => strip_tags($forum_data['forum_desc']) )); diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index bb987fcbf1..16228dee88 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -175,7 +175,7 @@ function display_forums($root_data = '', $display_moderators = TRUE) { $last_post = $user->format_date($row['forum_last_post_time']) . '<br />'; - $last_post .= ($row['forum_last_poster_id'] == ANONYMOUS) ? (($row['forum_last_poster_name'] != '') ? $row['forum_last_poster_name'] . ' ' : $user->lang['Guest'] . ' ') : '<a href="ucp.' . $phpEx . $SID . '&mode=viewprofile&u=' . $row['forum_last_poster_id'] . '">' . $row['forum_last_poster_name'] . '</a> '; + $last_post .= ($row['forum_last_poster_id'] == ANONYMOUS) ? (($row['forum_last_poster_name'] != '') ? $row['forum_last_poster_name'] . ' ' : $user->lang['GUEST'] . ' ') : '<a href="ucp.' . $phpEx . $SID . '&mode=viewprofile&u=' . $row['forum_last_poster_id'] . '">' . $row['forum_last_poster_name'] . '</a> '; $last_post .= '<a href="viewtopic.' . $phpEx . $SID . '&f=' . $row['forum_id'] . '&p=' . $row['forum_last_post_id'] . '#' . $row['forum_last_post_id'] . '">' . $user->img('goto_post_latest', 'View_latest_post') . '</a>'; } |
