TESTING - Option Menu?
This commit is contained in:
parent
2e0eaf1d22
commit
90356bcaaa
@ -1,15 +1,7 @@
|
|||||||
<div>
|
<div class="clearfix" id="main-menu" data-controller="<?= $this->request()->controller() ?>>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="wiki"><?php if ($this->post->image() && $this->post->can_be_seen_by(current_user())) : ?>
|
<li class="wiki"><?php if ($this->post->image() && $this->post->can_be_seen_by(current_user())) : ?>
|
||||||
<?php $file_jpeg = $this->post->get_file_jpeg() ?>
|
<?php $file_jpeg = $this->post->get_file_jpeg() ?>
|
||||||
<?php if ($this->post->use_sample(current_user()) or current_user()->always_resize_images) : ?>
|
|
||||||
<li><?php if (!array_key_exists("dakimakura", $this->post->tags()) || current_user()->is_contributor_or_higher());
|
|
||||||
echo $this->linkTo($this->t('.view_larger'), $file_jpeg['url'], [
|
|
||||||
'class' => ($this->post->has_sample() ? "original-file-changed":"original-file-unchanged") . " highres-show",
|
|
||||||
'id' => 'highres-show', 'large_width' => $this->post->width, 'large_height' => $this->post->height])
|
|
||||||
?>
|
|
||||||
</li>
|
|
||||||
<?php endif ?>
|
|
||||||
<li><?php if (array_key_exists("dakimakura", $this->post->tags()) && !current_user()->is_contributor_or_higher()) :
|
<li><?php if (array_key_exists("dakimakura", $this->post->tags()) && !current_user()->is_contributor_or_higher()) :
|
||||||
$file_sample = $this->post->get_file_sample(current_user());
|
$file_sample = $this->post->get_file_sample(current_user());
|
||||||
echo $this->linkTo(($this->post->has_sample() ? $this->t('.download.larger') : $this->t('.download.normal')) . ' (' . $this->numberToHumanSize($file_sample['size']) . ' ' . strtoupper($file_sample['ext']) . ')', $file_sample['url'], array(
|
echo $this->linkTo(($this->post->has_sample() ? $this->t('.download.larger') : $this->t('.download.normal')) . ' (' . $this->numberToHumanSize($file_sample['size']) . ' ' . strtoupper($file_sample['ext']) . ')', $file_sample['url'], array(
|
||||||
|
Reference in New Issue
Block a user