From bf183e944f0cbb924b73c84d2c8cdb7b59d35eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=94=E8=90=BD?= <45323514+BigCoke233@users.noreply.github.com> Date: Sat, 6 Apr 2019 16:48:17 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E7=8E=B0=E5=9C=A8=E5=85=B7=E6=9C=89?= =?UTF-8?q?data-pjax=E7=89=B9=E6=80=A7=E7=9A=84=E5=85=83=E7=B4=A0=E6=89=8D?= =?UTF-8?q?=E8=83=BD=E4=BD=BFpjax=E5=93=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 902d8af..191ba5d 100644 --- a/functions.php +++ b/functions.php @@ -7,6 +7,9 @@ function themeFields($layout) { $banner = new Typecho_Widget_Helper_Form_Element_Text('banner', NULL, NULL, _t('文章缩略图'), _t('填入一个图片url作为缩略图,显示在文章列表和文章页面顶部,不填写则没有缩略图')); $layout->addItem($banner); + $topic = new Typecho_Widget_Helper_Form_Element_Text('topic', NULL, NULL, _t('题记'), _t('输入一段话,作为题记显示在文章列表(仅普通文章有效) 和 文章内页')); + $layout->addItem($topic); + $type=new Typecho_Widget_Helper_Form_Element_Select('type',array('0'=>'一般文章','1'=>'说说','2'=>'小板式文章(New)'),'0','文章类型'); $layout->addItem($type); } -- cgit v1.2.3