diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2019-07-25 18:25:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-25 18:25:55 +0800 |
| commit | 1718bd7eda230ecc5f26fa75938c712c0ea38ad4 (patch) | |
| tree | 1916ab5408a6bb90179e8f968f0f260b79ff1edc /libs | |
| parent | 35a51540b738f47c500b47a3398416e951096e5a (diff) | |
Add files via upload
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/Options.php | 4 |
1 files changed, 4 insertions, 0 deletions
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('<h2>首要设置 First</h2>全站公告'), _t('输入公告内容,用户进入站点时自动弹出'));
+ $form->addInput($news);
+
//nav
$navStyle = new Typecho_Widget_Helper_Form_Element_Select('navStyle',array('0'=>'顶部导航栏','1'=>'左侧抽屉蓝'),'0','<h2>导航栏 Nav</h2>类型','选择导航栏的类型(若选择左侧抽屉蓝,则下一条设置失效)');
$form->addInput($navStyle);
|
