From fd639a1ffaebb0e38cb32e20daf92ed3e7de8fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Mon, 20 May 2024 20:04:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AA=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E9=A1=B5=E9=9D=A2=E7=BC=96=E8=BE=91=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E7=9A=84=E8=B6=85=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- footer.php | 9 ++------- post.php | 8 ++++++++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/footer.php b/footer.php index 5292fb2..449d4ce 100644 --- a/footer.php +++ b/footer.php @@ -9,7 +9,7 @@ options->sitemapurl): ?> 💗 - Typecho驱动   Made with 老孙💗 加载耗时 + Powered by Typecho   Made with Sun💗 加载耗时 💗 - - - options->tongji(); ?> - + options->tongji(); ?> -
- footer(); ?> diff --git a/post.php b/post.php index fd24b03..111c607 100644 --- a/post.php +++ b/post.php @@ -27,6 +27,14 @@
commentsNum('评论', '1 评论', '%d 评论'); ?> + user->hasLogin() && $this->user->pass('editor', true)): ?> + + + + + 编辑文章 +

title() ?>

content(); ?>