mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +05:30
Improved comments file naming, handled corresponding markdown file rename and delete. Introduced pagination in admin comments list. Capability to show comments in posts, static, authors.
This commit is contained in:
parent
41daa5f8d6
commit
6d3e33ceb7
8 changed files with 456 additions and 84 deletions
|
|
@ -159,7 +159,7 @@ if (isset($author[0])) {
|
|||
<?php
|
||||
$pendingCount = getPendingCommentsCount();
|
||||
if ($pendingCount > 0): ?>
|
||||
<span class="badge badge-warning right"><?php echo $pendingCount; ?></span>
|
||||
<span class="badge badge-warning right" style="margin-right: 15px;"><?php echo $pendingCount; ?></span><br>
|
||||
<?php endif; ?>
|
||||
<i class="right fa fa-angle-left"></i>
|
||||
</p>
|
||||
|
|
@ -177,7 +177,7 @@ if (isset($author[0])) {
|
|||
<p>
|
||||
<?php echo i18n('Pending_Moderation'); ?>
|
||||
<?php if ($pendingCount > 0): ?>
|
||||
<span class="badge badge-warning right"><?php echo $pendingCount; ?></span>
|
||||
<span class="badge badge-warning right" style="margin-right: 15px;"><?php echo $pendingCount; ?></span>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue