diff --git a/admin/manage-pages.php b/admin/manage-pages.php
index d81305e4..ee42c658 100644
--- a/admin/manage-pages.php
+++ b/admin/manage-pages.php
@@ -66,12 +66,6 @@ $stat = Typecho_Widget::widget('Widget_Stat');
echo '' . _t('草稿') . '';
} else if ('hidden' == $pages->status) {
echo '' . _t('隐藏') . '';
- } else if ('waiting' == $pages->status) {
- echo '' . _t('待审核') . '';
- } else if ('private' == $pages->status) {
- echo '' . _t('私密') . '';
- } else if ($pages->password) {
- echo '' . _t('密码保护') . '';
}
?>
type): ?>
diff --git a/admin/write-page.php b/admin/write-page.php
index 8673d6a1..c42b501a 100644
--- a/admin/write-page.php
+++ b/admin/write-page.php
@@ -82,6 +82,14 @@ Typecho_Widget::widget('Widget_Contents_Page_Edit')->to($page);
+
+
diff --git a/var/Widget/Archive.php b/var/Widget/Archive.php
index 80249147..6f3e6eb0 100644
--- a/var/Widget/Archive.php
+++ b/var/Widget/Archive.php
@@ -1233,7 +1233,7 @@ class Widget_Archive extends Widget_Abstract_Contents
/** 定时发布功能 */
if (!$selectPlugged) {
- if ('post' == $this->parameter->type) {
+ if ('post' == $this->parameter->type || 'page' == $this->parameter->type) {
if ($this->user->hasLogin()) {
$select = $this->select()->where('table.contents.status = ? OR table.contents.status = ? OR
(table.contents.status = ? AND table.contents.authorId = ?)',
diff --git a/var/Widget/Contents/Page/Edit.php b/var/Widget/Contents/Page/Edit.php
index 2dcf6fa3..15d523b0 100644
--- a/var/Widget/Contents/Page/Edit.php
+++ b/var/Widget/Contents/Page/Edit.php
@@ -60,10 +60,11 @@ class Widget_Contents_Page_Edit extends Widget_Contents_Post_Edit implements Wid
public function writePage()
{
$contents = $this->request->from('text', 'template', 'allowComment',
- 'allowPing', 'allowFeed', 'slug', 'order');
+ 'allowPing', 'allowFeed', 'slug', 'order', 'visibility');
$contents['title'] = $this->request->get('title', _t('未命名页面'));
$contents['created'] = $this->getCreated();
+ $contents['visibility'] = ('hidden' == $contents['visibility'] ? 'hidden' : 'publish');
if ($this->request->markdown && $this->options->markdown) {
$contents['text'] = '' . $contents['text'];