Disable edit and options for non-members
This commit is contained in:
parent
411e2cfffd
commit
f930dd2ce6
@ -11,8 +11,7 @@
|
|||||||
<script type="text/javascript">Post.register_resp(<?= json_encode(Post::batch_api_data(array($this->post))) ?>);</script>
|
<script type="text/javascript">Post.register_resp(<?= json_encode(Post::batch_api_data(array($this->post))) ?>);</script>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?php if (!current_user()->is_member_or_higher()) : ?>
|
<?php if (!current_user()->is_member_or_higher()) : ?>
|
||||||
<div class="status-notice">You must have an account to comment or edit posts<a href="/user/login">Login</a>
|
<div class="status-notice">You must have an account to comment or edit posts</div>
|
||||||
</div>
|
|
||||||
<?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)) ?>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user