TESTING - Option Menu?

This commit is contained in:
Yuki K 2016-09-15 03:21:35 -04:00
parent edc5f4f477
commit ddc88f8d15
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
<div> <div>
<ul> <ul>
<li><?= $this->linkToIf($this->post->previous_id(), $this->t('.previous'), array('post#show', 'id' => $this->post->previous_id())) ?> <?php if ($this->post->parent_id) : ?><?= $this->linkTo($this->t('.parent'), array('post#show', 'id' => $this->post->parent_id)) ?><?php endif ?><?= $this->linkToIf($this->post->next_id(), $this->t('.next'), array('post#show', 'id' => $this->post->next_id())) ?> <?= $this->linkTo($this->t('.random'), 'post#random') ?></li> <li><?= $this->linkToIf($this->post->previous_id(), $this->t('.previous'), array('post#show', 'id' => $this->post->previous_id())) ?> <?= $this->linkToIf($this->post->next_id(), $this->t('.next'), array('post#show', 'id' => $this->post->next_id())) ?> <?php if ($this->post->parent_id) : ?><?= $this->linkTo($this->t('.parent'), array('post#show', 'id' => $this->post->parent_id)) ?><?php endif ?></li>
<li><?= $this->linkTo($this->t('.random'), 'post#random') ?></li>
</ul> </ul>
</div> </div>

View File

@ -870,7 +870,7 @@ en:
duplicate: Find dupes duplicate: Find dupes
similar: Find similar similar: Find similar
next: 'Next »' next: 'Next »'
parent: 'Up ' parent: 'Up'
previous: '« Previous' previous: '« Previous'
random: Random random: Random
title: Related Posts title: Related Posts