Files
gallery3/core/views/admin_block_news.html.php
Bharat Mediratta cd1d023754 Change the preamble for views in two ways:
1) drop unnecessary semicolon
2) start with <?php for extra security in the case that the server itself doesn't
   have short_tags enabled (the app won't work, but we need to make sure that we're
   still secure)
2009-01-01 00:23:29 +00:00

12 lines
294 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul>
<? 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>