CommunityID/modules/default/views/scripts/cid/index.phtml

23 lines
640 B
PHTML

<h2><?php echo $this->translate('About Community-id') ?></h2>
<div>
<label><?php echo $this->translate('Version installed:') ?></label>
<?php echo $this->version ?>
</div>
<div style="margin:20px 0 10px">
<label>
<?php echo $this->translate('Latest news from Community-ID:') ?>
</label>
</div>
<ul>
<?php foreach ($this->news as $item): ?>
<li>
<div>
<a href="<?php echo $item->link ?>"><?= $item->title ?></a>
</div>
<div class="newsExcerpt">
<?php echo $item->content ?>
</div>
</li>
<?php endforeach ?>
</ul>