Improve user role

This commit is contained in:
danpros 2024-03-30 11:49:22 +07:00
commit c8e8bee51b
15 changed files with 1350 additions and 912 deletions

View file

@ -28,7 +28,7 @@
<?php } elseif (facebook()) { ?> -
<a href="<?php echo $p->url ?>#comments"><span><fb:comments-count href=<?php echo $p->url ?>></fb:comments-count> <?php echo i18n('Comments');?></span></a>
<?php } ?>
<?php if (login()) { echo ' - <span><a href="'. $p->url .'/edit?destination=post">Edit</a></span>'; } ?>
<?php if (authorized($p)) { echo ' - <span><a href="'. $p->url .'/edit?destination=post">Edit</a></span>'; } ?>
</div>
<?php if (!empty($p->image)) { ?>
<div class="featured-image">