From c106a387f2ee8c646d0602b5588f19b2c6e1418a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Sat, 28 Jun 2025 17:04:48 +0800 Subject: [PATCH] Update form descriptions for CMS and friend links Refined the descriptions for the CMS mode and friend link options in the theme configuration form to provide clearer instructions, including specifying the required link category for friend links. --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 9bc3665..68c3feb 100644 --- a/functions.php +++ b/functions.php @@ -29,11 +29,11 @@ function themeConfig($form) $form->addInput($pageprev); $cmsmodel = new Typecho_Widget_Helper_Form_Element_Radio('cmsmodel', array('0'=> _t('否'), '1'=> _t('是')), - '0', _t('CMS模式'), _t('选择"是"开启CMS模式。选择否则使用博客模式')); + '0', _t('CMS模式'), _t('选择"是"开启CMS模式。')); $form->addInput($cmsmodel); $friendlink = new Typecho_Widget_Helper_Form_Element_Radio('friendlink', array('0'=> _t('否'), '1'=> _t('是')), - '0', _t('友情链接'), _t('选择"是"在首页显示友情链接。开启前请安装"Links"插件。默认关闭')); + '0', _t('友情链接'), _t('选择"是"在首页显示友情链接。开启前请安装"Links"插件。链接分类需设置为home,默认关闭')); $form->addInput($friendlink); $social = new Typecho_Widget_Helper_Form_Element_Radio('social', array('0'=> _t('否'), '1'=> _t('是')),