Anchor fix, part III - has been a little late yesterday - thanks Chris, for pointing this out! :)

This commit is contained in:
Kevin
2008-08-17 10:17:11 +00:00
parent 3c3eb2d157
commit 0a06a4f7d9
6 changed files with 8 additions and 8 deletions

View File

@@ -129,7 +129,7 @@ else
$real_forum_id = ( $forum_id == 0 ) ? $fetch_news['global_id']: $forum_id;
$read_full_url = (isset($_GET['ap'])) ? 'ap='. $start . '&announcement=#a' : 'announcement=#a';
$read_full_url = (isset($_GET['ap'])) ? 'ap='. $start . '&announcement=' . $i . '#a' . $i : 'announcement=' . $i . '#a' . $i;
$view_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . (($fetch_news[$i]['forum_id']) ? $fetch_news[$i]['forum_id'] : $forum_id) . '&t=' . $topic_id);
if ( $portal_config['portal_announcements_archive'] )
{
@@ -251,7 +251,7 @@ else
$close_bracket = ' ]';
$read_full = $user->lang['BACK'];
$read_full_url = (isset($_GET['ap'])) ? append_sid("{$phpbb_root_path}portal.$phpEx", "ap=$start#a") : append_sid("{$phpbb_root_path}portal.$phpEx#a");
$read_full_url = (isset($_GET['ap'])) ? append_sid("{$phpbb_root_path}portal.$phpEx", "ap=$start#a$i") : append_sid("{$phpbb_root_path}portal.$phpEx#a$i");
$view_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . (($fetch_news[$i]['forum_id']) ? $fetch_news[$i]['forum_id'] : $forum_id) . '&t=' . $topic_id);
if ( $portal_config['portal_announcements_archive'] )
{