summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-09-23 23:41:56 +0800
committerEltrac Koalar <hi@guhub.cn>2022-09-23 23:41:56 +0800
commit77a08c7f285444250adb87c6ac3aaed5a8d5f16e (patch)
tree6b2b0127f4f6a6f60a52b92c79df12503d8ffcd9 /libs
parent42e47d657ae4900e2a6c29644a959124beb8d15f (diff)
:put_litter_in_its_place: Remove: 移除超简洁模式
Diffstat (limited to 'libs')
-rw-r--r--libs/Matcha.php5
-rw-r--r--libs/Options.php12
2 files changed, 1 insertions, 16 deletions
diff --git a/libs/Matcha.php b/libs/Matcha.php
index 6314f2f..b0bf12c 100644
--- a/libs/Matcha.php
+++ b/libs/Matcha.php
@@ -61,10 +61,7 @@ class Matcha
);
}
//必须要在本地引入的文件
- array_push($local_includes,
- "toaster/toaster",
- "matcha/matcha"
- );
+ array_push($local_includes,"toaster/toaster","matcha/matcha");
foreach($local_includes as $value){
echo '<link rel="stylesheet" href="';
Utils::indexTheme('assets/'.$value.'.css');
diff --git a/libs/Options.php b/libs/Options.php
index 80333d4..43180e0 100644
--- a/libs/Options.php
+++ b/libs/Options.php
@@ -28,18 +28,6 @@ function themeConfig($form) {
_t('自定义主题色'),
_t('只有在上一个设置项选择「自定义主题色」,这个设置才会生效,在这里写入任何 css 支持的颜色代码'));
$form->addInput($themeColorCustom);
- //超简洁模式
- $EnableExtraSimple = new Typecho_Widget_Helper_Form_Element_Radio('EnableExtraSimple', array(
- 'able' => _t('启用'),
- 'disable' => _t('停用'),
- ),
- 'disable',
- _t('是否启用「超简洁模式」'),
- _t('
- 启用后开启超简洁模式,页面整体会更干净,也会一定程度上加快页面加载速度。
- ')
- );
- $form->addInput($EnableExtraSimple->addRule('required', _t('此处必须设置')));
//首页摘要显示模式
$IndexDisplayMode = new Typecho_Widget_Helper_Form_Element_Radio('IndexDisplayMode', array(
'FullText' => _t('根据 more 标签截断'),