修正一堆bug

This commit is contained in:
joyqi
2013-10-15 14:51:53 +08:00
parent 4eb811e95e
commit f8340044ae
7 changed files with 22 additions and 23 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
<td>
<a href="<?php $options->adminUrl('write-post.php?cid=' . $posts->cid); ?>"><?php $posts->title(); ?></a>
<?php
if ($posts->hasSaved() || 'post_draft' == $posts->type) {
if ($posts->hasSaved || 'post_draft' == $posts->type) {
echo '<em>(' . _t('草稿') . ')</em>';
} else if ('waiting' == $posts->status) {
echo '<em>(' . _t('待审核') . ')</em>';