From f142d61f01fc57cf7befe2cc71cc8a3f8b0fdc82 Mon Sep 17 00:00:00 2001 From: Kurococ Liu <21096362+KurococLiu@users.noreply.github.com> Date: Sun, 23 Oct 2022 12:58:52 +0800 Subject: =?UTF-8?q?:newspaper:=20=20Add:=20=E5=8A=A0=E5=85=A5preconnect?= =?UTF-8?q?=E3=80=81=E5=AD=97=E6=95=B0=E7=BB=9F=E8=AE=A1=EF=BC=8CReadme?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=85=AC=E7=9B=8ACDN=E5=90=8D=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Options.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libs/Options.php') diff --git a/libs/Options.php b/libs/Options.php index fde322b..04384c0 100644 --- a/libs/Options.php +++ b/libs/Options.php @@ -133,6 +133,18 @@ function themeConfig($form) { ') ); $form->addInput($EnableBusuanzi->addRule('required', _t('此处必须设置'))); + //启用字数统计 + $EnableWordsCounter = new Typecho_Widget_Helper_Form_Element_Radio('EnableWordsCounter', array( + 'able' => _t('启用'), + 'disable' => _t('停用'), + ), + 'able', + _t('是否启用 字数统计 功能'), + _t(' + 字数统计是一个基于WordsCounter插件统计全站字数的,默认启用 + ') + ); + $form->addInput($EnableWordsCounter->addRule('required', _t('此处必须设置'))); /** * 自定义 & 开发者设置 -- cgit v1.2.3