From 4376b3389f7caad9a4997d324c4f63528c2069f6 Mon Sep 17 00:00:00 2001 From: Eltrac <45323514+BigCoke233@users.noreply.github.com> Date: Sat, 27 Jul 2019 17:16:06 +0800 Subject: =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=87=AA=E5=AE=9A=E4=B9=89=20Live2d?= =?UTF-8?q?=20=E6=A8=A1=E5=9E=8B=EF=BC=8C=E4=BB=A5=E5=8F=8A=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E5=AE=BD=E9=AB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Options.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libs/Options.php') diff --git a/libs/Options.php b/libs/Options.php index 3c85ede..1af856a 100644 --- a/libs/Options.php +++ b/libs/Options.php @@ -106,12 +106,18 @@ function themeConfig($form) { $form->addInput($CDN); //custom style - $grayTheme = new Typecho_Widget_Helper_Form_Element_Select('grayTheme',array('0'=>'关闭','1'=>'开启'),'0','

个性化

哀悼模式','为京阿尼纵火时间而设计的开关,打开后网站变为黑白,Pray for 京阿尼'); + $grayTheme = new Typecho_Widget_Helper_Form_Element_Select('grayTheme',array('0'=>'关闭','1'=>'开启'),'0','

个性化

哀悼模式','为京阿尼纵火事件而设计的开关,打开后网站变为黑白,Pray for 京阿尼'); $form->addInput($grayTheme); $bodyFonts = new Typecho_Widget_Helper_Form_Element_Select('bodyFonts',array('0'=>'无衬线字体','1'=>'衬线字体'),'0','网站字体','选择网站的字体,无衬线字体即“思源黑体”,衬线字体即“思源宋体”'); $form->addInput($bodyFonts); - $cat = new Typecho_Widget_Helper_Form_Element_Select('cat',array('0'=>'不要','1'=>'小黑','2'=>'小白'),'0','领养猫咪','领养一只猫咪,这样你就可以在前台看到它啦!
'); + $cat = new Typecho_Widget_Helper_Form_Element_Select('cat',array('0'=>'不要','1'=>'小黑','2'=>'小白'),'0','领养猫咪','领养一只猫咪,这样你就可以在前台看到它啦!'); $form->addInput($cat); + $ModelHeight = new Typecho_Widget_Helper_Form_Element_Text('ModelHeight', NULL, '480', _t('自定义模型高度'), _t('设置猫咪/自定义模型的高度')); + $form->addInput($ModelHeight); + $ModelWidth = new Typecho_Widget_Helper_Form_Element_Text('ModelWidth', NULL, '390', _t('自定义模型宽度'), _t('设置猫咪/自定义模型的宽度')); + $form->addInput($ModelWidth); + $customModel = new Typecho_Widget_Helper_Form_Element_Text('customModel', NULL, NULL, _t('自定义 Live2d 模型'), _t('填入 Live2d 模型的 json 地址,会代替猫咪显示在首页,填入后上一个设置项失效。
')); + $form->addInput($customModel); //developer $headerEcho = new Typecho_Widget_Helper_Form_Element_Textarea('headerEcho', NULL, NULL, _t('

开发者设置

自定义头部信息'), _t('填写 html 代码,将输出在 <head> 标签中')); -- cgit v1.2.3