From 52b009837588f9af8672354d07609735a711c4fe Mon Sep 17 00:00:00 2001 From: Eltrac <45323514+BigCoke233@users.noreply.github.com> Date: Thu, 22 Aug 2019 20:43:41 +0800 Subject: Add files via upload --- libs/Options.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libs/Options.php') diff --git a/libs/Options.php b/libs/Options.php index 047335f..67de72d 100644 --- a/libs/Options.php +++ b/libs/Options.php @@ -64,7 +64,6 @@ function themeConfig($form) {

Miracles 主题设置面板

欢迎使用 Miracles 主题,目前版本是:'. $ver .'
作者博客:Eltrac\'s | 帮助文档:WIKI | 问题反馈:issues

-
      @@ -82,8 +81,6 @@ function themeConfig($form) { //nav $navStyle = new Typecho_Widget_Helper_Form_Element_Select('navStyle',array('0'=>'顶部导航栏','1'=>'左侧抽屉栏'),'0','

导航栏 Nav

类型','选择导航栏的类型(若选择左侧抽屉蓝,则下一条设置失效)'); $form->addInput($navStyle); - $nav_position = new Typecho_Widget_Helper_Form_Element_Select('nav_position',array('0'=>'不固定','1'=>'固定'),'0','是否固定','固定后,导航栏不会随滚动条滚动而移动在屏幕上的位置
'); - $form->addInput($nav_position); //index-banner $bannerUrl = new Typecho_Widget_Helper_Form_Element_Text('bannerUrl', NULL, 'https://s2.ax1x.com/2019/07/10/ZcRGX8.png', _t('

首页大图 Banner

图片 Url'), _t('首页大图的图片地址')); @@ -112,9 +109,9 @@ function themeConfig($form) { $form->addInput($bodyFonts); $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('设置猫咪/自定义模型的高度')); + $ModelHeight = new Typecho_Widget_Helper_Form_Element_Text('ModelHeight', NULL, '320', _t('自定义模型高度'), _t('设置猫咪/自定义模型的高度')); $form->addInput($ModelHeight); - $ModelWidth = new Typecho_Widget_Helper_Form_Element_Text('ModelWidth', NULL, '390', _t('自定义模型宽度'), _t('设置猫咪/自定义模型的宽度')); + $ModelWidth = new Typecho_Widget_Helper_Form_Element_Text('ModelWidth', NULL, '300', _t('自定义模型宽度'), _t('设置猫咪/自定义模型的宽度')); $form->addInput($ModelWidth); $customModel = new Typecho_Widget_Helper_Form_Element_Text('customModel', NULL, NULL, _t('自定义 Live2d 模型'), _t('填入 Live2d 模型的 json 地址,会代替猫咪显示在首页,填入后上一个设置项失效。
')); $form->addInput($customModel); -- cgit v1.2.3