mirror of
https://github.com/jkjoy/typecho-theme-farallon.git
synced 2026-06-17 09:34:29 +00:00
增加了相关文章的设置
6篇
This commit is contained in:
+5
-1
@@ -38,8 +38,12 @@ function themeConfig($form) {
|
||||
$form->addInput($showProfile);
|
||||
$showallwords = new Typecho_Widget_Helper_Form_Element_Radio('showallwords',
|
||||
array('0'=> _t('否'), '1'=> _t('是')),
|
||||
'0', _t('是否显示归档字数统计'), _t('选择“是”将归档页面显示全站总字数。'));
|
||||
'0', _t('是否显示归档字数统计'), _t('选择“是”将在归档页面显示全站总字数。'));
|
||||
$form->addInput($showallwords);
|
||||
$showrelated = new Typecho_Widget_Helper_Form_Element_Radio('showrelated',
|
||||
array('0'=> _t('否'), '1'=> _t('是')),
|
||||
'0', _t('是否显示相关文章'), _t('选择“是”将在文章页面显示相关文章。'));
|
||||
$form->addInput($showrelated);
|
||||
}
|
||||
function get_post_view($archive) {
|
||||
$cid = $archive->cid;
|
||||
|
||||
Reference in New Issue
Block a user