diff --git a/index.php b/index.php index b6fe0303..16b621e5 100644 --- a/index.php +++ b/index.php @@ -5,7 +5,7 @@ * * @package Miracles * @author Eltrac - * @version 1.4.1 + * @version 1.4.2 * @link https://guhub.cn */ if (!defined('__TYPECHO_ROOT_DIR__')) exit; @@ -22,7 +22,17 @@
diff --git a/libs/Options.php b/libs/Options.php index 3144a039..f83cbd67 100755 --- a/libs/Options.php +++ b/libs/Options.php @@ -116,6 +116,8 @@ function themeConfig($form) { $form->addInput($grayTheme); $bodyFonts = new Typecho_Widget_Helper_Form_Element_Select('bodyFonts',array('0'=>'无衬线字体','1'=>'衬线字体'),'0','网站字体','选择网站的字体,无衬线字体即“思源黑体”,衬线字体即“思源宋体”'); $form->addInput($bodyFonts); + $randomBanner = new Typecho_Widget_Helper_Form_Element_Textarea('randomBanner', NULL, NULL, _t('随机文章缩略图'), _t('文章没有独立设置头图时调用,写入图片链接,用半角逗号分割')); + $form->addInput($randomBanner); //LoadingImage $LoadingOptions = [