import v1.1.0_RC2 | 2009-09-20
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<form method="post" action="<?php echo $this->base ?>/news/edit/save" class="formGrid">
|
||||
<input type="hidden" name="id" value="<?= $this->articleId ?>" />
|
||||
<input type="hidden" name="id" value="<?php echo $this->articleId ?>" />
|
||||
<?php echo $this->articleForm->title ?>
|
||||
<?php echo $this->articleForm->excerpt ?>
|
||||
<?php echo $this->articleForm->date ?>
|
||||
|
@ -7,7 +7,7 @@
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<?php if (count($this->paginator) == 0): ?>
|
||||
<div><?= $this->translate('There are no news articles yet') ?></div>
|
||||
<div><?php echo $this->translate('There are no news articles yet') ?></div>
|
||||
<?php else: ?>
|
||||
<?php foreach ($this->paginator as $article): ?>
|
||||
<div class="post">
|
||||
|
@ -1,4 +1,4 @@
|
||||
<h2><?= $this->escape($this->article->title) ?></h2>
|
||||
<h2><?php echo $this->escape($this->article->title) ?></h2>
|
||||
<div class="article_date">
|
||||
<?php echo $this->translate('Published on %s', $this->article->date) ?>
|
||||
<?php if ($this->user->role == Users_Model_User::ROLE_ADMIN): ?>
|
||||
@ -8,7 +8,7 @@
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<p><?= $this->escape($this->article->excerpt) ?></p>
|
||||
<p><?php echo $this->escape($this->article->excerpt) ?></p>
|
||||
<hr />
|
||||
<div>
|
||||
<?php echo $this->article->content ?>
|
||||
|
Reference in New Issue
Block a user