Updating panel

This commit is contained in:
danpros 2021-02-20 07:59:51 +07:00
commit 8990c67f96
8 changed files with 39 additions and 34 deletions

View file

@ -27,7 +27,8 @@
<tr class="<?php echo $class ?>">
<td><?php echo $p->title ?></td>
<td><?php echo format_date($p->date) ?></td>
<td><?php echo strip_tags($p->category) ?></td>
<td><a href="<?php echo str_replace('category', 'admin/categories', $p->categoryUrl); ?>"><?php echo strip_tags($p->category);?></td>
<td><?php echo $p->tag ?></td>
<td><?php echo strip_tags($p->tag) ?></td>
<td><a class="btn btn-primary btn-xs" href="<?php echo $p->url ?>/edit?destination=admin/draft"><?php echo i18n('Edit');?></a> <a class="btn btn-danger btn-xs" href="<?php echo $p->url ?>/delete?destination=admin/draft"><?php echo i18n('Delete');?></a></td>
</tr>