修正排序

This commit is contained in:
joyqi 2013-10-16 09:23:06 +08:00
parent caac2ea4b2
commit 91bb9c9f43
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
echo '<em>(' . _t('密码保护') . ')</em>';
}
?>
<?php if ('#' != $pages->permalink): ?>
<?php if ('page_draft' != $pages->type): ?>
<a class="right" href="<?php $pages->permalink(); ?>"><img src="<?php $options->adminUrl('images/link.png'); ?>" title="<?php _e('浏览 %s', htmlspecialchars($pages->title)); ?>" width="16" height="16" alt="view" /></a>
<?php endif; ?>
</td>

View File

@ -81,7 +81,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
echo '<em>(' . _t('密码保护') . ')</em>';
}
?>
<?php if ('#' != $posts->permalink): ?>
<?php if ('post_draft' != $posts->type): ?>
<a class="right" href="<?php $posts->permalink(); ?>"><img src="<?php $options->adminUrl('images/link.png'); ?>" title="<?php _e('浏览 %s', htmlspecialchars($posts->title)); ?>" width="16" height="16" alt="view" /></a>
<?php endif; ?>
</td>