From c4d20db153d8e810940ee505c194a9c4dcf58d54 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Sun, 12 Apr 2020 16:10:53 +0800 Subject: =?UTF-8?q?:book:=20=E4=B8=AD=E8=8B=B1=E6=96=87=E5=88=86=E5=89=B2?= =?UTF-8?q?=E5=BC=80=E5=85=B3=20&=20=E4=BC=98=E5=8C=96=E5=8F=8B=E6=83=85?= =?UTF-8?q?=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 现在允许在后台选择是否开始 Pangu,js 分割中英文 - 友情链接的头像不在通过 div 的背景图展示,而是 img 标签,并适配懒加载 --- libs/Options.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libs/Options.php') diff --git a/libs/Options.php b/libs/Options.php index 226e0fc..c3d84d0 100755 --- a/libs/Options.php +++ b/libs/Options.php @@ -138,8 +138,10 @@ function themeConfig($form) { $form->addInput($CDN); $customCDN = new Typecho_Widget_Helper_Form_Element_Text('customCDN', NULL, '', _t('自定义 CDN'), _t('输入 CDN 的链接,要保证写入的路径下,目录结构和主题的 assets 目录下一致')); $form->addInput($customCDN); - $ifShowRTA = new Typecho_Widget_Helper_Form_Element_Select('ifShowRTA',array('0'=>'不显示','1'=>'显示'),'0','阅读时长提示 RTA','在文章前加入阅读时长提示,增进用户体验
'); + $ifShowRTA = new Typecho_Widget_Helper_Form_Element_Select('ifShowRTA',array('0'=>'不显示','1'=>'显示'),'0','阅读时长提示 RTA','在文章前加入阅读时长提示,增进用户体验'); $form->addInput($ifShowRTA); + $pangu = new Typecho_Widget_Helper_Form_Element_Select('pangu',array('0'=>'启用','1'=>'关闭'),'0','自动分割中英文(pangu.js)','自动分割网页中的中英文,在全角字符和半角字符之间加上空格,也会修复一些标点符号的错误(.=>。),可能会有误判或是有人不喜欢,所以在这里加个按钮
'); + $form->addInput($pangu); //custom style $grayTheme = new Typecho_Widget_Helper_Form_Element_Select('grayTheme',array('0'=>'关闭','1'=>'开启'),'0','

个性化

哀悼模式','打开后网站变为黑白'); -- cgit v1.2.3