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);
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">
<?= $this->partial('search') ?>
<?php if (current_user()->is_privileged_or_higher()) : ?>
@ -76,6 +77,8 @@
<?= $this->partial('vertical') ?>
<?php endif ?>
</div>
</ul>
</li>
<div class="content">
<?php if (!empty($this->ambiguous_tags)) : ?>
<div class="status-notice">

View File

@ -12,23 +12,17 @@
<?php endif ?>
<?= $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">
<?= $this->partial('search') ?>
<?= $this->partial('tags') ?>
<?= $this->partial('post/show_partials/related_posts_panel') ?>
<?= $this->partial('post/show_partials/statistics_panel') ?>
<?= $this->partial('post/show_partials/options_panel') ?>
<?php if (CONFIG()->can_show_ad('post#show-sidebar', current_user())) : ?>
<?= $this->partial('vertical') ?>
<?php endif ?>
</div>
</ul>
</li>
</div>
<div class="sidebar">
<?= $this->partial('search') ?>
<?= $this->partial('tags') ?>
<?= $this->partial('post/show_partials/related_posts_panel') ?>
<?= $this->partial('post/show_partials/statistics_panel') ?>
<?= $this->partial('post/show_partials/options_panel') ?>
<br />
<?php if (CONFIG()->can_show_ad('post#show-sidebar', current_user())) : ?>
<?= $this->partial('vertical') ?>
<?php endif ?>
</div>
<div class="content content-post" id="right-col">
<?php if (CONFIG()->can_show_ad('post#show-top', current_user())) : ?>
<?= $this->partial('horizontal', ['position' => 'top']) ?>