Browse Source

Update popular-posts.html.php

Let it look like tag/label
pull/688/head
Huang95 1 year ago
committed by GitHub
parent
commit
b125cea24e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      system/admin/views/popular-posts.html.php

+ 2
- 2
system/admin/views/popular-posts.html.php View File

@ -25,7 +25,7 @@
<td><?php echo get_views('post_' . $p->slug); ?></td><?php endif; ?>
<td><a target="_blank" href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></td>
<td><a href="<?php echo str_replace('category', 'admin/categories', $p->categoryUrl); ?>"><?php echo strip_tags($p->category);?></a></td>
<td><?php echo $p->tag ?></td>
<td><?php echo str_replace('rel="tag"', 'rel="tag" class="badge badge-light text-primary font-weight-normal"', $p->tag); ?></td>
<td><a class="btn btn-primary btn-xs" href="<?php echo $p->url ?>/edit?destination=admin/posts"><?php echo i18n('Edit');?></a> <a
class="btn btn-danger btn-xs" href="<?php echo $p->url ?>/delete?destination=admin/posts"><?php echo i18n('Delete');?></a></td>
</tr>
@ -34,4 +34,4 @@
</table>
<?php } else {
echo i18n('No_posts_found') . '!';
} ?>
} ?>

Loading…
Cancel
Save