This commit is contained in:
joyqi 2013-12-02 15:32:43 +08:00
parent 5954b77a25
commit 78a386ff41
2 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,11 @@ function themeConfig($form) {
$form->addInput($sidebarBlock->multiMode());
}
/*
function themeFields($layout) {
$logoUrl = new Typecho_Widget_Helper_Form_Element_Text('logoUrl', NULL, NULL, _t('站点LOGO地址'), _t('在这里填入一个图片URL地址, 以在网站标题前加上一个LOGO'));
$layout->addItem($logoUrl);
}
*/

View File

@ -1239,7 +1239,7 @@ class Widget_Archive extends Widget_Abstract_Contents
(table.contents.status = ? AND table.contents.authorId = ?)',
'publish', 'hidden', 'private', $this->user->uid);
} else {
$select = $this->select()->where('table.contents.status = ? OR table.contents.status',
$select = $this->select()->where('table.contents.status = ? OR table.contents.status = ?',
'publish', 'hidden');
}
} else {