From 6ea3d1d34ace40447f5505eb13f132d5876b4c70 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Sun, 12 Apr 2020 15:02:49 +0800 Subject: =?UTF-8?q?:cactus:=20Perf:=20=E6=94=AF=E6=8C=81=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E6=87=92=E5=8A=A0=E8=BD=BD=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Options.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libs/Options.php') diff --git a/libs/Options.php b/libs/Options.php index 21ece40..d16d2d4 100755 --- a/libs/Options.php +++ b/libs/Options.php @@ -42,14 +42,12 @@ function themeConfig($form) { } } } - /** * 设置样式+面板 */ $ver = themeVersion(); $themeDir = "/usr/themes/Miracles/"; - echo ''; echo '

Miracles 主题设置面板

@@ -154,9 +152,10 @@ function themeConfig($form) { 'block' => "交错方块", 'octopus' => "旋转章鱼", 'bilibili' => "哔哩哔哩", - 'shojo' => "少女祈祷" + 'shojo' => "少女祈祷", + 'custom' => "自定义" ]; - $LoadingImage = new Typecho_Widget_Helper_Form_Element_Radio('loading_image', $LoadingOptions, 'block', _t('图片懒加载动画'),_t("")); + $LoadingImage = new Typecho_Widget_Helper_Form_Element_Radio('loading_image', $LoadingOptions, 'block', _t('图片懒加载动画'),_t("选择懒加载动画的图片,若选择自定义,则需要在 images/loading 目录下添加名为 custom.gif 的文件")); $form->addInput($LoadingImage); //SiteBuildTime -- cgit v1.2.3