From 7925ffd24acd87fba2b20d86e5b6bf57190c7d31 Mon Sep 17 00:00:00 2001 From: Ice Date: Sun, 10 Aug 2008 13:53:31 +0000 Subject: [PATCH] Bug: 99 - slight edit --- root/portal/block/announcements.php | 1 + root/portal/block/news.php | 3 ++- root/styles/prosilver/template/portal/block/announcements.html | 2 +- .../prosilver/template/portal/block/announcements_compact.html | 2 +- root/styles/prosilver/template/portal/block/news.html | 2 +- root/styles/prosilver/template/portal/block/news_compact.html | 2 +- .../styles/subsilver2/template/portal/block/announcements.html | 2 +- .../template/portal/block/announcements_compact.html | 2 +- root/styles/subsilver2/template/portal/block/news.html | 2 +- root/styles/subsilver2/template/portal/block/news_compact.html | 2 +- 10 files changed, 11 insertions(+), 9 deletions(-) diff --git a/root/portal/block/announcements.php b/root/portal/block/announcements.php index 4582a20d..9b2a1088 100644 --- a/root/portal/block/announcements.php +++ b/root/portal/block/announcements.php @@ -158,6 +158,7 @@ $fetch_news = phpbb_fetch_posts($portal_config['portal_global_announcements_foru 'U_VIEWFORUM' => append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $fetch_news[$i]['forum_id']), 'U_LAST_COMMENTS' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", (($real_forum_id) ? 'f=' . $real_forum_id . '&' : '') . 'p=' . $fetch_news[$i]['topic_last_post_id'] . '#p' . $fetch_news[$i]['topic_last_post_id']), 'U_VIEW_COMMENTS' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 't=' . $topic_id), + 'U_VIEW_UNREAD' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 't=' . $topic_id . '&view=unread#unread'), 'U_POST_COMMENT' => append_sid("{$phpbb_root_path}posting.$phpEx", 'mode=reply&' . (($real_forum_id) ? 'f=' . $real_forum_id . '&' : '') . 't=' . $topic_id), 'U_READ_FULL' => append_sid("{$phpbb_root_path}portal.$phpEx", $read_full_url), 'L_READ_FULL' => $read_full, diff --git a/root/portal/block/news.php b/root/portal/block/news.php index 032014c7..ff01eda8 100644 --- a/root/portal/block/news.php +++ b/root/portal/block/news.php @@ -148,8 +148,9 @@ $fetch_news = phpbb_fetch_posts($portal_config['portal_news_forum'], $portal_con 'TOPIC_VIEWS' => $fetch_news[$i]['topic_views'], 'N_ID' => $i, 'U_VIEWFORUM' => append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $fetch_news[$i]['forum_id']), - 'U_LAST_COMMENTS' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $fetch_news[$i]['topic_last_post_id'] . '#p' . $fetch_news[$i]['topic_last_post_id']), + 'U_LAST_COMMENTS' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $fetch_news[$i]['topic_last_post_id'] . '#p' . $fetch_news[$i]['topic_last_post_id']), 'U_VIEW_COMMENTS' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $fetch_news[$i]['forum_id'] . '&t=' . $fetch_news[$i]['topic_id']), + 'U_VIEW_UNREAD' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $fetch_news[$i]['forum_id'] . '&t=' . $fetch_news[$i]['topic_id'] . '&view=unread#unread'), 'U_POST_COMMENT' => append_sid("{$phpbb_root_path}posting.$phpEx", 'mode=reply&f=' . $fetch_news[$i]['forum_id'] . '&t=' . $fetch_news[$i]['topic_id']), 'U_READ_FULL' => append_sid("{$phpbb_root_path}portal.$phpEx", $read_full_url), 'L_READ_FULL' => $read_full, diff --git a/root/styles/prosilver/template/portal/block/announcements.html b/root/styles/prosilver/template/portal/block/announcements.html index 482fcdd3..38c853e8 100644 --- a/root/styles/prosilver/template/portal/block/announcements.html +++ b/root/styles/prosilver/template/portal/block/announcements.html @@ -16,7 +16,7 @@
-

{NEWEST_POST_IMG}{READ_POST_IMG} {announcements_row.ATTACH_ICON_IMG} {L_POLL}: {announcements_row.TITLE}

+

{NEWEST_POST_IMG}{READ_POST_IMG} {announcements_row.ATTACH_ICON_IMG} {L_POLL}: {announcements_row.TITLE}

{announcements_row.PAGINATION}