From 92f846f64f4383bb1bcc7ffbaf69fc2fc0b7e827 Mon Sep 17 00:00:00 2001 From: augushong Date: Sat, 28 May 2022 17:53:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AF=BC=E5=87=BA=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=E5=8A=9F=E8=83=BD=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/tools/post_block/copyright.html | 4 +--- view/admin/post/output.html | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/app/common/tools/post_block/copyright.html b/app/common/tools/post_block/copyright.html index d60fdd8..b28513f 100644 --- a/app/common/tools/post_block/copyright.html +++ b/app/common/tools/post_block/copyright.html @@ -8,7 +8,5 @@

原文平台:{:get_system_config('site_name')}

-

- 版权声明:{:get_system_config('post_copyright')} -

+

版权声明:{:get_system_config('post_copyright')}

\ No newline at end of file diff --git a/view/admin/post/output.html b/view/admin/post/output.html index caca165..0823338 100644 --- a/view/admin/post/output.html +++ b/view/admin/post/output.html @@ -52,7 +52,13 @@
{$post.desc}
+
+ {notempty name='$post.poster'} +
+ +
+ {/notempty} {$post->content_html|raw} {:\\app\\common\\tools\\PostBlock::copyright($post)} @@ -65,8 +71,9 @@ 选中标题 选中描述 选中内容 - 插入声明 - 显示声明 + + +
代码转临时图片
@@ -131,6 +138,10 @@ }) }) + $('.remove-copyright').click(function () { + $('.copyright-inner').remove(); + }) + $('.show-copyright').click(function () { if ($('.article-body').hasClass('show-copyright-inner')) { $('.article-body').removeClass('show-copyright-inner')