TESTING - Post Sidebar as menu

This commit is contained in:
Yukimi Kazari 2016-09-15 20:48:06 -04:00
parent 6397fe9eba
commit 1eedd7d1f1
2 changed files with 14 additions and 17 deletions

View File

@ -16,7 +16,8 @@
unset($total, $count); unset($total, $count);
endif endif
?> ?>
<li class="wiki"><?= $this->linkTo('Options ■', '#', ['class' => 'submenu-button']) ?>
<ul class="submenu" style="display: none; margin-left: 0em; margin-top: .2em; width: 115px; padding: 0.3em; border: 1px solid #bf5e65;">
<div class="sidebar"> <div class="sidebar">
<?= $this->partial('search') ?> <?= $this->partial('search') ?>
<?php if (current_user()->is_privileged_or_higher()) : ?> <?php if (current_user()->is_privileged_or_higher()) : ?>
@ -76,6 +77,8 @@
<?= $this->partial('vertical') ?> <?= $this->partial('vertical') ?>
<?php endif ?> <?php endif ?>
</div> </div>
</ul>
</li>
<div class="content"> <div class="content">
<?php if (!empty($this->ambiguous_tags)) : ?> <?php if (!empty($this->ambiguous_tags)) : ?>
<div class="status-notice"> <div class="status-notice">

View File

@ -12,23 +12,17 @@
<?php endif ?> <?php endif ?>
<?= $this->partial('post/show_partials/status_notices', array('pools' => $this->pools)) ?> <?= $this->partial('post/show_partials/status_notices', array('pools' => $this->pools)) ?>
<li class="wiki"><?= $this->linkTo('Options ■', '#', ['class' => 'submenu-button']) ?>
<ul class="submenu" style="display: none; margin-left: 0em; margin-top: .2em; width: 115px; padding: 0.3em; border: 1px solid #bf5e65;">
<div class="sidebar"> <div class="sidebar">
<?= $this->partial('search') ?> <?= $this->partial('search') ?>
<?= $this->partial('tags') ?> <?= $this->partial('tags') ?>
<?= $this->partial('post/show_partials/related_posts_panel') ?> <?= $this->partial('post/show_partials/related_posts_panel') ?>
<?= $this->partial('post/show_partials/statistics_panel') ?> <?= $this->partial('post/show_partials/statistics_panel') ?>
<?= $this->partial('post/show_partials/options_panel') ?> <?= $this->partial('post/show_partials/options_panel') ?>
<br />
<?php if (CONFIG()->can_show_ad('post#show-sidebar', current_user())) : ?> <?php if (CONFIG()->can_show_ad('post#show-sidebar', current_user())) : ?>
<?= $this->partial('vertical') ?> <?= $this->partial('vertical') ?>
<?php endif ?> <?php endif ?>
</div> </div>
</ul>
</li>
</div>
<br />
<div class="content content-post" id="right-col"> <div class="content content-post" id="right-col">
<?php if (CONFIG()->can_show_ad('post#show-top', current_user())) : ?> <?php if (CONFIG()->can_show_ad('post#show-top', current_user())) : ?>
<?= $this->partial('horizontal', ['position' => 'top']) ?> <?= $this->partial('horizontal', ['position' => 'top']) ?>