From 17814509754fa405d1f7be716cbeca1cd08deda8 Mon Sep 17 00:00:00 2001 From: Alessandro Cosentino Date: Mon, 15 Oct 2012 00:36:44 -0400 Subject: specifies name of the blog when showing items --- templates/part.items.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/part.items.php b/templates/part.items.php index 174a96e5e..d331f5172 100644 --- a/templates/part.items.php +++ b/templates/part.items.php @@ -31,7 +31,11 @@ foreach($items as $item) { echo ''; echo '

' . htmlspecialchars($item->getTitle(), ENT_QUOTES, 'UTF-8') . '

'; - + +// if ($lastViewedFeedType !== OCA\News\FeedType::FEED) { + echo '
' . $l->t('from') . ' ' . $item->getFeedTitle() . '
'; +// } + if(($item->getAuthor() !== null) && (trim($item->getAuthor()) != '')) { echo '

'. $l->t('by') . ' ' . htmlspecialchars($item->getAuthor(), ENT_QUOTES, 'UTF-8') . '

'; } -- cgit v1.2.3