From 52ab9c1909f39c8854e8235cddd351ef72505e91 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Thu, 30 Jul 2020 23:49:46 +0800 Subject: =?UTF-8?q?:fire:=20Del:=20=E7=A7=BB=E9=99=A4=E6=97=A7=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=89=80=E6=9C=89=E6=96=87=E4=BB=B6=EF=BC=8C=E5=87=86?= =?UTF-8?q?=E5=A4=87=202.0=20=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/comments.php | 112 ------------------------------ includes/footer.php | 82 ---------------------- includes/head.php | 67 ------------------ includes/header.php | 184 -------------------------------------------------- 4 files changed, 445 deletions(-) delete mode 100644 includes/comments.php delete mode 100644 includes/footer.php delete mode 100644 includes/head.php delete mode 100644 includes/header.php (limited to 'includes') diff --git a/includes/comments.php b/includes/comments.php deleted file mode 100644 index 74cea9c..0000000 --- a/includes/comments.php +++ /dev/null @@ -1,112 +0,0 @@ -authorId) { - if ($comments->authorId == $comments->ownerId) { - $commentClass .= ' comment-by-author'; //如果是文章作者的评论添加 .comment-by-author 样式 - } else { - $commentClass .= ' comment-by-user'; //如果是评论作者的添加 .comment-by-user 样式 - } - } - $commentLevelClass = $comments->_levels > 0 ? ' comment-child' : ' comment-parent'; //评论层数大于0为子级,否则是父级 -?> - - - -
- comments()->to($comments); ?> - fields->commentShow == 0)://如果显示评论列表 ?> - have())://如果有评论 则显示 ?> -
-

commentsNum(_t(gt('commentListTexts','commentNumNone')), _t(gta('commentListTexts','commentNum','1')), _t(gta('commentListTexts','commentNum','%d'))); ?>

- listComments(array( - 'before' => '
', - 'after' => '
', - 'avatarSize' => 200, - 'dateFormat' => 'Y-m-d H:i' - )); ?> -
- pageNav('', ''); ?> -
-
- - - - allow('comment')): ?>
- - -
- - allow('comment')): ?> -
- -
- - user->hasLogin()): ?> - -

user->screenName(); ?>.

- - - -
- - options->commentsRequireMail): ?> required /> - options->commentsRequireURL): ?> required /> -
- - -

- -

-

-

-
cancelReply(); ?>
- -

-
-
- - -
- -
-
- options->commentsAntiSpam) { Comments::AntiSpam($this->respondId, Typecho_Common::shuffleScriptVar($this->security->getToken(preg_replace('/\??&?_pjax=[^&]+/i','',$this->request->getRequestUrl())))); } ?> diff --git a/includes/footer.php b/includes/footer.php deleted file mode 100644 index 197c040..0000000 --- a/includes/footer.php +++ /dev/null @@ -1,82 +0,0 @@ - - - - - -
- -
- - options->customCDN): $custom=$this->options->customCDN; else: $custom=Helper::options()->themeUrl("","Miracles"); endif; - Utils::addRequires($js_files,"js",$this->options->CDN,$custom); - ?> - - - - options->customCDN): $custom=$this->options->customCDN; else: $custom=Helper::options()->themeUrl("","Miracles"); endif; - Utils::addRequires($js_files,"js",$this->options->CDN,$custom); - ?> - - - - - - footer(); ?> - - - - diff --git a/includes/head.php b/includes/head.php deleted file mode 100644 index 91af310..0000000 --- a/includes/head.php +++ /dev/null @@ -1,67 +0,0 @@ - - -options->grayTheme && $this->options->grayTheme=1): ?> class="html-filter-gray"> - - - - - - - is('post') || $this->is('page')){ - if(isset($this->fields->excerpt)) - $description = $this->fields->excerpt; - }else{ - $description = Helper::options()->description; - }?> - <?php Contents::title($this); ?> - - - - - - - - - - - - - - - - - - header('generator=&pingback=&xmlrpc=&wlw=&commentReply=&description=&antiSpam='); ?> - options->headerEcho(); ?> - - options->customCDN): $custom=$this->options->customCDN; else: $custom=Helper::options()->themeUrl("","Miracles"); endif; - Utils::addRequires($css_files,"css",$this->options->CDN,$custom); - ?> - - - - - - - \ No newline at end of file diff --git a/includes/header.php b/includes/header.php deleted file mode 100644 index a35fdc9..0000000 --- a/includes/header.php +++ /dev/null @@ -1,184 +0,0 @@ - - options->navStyle==1): ?>
- - - - - - - options->navStyle==0): ?> - -
- -

- - -
- - - - - - - options->navStyle==0): ?> - - - options->navStyle==1): ?> - - - - - - -
-
- - is('post') || $this->is('page')): ?> -
-- cgit v1.2.3