From c72a94b8b22cad43cdf1e61cc285f7e09e09ad99 Mon Sep 17 00:00:00 2001 From: Ice Date: Wed, 23 Apr 2008 16:08:20 +0000 Subject: [PATCH] Unreported: Better posted by text --- root/portal/block/news.php | 1 + 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 +- templates/subsilver2/template/portal/block/announcements.html | 2 +- .../subsilver2/template/portal/block/announcements_compact.html | 2 +- templates/subsilver2/template/portal/block/news.html | 2 +- templates/subsilver2/template/portal/block/news_compact.html | 2 +- 9 files changed, 9 insertions(+), 8 deletions(-) diff --git a/root/portal/block/news.php b/root/portal/block/news.php index e56f3465..7611f013 100644 --- a/root/portal/block/news.php +++ b/root/portal/block/news.php @@ -161,6 +161,7 @@ if($news < 0) if ($portal_config['portal_number_of_news'] <> 0 && $portal_config['portal_news_archive']) { $template->assign_vars(array( + 'POSTED_BY_TEXT' => ( $portal_config['portal_news_show_last'] ) ? $user->lang['LAST_POST'] : $user->lang['POSTED'], 'NP_PAGINATION' => $pagination, 'TOTAL_NEWS' => ($total_news == 1) ? $user->lang['VIEW_FORUM_TOPIC'] : sprintf($user->lang['VIEW_FORUM_TOPICS'], $total_news), 'NP_PAGE_NUMBER' => on_page($total_news, $portal_config['portal_number_of_news'], $start)) diff --git a/root/styles/prosilver/template/portal/block/announcements.html b/root/styles/prosilver/template/portal/block/announcements.html index ae559d23..42875da0 100644 --- a/root/styles/prosilver/template/portal/block/announcements.html +++ b/root/styles/prosilver/template/portal/block/announcements.html @@ -11,7 +11,7 @@

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

{announcements_row.PAGINATION}