diff options
Diffstat (limited to 'core/views')
-rw-r--r-- | core/views/admin_block_news.html.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/core/views/admin_block_news.html.php b/core/views/admin_block_news.html.php index 963a8cbd..e75a40b4 100644 --- a/core/views/admin_block_news.html.php +++ b/core/views/admin_block_news.html.php @@ -1,9 +1,11 @@ <? defined("SYSPATH") or die("No direct script access."); ?> <ul> - <li>10-Apr <a href="#">Gallery 3.1 released!</a></li> - <li>26-Feb <a href="#">New theme tutorials now available</a></li> - <li>4-Feb <a href="#">Gallery 3.0 released!</a></li> + <? foreach ($feed as $entry): ?> + <li> + <a href="<?= $entry["link"] ?>"><?= $entry["title"] ?></a> + <p> + <?= text::limit_words(strip_tags($entry["description"]), 25); ?> + </p> + </li> + <? endforeach ?> </ul> - - - |