2019-07-17 20:19:00 +00:00
|
|
|
<h2><?php echo $this->escape($this->article->title) ?></h2>
|
2019-07-17 20:16:19 +00:00
|
|
|
<div class="article_date">
|
|
|
|
<?php echo $this->translate('Published on %s', $this->article->date) ?>
|
|
|
|
<?php if ($this->user->role == Users_Model_User::ROLE_ADMIN): ?>
|
|
|
|
<div class="linksTopRight">
|
|
|
|
<a href="<?php echo $this->base . '/news/edit/index/id/' . $this->article->id ?>"><?php echo $this->translate('Edit Article') ?></a> |
|
|
|
|
<a href="#" onclick="COMMID.editArticle.remove(<?php echo $this->article->id ?>);return false;"><?php echo $this->translate('Delete Article') ?></a>
|
|
|
|
</div>
|
|
|
|
<?php endif ?>
|
|
|
|
</div>
|
2019-07-17 20:19:00 +00:00
|
|
|
<p><?php echo $this->escape($this->article->excerpt) ?></p>
|
2019-07-17 20:16:19 +00:00
|
|
|
<hr />
|
|
|
|
<div>
|
|
|
|
<?php echo $this->article->content ?>
|
|
|
|
</div>
|