From 4907670357e0c09015865fe5d79fef78ede64821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Wed, 22 May 2024 11:29:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=98=AF=E5=90=A6=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=96=87=E7=AB=A0=E7=9B=AE=E5=BD=95=E5=92=8C=E5=A4=8D?= =?UTF-8?q?=E5=88=B6=E9=93=BE=E6=8E=A5=E7=9A=84=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/functions.php b/functions.php index acc5865..f77beac 100644 --- a/functions.php +++ b/functions.php @@ -44,6 +44,14 @@ function themeConfig($form) { array('0'=> _t('否'), '1'=> _t('是')), '0', _t('是否显示相关文章'), _t('选择“是”将在文章页面显示相关文章。')); $form->addInput($showrelated); + $showshare = new Typecho_Widget_Helper_Form_Element_Radio('showshare', + array('0'=> _t('否'), '1'=> _t('是')), + '0', _t('是否显示复制链接'), _t('选择“是”将在文章页面显示复制链接。')); + $form->addInput($showshare); + $showtoc = new Typecho_Widget_Helper_Form_Element_Radio('showtoc', + array('0'=> _t('否'), '1'=> _t('是')), + '0', _t('是否显示文章目录'), _t('选择“是”将在文章页面显示文章目录(仅在宽度大于1400px的设备中显示)。')); + $form->addInput($showtoc); } function get_post_view($archive) { $cid = $archive->cid;