From b501f1b8bab0127f7ea91b52d6ffbc438293b151 Mon Sep 17 00:00:00 2001 From: Eltrac Koalar Date: Sat, 26 Nov 2022 10:25:15 +0800 Subject: =?UTF-8?q?=F0=9F=A6=B6=20=E6=96=B0=E5=A2=9E=EF=BC=9A=E9=A1=B5?= =?UTF-8?q?=E8=84=9A=E5=8F=AF=E8=87=AA=E5=AE=9A=E4=B9=89=E9=A2=9D=E5=A4=96?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 同时将字数统计和不算子统计整合在一起 --- libs/Options.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'libs/Options.php') diff --git a/libs/Options.php b/libs/Options.php index 0d3a014..6cb7596 100644 --- a/libs/Options.php +++ b/libs/Options.php @@ -169,15 +169,19 @@ function themeConfig($form) { * 自定义 & 开发者设置 */ //自定义时间显示 - $timeFormat = new Typecho_Widget_Helper_Form_Element_Text('timeFormat', NULL, NULL, _t('

开发者设置

自定义时间格式'), _t(' + $timeFormat = new Typecho_Widget_Helper_Form_Element_Text('timeFormat', NULL, NULL, _t('

自定义

自定义时间格式'), _t('

留空则默认采用人性化时间(即“昨天、前天、几天前”),若不想要使用人性化时间则在此填入 PHP 时间格式,例如:Y-m-d G:i:s

')); $form->addInput($timeFormat); + //自定义页脚附加信息 + $footerInfo = new Typecho_Widget_Helper_Form_Element_Text('footerInfo', NULL, NULL, _t('页脚附加信息'), _t(' +

将会在显示在 footer 标签结束之前,即页脚版权信息和不算子统计之后,可以在这里写入备案信息等附加内容

')); + $form->addInput($footerInfo); //自定义 head - $customHead = new Typecho_Widget_Helper_Form_Element_Textarea('customHead', NULL, NULL, _t('自定义 head 头部信息'), _t(' + $customHead = new Typecho_Widget_Helper_Form_Element_Textarea('customHead', NULL, NULL, _t('自定义 head 头部'), _t('

将会输出在 head 标签结束之前,通常用于引入 css 文件。

')); $form->addInput($customHead); //自定义 footer - $customFooter = new Typecho_Widget_Helper_Form_Element_Textarea('customFooter', NULL, NULL, _t('自定义 footer 页脚信息'), _t(' + $customFooter = new Typecho_Widget_Helper_Form_Element_Textarea('customFooter', NULL, NULL, _t('自定义 footer 页脚'), _t('

将会输出在 body 标签结束之前,通常用于引入 js 文件。

')); $form->addInput($customFooter); //自定义 pjax 回调函数 -- cgit v1.2.3