Archived
1
0
Fork 0
This repository has been archived on 2026-05-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
fiktivkod/application/modules/blog/views/scripts/index/latest.phtml
2010-10-30 13:47:56 +02:00

16 lines
No EOL
681 B
PHTML

<h1><?=$this->translate('u:blog') ?></h1>
<p><?=$this->translate('BLOG_LATEST_INTRO') ?></p>
<?php foreach($this->posts as $post) : ?>
<div class="blogpost">
<h3><a href="<?=$this->url(array('action' => 'read','id' => $post->getPermalink()),'blog-default') ?>"><?=$post->getTitle() ?></a></h3>
<p class="publish"><?=$post->getPubDate()->toString('yyyy-MM-dd').' at '.$post->getPubDate()->toString('HH:mm').' '.$post->getAuthor()->getFirstName() ?></p>
<div class="content">
<?=$post->getContent() ?>
</div>
<!-- <div class="tags"><?=join(', ',$post->getTags()) ?></div> -->
<div class="tags">Something, Something</div>
</div>
<?php endforeach; ?>