给文章增加一个隐私选项,可以选择让文章不现实出来,而只能通过url访问

增加可以调整分类固定链接样式的选项
This commit is contained in:
joyqi
2013-11-17 21:22:12 +08:00
parent 50c42c5946
commit fc5afc23bc
6 changed files with 47 additions and 12 deletions
+2
View File
@@ -74,6 +74,8 @@ $stat = Typecho_Widget::widget('Widget_Stat');
<?php
if ($posts->hasSaved || 'post_draft' == $posts->type) {
echo '<em class="status">' . _t('草稿') . '</em>';
} else if ('hidden' == $posts->status) {
echo '<em class="status">' . _t('隐藏') . '</em>';
} else if ('waiting' == $posts->status) {
echo '<em class="status">' . _t('待审核') . '</em>';
} else if ('private' == $posts->status) {