mirror of
https://github.com/typecho/typecho.git
synced 2025-01-17 20:48:42 +01:00
fixed #99
This commit is contained in:
parent
5954b77a25
commit
78a386ff41
@ -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);
|
||||
}
|
||||
*/
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user