summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-11-26 09:06:30 +0800
committerEltrac Koalar <hi@guhub.cn>2022-11-26 09:06:30 +0800
commit8a13acb41956fb13ac5a88fb8c87c9a3209ea085 (patch)
treeb70766ca62150cae0fbe6aaa6ee5ccbb543c30b3
parentbf285ac1dee6be5f9c7961549dd904c2f9066094 (diff)
Update Options.php
-rw-r--r--libs/Options.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/Options.php b/libs/Options.php
index fde322b..6b1d6f5 100644
--- a/libs/Options.php
+++ b/libs/Options.php
@@ -49,6 +49,19 @@ function themeConfig($form) {
);
$form->addInput($IndexDisplayMode->addRule('required', _t('此处必须设置')));
+ //启用 ajax 评论
+ $EnableExtraSimple = new Typecho_Widget_Helper_Form_Element_Radio('EnableExtraSimple', array(
+ 'able' => _t('启用'),
+ 'disable' => _t('停用'),
+ ),
+ 'able',
+ _t('超简洁模式(Beta)'),
+ _t('
+
+ ')
+ );
+ $form->addInput($EnableExtraSimple->addRule('required', _t('此处必须设置')));
+
/**
* 相关信息
*/