Revision: 1537
Author:   magike.net
Date:     Wed Mar 28 02:09:41 2012
Log:      很显然,这里修正错了
http://code.google.com/p/typecho/source/detail?r=1537

Modified:
 /trunk/var/Widget/Comments/Admin.php
 /trunk/var/Widget/XmlRpc.php

=======================================
--- /trunk/var/Widget/Comments/Admin.php        Mon Feb 27 10:45:30 2012
+++ /trunk/var/Widget/Comments/Admin.php        Wed Mar 28 02:09:41 2012
@@ -108,9 +108,7 @@
$select->where('table.comments.status = ?', $this->request->status);
         } else if ('hold' == $this->request->status) {
             $select->where('table.comments.status <> ?', 'approved');
-        } else if ('all' != $this->request->status) {
- $select->where('table.comments.status = ? OR table.comments.status = ?', 'approved', 'waiting');
-        } else if ('available' != $this->request->status) {
+        } else {
             $select->where('table.comments.status = ?', 'approved');
         }

=======================================
--- /trunk/var/Widget/XmlRpc.php        Wed Jun 23 22:10:13 2010
+++ /trunk/var/Widget/XmlRpc.php        Wed Mar 28 02:09:41 2012
@@ -769,8 +769,8 @@
         }

         return array(
-            'hold'      =>  _t('显示'),
-            'approve'   =>  _t('待审核'),
+            'hold'      =>  _t('待审核'),
+            'approve'   =>  _t('显示'),
             'spam'      =>  _t('垃圾')
         );
     }
@@ -938,7 +938,6 @@
$input['status'] = 'hold' == $input['status'] ? $input['status'] :
                 $this->wordpressToTypechoStatus($struct['status']);
         } else {
-            $input['status'] = 'available';
             $input['__typecho_all_comments'] = 'on';
         }

_______________________________________________
announce mailing list
[email protected]
http://lists.typecho.org/mailman/listinfo/announce

回复