feat(navigation): hard-switch to Zibll navigation and Font Awesome 5

This commit is contained in:
kate522 committed 2026-08-18 20:46:21 +08:00
1 parent 3c3ddac8be
commit a0b84977a2
630 files changed
+101647 -11293

No files matched your search

+8 -8
View File
@@ -35,7 +35,7 @@ $is_can_new = !empty($ctx['is_can_new']);
<?php if (!$is_can_new) : ?>
<div class="aksrt-submit-nocan">
<div class="aksrt-submit-nocan__icon"><i class="fas fa-lock"></i></div>
<div class="aksrt-submit-nocan__icon"><i class="fa fas fa-lock"></i></div>
<p><?php esc_html_e('无法发布', 'aksrt'); ?></p>
<p class="muted"><?php esc_html_e('你当前没有前台投稿权限,请联系管理员开通。', 'aksrt'); ?></p>
</div>
@@ -67,23 +67,23 @@ $is_can_new = !empty($ctx['is_can_new']);
<div class="aksrt-submit-shortcode-tools">
<?php if (!empty($ctx['can_upload_img'])) : ?>
<button type="button" class="but" data-insert-upload-image>
<i class="fas fa-image"></i> <?php esc_html_e('上传图片', 'aksrt'); ?>
<i class="fa fas fa-image"></i> <?php esc_html_e('上传图片', 'aksrt'); ?>
</button>
<?php endif; ?>
<?php if (!empty($ctx['can_hide'])) : ?>
<button type="button" class="but" data-insert-shortcode="hide" title="<?php esc_attr_e('插入登录后可见', 'aksrt'); ?>">
<i class="fas fa-eye-slash"></i> <?php esc_html_e('登录可见', 'aksrt'); ?>
<i class="fa fas fa-eye-slash"></i> <?php esc_html_e('登录可见', 'aksrt'); ?>
</button>
<button type="button" class="but" data-insert-shortcode="reply" title="<?php esc_attr_e('插入回复后可见', 'aksrt'); ?>">
<i class="fas fa-comment-dots"></i> <?php esc_html_e('回复可见', 'aksrt'); ?>
<i class="fa fas fa-comment-dots"></i> <?php esc_html_e('回复可见', 'aksrt'); ?>
</button>
<button type="button" class="but" data-insert-shortcode="vip" title="<?php esc_attr_e('插入 VIP 可见', 'aksrt'); ?>">
<i class="fas fa-crown"></i> <?php esc_html_e('VIP 可见', 'aksrt'); ?>
<i class="fa fas fa-certificate"></i> <?php esc_html_e('VIP 可见', 'aksrt'); ?>
</button>
<?php endif; ?>
<?php if (!empty($ctx['can_pay'])) : ?>
<button type="button" class="but" data-insert-shortcode="payshow" title="<?php esc_attr_e('插入付费可见内容', 'aksrt'); ?>">
<i class="fas fa-lock"></i> <?php esc_html_e('付费可见', 'aksrt'); ?>
<i class="fa fas fa-lock"></i> <?php esc_html_e('付费可见', 'aksrt'); ?>
</button>
<?php endif; ?>
</div>
@@ -94,7 +94,7 @@ $is_can_new = !empty($ctx['is_can_new']);
<span class="aksrt-submit-view-btn">
<?php if ($edit_post) : ?>
<a class="but c-blue" target="_blank" href="<?php echo esc_url(get_permalink($edit_post)); ?>">
<i class="fa fa-file-text-o"></i> <?php esc_html_e('预览文章', 'aksrt'); ?>
<i class="fa fas fa-file-alt"></i> <?php esc_html_e('预览文章', 'aksrt'); ?>
</a>
<?php if (current_user_can('manage_options')) : ?>
<a class="but c-yellow" href="<?php echo esc_url(get_edit_post_link($edit_post)); ?>">
@@ -116,7 +116,7 @@ $is_can_new = !empty($ctx['is_can_new']);
(int) $ctx['draft_count']
);
?>
<i class="fa fa-angle-right"></i>
<i class="fa fas fa-angle-right"></i>
</a>
<?php endif; ?>
<?php endif; ?>