This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/app/views/post/_footer.php

19 lines
1.2 KiB
PHP
Raw Normal View History

2013-10-27 01:06:58 +02:00
<?= $this->contentFor('subnavbar', function() { ?>
<li><?= $this->linkTo($this->t('.list'), 'post#index') ?></li>
2015-01-26 13:54:21 +01:00
<li><?= $this->linkTo($this->t('.browse'), $this->urlFor(['post#browse', 'anchor' => '/']) . str_replace('+', ' ', $this->h($this->params()->tags))) ?></li>
2013-10-27 01:06:58 +02:00
<li><?= $this->linkTo($this->t('.upload'), 'post#upload') ?></li>
<!-- <li id="my-subscriptions-container"><?php //echo $this->linkTo($this->t('.subs'), "/", 'id' => 'my-subscriptions') ?></li> -->
<li><?= $this->linkTo($this->t('.random'), array('post#', 'tags' => 'order:random')) ?></li>
<li><?= $this->linkTo($this->t('.popular'), 'post#popular_recent') ?></li>
<li><?= $this->linkTo($this->t('.image_search'), 'post#similar') ?></li>
<li><?= $this->linkTo($this->t('.history'), 'history#index') ?></li>
<?php if (current_user()->is_contributor_or_higher()) : ?>
<li><?= $this->linkTo($this->t('.batch'), 'batch#') ?></li>
<?php endif ?>
<?php if (current_user()->is_janitor_or_higher()) : ?>
<li><?= $this->linkTo($this->t('.mod'), 'post#moderate', array('id' => 'moderate')) ?></li>
<?php endif ?>
<?= $this->content('footer') ?>
<li><?= $this->linkTo($this->t('.help'), 'help#posts') ?></li>
<?php }) ?>