Browse Source

Update user-posts.html.php

Let it look like tag/label
pull/686/head
Huang95 1 year ago
committed by GitHub
parent
commit
12e7e830f6
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/user-posts.html.php

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

@ -26,7 +26,7 @@
<td><?php echo $p->views ?></td>
<?php endif; ?>
<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/mine"><?php echo i18n('Edit');?></a> <a class="btn btn-danger btn-xs" href="<?php echo $p->url ?>/delete?destination=admin/mine"><?php echo i18n('Delete');?></a></td>
</tr>
<?php endforeach; ?>
@ -52,4 +52,4 @@
<?php endif; ?>
<?php } else {
echo i18n('No_posts_found') . '!';
} ?>
} ?>

Loading…
Cancel
Save