diff options
| -rw-r--r-- | includes/header.php | 2 | ||||
| -rw-r--r-- | themeConfig.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/header.php b/includes/header.php index fc5c6ec..4130d78 100644 --- a/includes/header.php +++ b/includes/header.php @@ -141,7 +141,7 @@ <h1><?php $this->title(); ?></h1> <div class="header-meta"> <?php if($this->fields->meta==''): - if($_SESSION["isPageArchive"]!=true){ ?> + if(!$_SESSION["isPageArchive"]){ ?> <div class="header-meta-line-one"> <?php if($this->is('post')): ?><span class="hint--bottom" data-tooltip="<?php gtaecho('postTexts','sort_title',$this->category) ?>"><i class="iconfont"></i> <?php $this->category(','); ?></span> <?php endif; ?> <?php if($this->fields->commentShow=='0'):?><span class="hint--bottom" data-tooltip="<?php if($this->commentsNum=='0'): gtecho('commentListTexts', 'commentNumNone'); else:gtaecho('commentListTexts', 'commentNum', $this->commentsNum);endif; ?>"><i class="iconfont"></i> <?php $this->commentsNum('0', '1', '%d'); ?></span> <?php endif;?> diff --git a/themeConfig.php b/themeConfig.php index 02f6287..6a04147 100644 --- a/themeConfig.php +++ b/themeConfig.php @@ -8,7 +8,7 @@ */ /* 语言 */ -$GLOBALS['miraclesLang'] = 'en-us'; //在这里写入语言文件的名字(如 zh-cn.php 就是 zh-cn) +$GLOBALS['miraclesLang'] = 'zh-cn'; //在这里写入语言文件的名字(如 zh-cn.php 就是 zh-cn) /* 字体 */ |
