From 1718bd7eda230ecc5f26fa75938c712c0ea38ad4 Mon Sep 17 00:00:00 2001 From: Eltrac <45323514+BigCoke233@users.noreply.github.com> Date: Thu, 25 Jul 2019 18:25:55 +0800 Subject: Add files via upload --- libs/Options.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/Options.php') diff --git a/libs/Options.php b/libs/Options.php index e7c06b7..3c85ede 100644 --- a/libs/Options.php +++ b/libs/Options.php @@ -75,6 +75,10 @@ function themeConfig($form) { /** * 设置项 */ + //首要设置项 + $news = new Typecho_Widget_Helper_Form_Element_Text('news', NULL, NULL, _t('

首要设置 First

全站公告'), _t('输入公告内容,用户进入站点时自动弹出')); + $form->addInput($news); + //nav $navStyle = new Typecho_Widget_Helper_Form_Element_Select('navStyle',array('0'=>'顶部导航栏','1'=>'左侧抽屉蓝'),'0','

导航栏 Nav

类型','选择导航栏的类型(若选择左侧抽屉蓝,则下一条设置失效)'); $form->addInput($navStyle); -- cgit v1.2.3