Disable edit and options for non-members
This commit is contained in:
parent
319cbcc192
commit
411e2cfffd
@ -36,7 +36,7 @@
|
||||
<?= $this->partial('blacklists') ?>
|
||||
</div>
|
||||
<?php if (!current_user()->is_member_or_higher()) : ?>
|
||||
<div class="status-notice">You are required to have an account to see sensitive or <a href="/wiki/show?title=restricted_content">restricted content</a> or !</div>
|
||||
<div class="status-notice">You are required to have an account to access sensitive or <a href="/wiki/show?title=restricted_content">restricted content</a>!</div>
|
||||
<?php endif ?>
|
||||
<?php if ($this->searching_pool) : ?>
|
||||
<div class="status-notice">
|
||||
|
@ -35,7 +35,7 @@
|
||||
<?= $this->partial('horizontal', ['position' => 'top']) ?>
|
||||
<?php endif ?>
|
||||
<?php if (!$this->post->can_be_seen_by(current_user())) : ?>
|
||||
<p>This post is restricted</p>
|
||||
<div class="status-notice">You are required to have an account to access <a href="/wiki/show?title=restricted_content">restricted content</a>!</div>
|
||||
<?php endif ?>
|
||||
<?php if ($this->post->can_be_seen_by(current_user())) : ?>
|
||||
<?= $this->partial('post/show_partials/image') ?>
|
||||
|
Reference in New Issue
Block a user