|
|
|
@ -20,7 +20,7 @@ if (isset($_SESSION[site_url()]['user'])) { |
|
|
|
if (config("views.counter") == "true") |
|
|
|
echo '<td>' . $p->views . '</td>'; |
|
|
|
echo '<td><a href="' . str_replace('category', 'admin/categories', $p->categoryUrl) . '">'. strip_tags($p->category) .'</a></td>'; |
|
|
|
echo '<td>' . $p->tag . '</td>'; |
|
|
|
echo '<td>' . str_replace("rel=\"tag\"", "rel=\"tag\" class=\"badge badge-light text-primary font-weight-normal\"", $p->tag) . '</td>'; |
|
|
|
echo '<td><a class="btn btn-primary btn-xs" href="' . $p->url . '/edit?destination=admin">' . i18n('Edit') . '</a> <a class="btn btn-danger btn-xs" href="' . $p->url . '/delete?destination=admin">' . i18n('Delete') . '</a></td>'; |
|
|
|
echo '</tr>'; |
|
|
|
} |
|
|
|
@ -28,4 +28,4 @@ if (isset($_SESSION[site_url()]['user'])) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
?>
|
|
|
|
?>
|