summaryrefslogtreecommitdiff
path: root/libs/Options.php
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-09-20 00:19:46 +0800
committerEltrac Koalar <hi@guhub.cn>2022-09-20 00:19:46 +0800
commit0be5b82ef6e8a42a8213759b70bc1d63dad2d0f1 (patch)
tree1231e3fb8c1b41ff438329fcc0b674b73b8c8bee /libs/Options.php
parentf1f2233871a52575afe59b89151b6eab33cce764 (diff)
:lips: Perf: 优化友情链接功能
- 移除 masonry,停用瀑布流布局 - 暂时使用 inline-block 布局友情链接 - 移除友情链接随机排序功能
Diffstat (limited to 'libs/Options.php')
-rw-r--r--libs/Options.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/libs/Options.php b/libs/Options.php
index 80f0d15..43180e0 100644
--- a/libs/Options.php
+++ b/libs/Options.php
@@ -102,18 +102,6 @@ function themeConfig($form) {
')
);
$form->addInput($EnableViewsCount->addRule('required', _t('此处必须设置')));
- //友情链接随机排序
- $EnableRandomLinks = new Typecho_Widget_Helper_Form_Element_Radio('EnableRandomLinks', array(
- 'able' => _t('启用'),
- 'disable' => _t('停用'),
- ),
- 'able',
- _t('是否启用友情链接随机排序'),
- _t('
- 启用后,友情链接页面的友情链接列表将会随机排序,每次刷新后得到的顺序都不一样。
- ')
- );
- $form->addInput($EnableRandomLinks->addRule('required', _t('此处必须设置')));
//启用不蒜子统计
$EnableBusuanzi = new Typecho_Widget_Helper_Form_Element_Radio('EnableBusuanzi', array(
'able' => _t('启用'),