From cb1c8276f7eea492e5676ea4ed918580dd90ee60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Wed, 27 Feb 2008 05:23:21 +0000 Subject: [PATCH] add date, remove cruft --- bureau/admin/main.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bureau/admin/main.php b/bureau/admin/main.php index 7d39b9e4..e631e0cb 100644 --- a/bureau/admin/main.php +++ b/bureau/admin/main.php @@ -54,14 +54,15 @@ if (include_once('magpierss/rss_fetch.inc')) { $rss = fetch_rss( variable_get('rss_feed') ); if ($rss) { - echo "

" . _("Latest news") . "

"; + echo "

" . _("Latest news") . "

"; foreach ($rss->items as $item) { $href = $item['link']; $title = $item['title']; echo "

$title

"; + echo ''.$item['pubdate'] .' - '; + echo ''.$item['dc']['creator'].''; echo $item['summary']; } - echo ""; } }