aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/feed_reader/view.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/widgets/feed_reader/view.php')
-rw-r--r--views/default/widgets/feed_reader/view.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/views/default/widgets/feed_reader/view.php b/views/default/widgets/feed_reader/view.php
index a8d589f98..329b2fb98 100644
--- a/views/default/widgets/feed_reader/view.php
+++ b/views/default/widgets/feed_reader/view.php
@@ -51,12 +51,19 @@ if ($feed_url) {
</div>
<?php
if ($excerpt) {
- echo '<div class="simplepie_excerpt">' . strip_tags($item->get_description(true), $allow_tags) . '</div>';
+?>
+ <div class="simplepie_excerpt">
+ <?php echo strip_tags($item->get_description(true), $allow_tags); ?>
+ </div>
+<?php
}
if ($post_date) {
?>
- <div class="simplepie_date">Posted on <?php echo $item->get_date('j F Y | g:i a'); ?></div>
+ <div class="simplepie_date">
+ <?php echo elgg_echo('simplepie:postedon'); ?>
+ <?php echo $item->get_date('j F Y | g:i a'); ?>
+ </div>
<?php
}
?>