fix(web/blog/archive): is_hidden text

This commit is contained in:
Baoshuo Ren 2022-10-08 12:09:23 +08:00
parent a674a54e8b
commit d614b8ddcb
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -59,7 +59,7 @@
<tr> <tr>
<td> <td>
<?php if ($blog['is_hidden']): ?> <?php if ($blog['is_hidden']): ?>
<span class="text-danger">[隐藏]</span> <span class="text-danger">[隐藏]</span>
<?php endif ?> <?php endif ?>
<?= getBlogLink($blog['id']) ?> <?= getBlogLink($blog['id']) ?>
<?php foreach (queryBlogTags($blog['id']) as $tag): ?> <?php foreach (queryBlogTags($blog['id']) as $tag): ?>
@ -101,6 +101,9 @@
<?php foreach ($blogs_pag->get() as $blog): ?> <?php foreach ($blogs_pag->get() as $blog): ?>
<tr> <tr>
<td> <td>
<?php if ($blog['is_hidden']): ?>
<span class="text-danger">[隐藏]</span>
<?php endif ?>
<?= getBlogLink($blog['id']) ?> <?= getBlogLink($blog['id']) ?>
<?php foreach (queryBlogTags($blog['id']) as $tag): ?> <?php foreach (queryBlogTags($blog['id']) as $tag): ?>
<?php echoBlogTag($tag) ?> <?php echoBlogTag($tag) ?>