|
|
@@ -36,7 +36,7 @@ class NewsController extends AdminBaseController{
|
|
|
if($this->iseditor){
|
|
|
$map['author'] = $this->uname;
|
|
|
//加多一个编辑人员下的,如果是审核了,就不显示文章。2020-05-15
|
|
|
- $map['status'] = 0;
|
|
|
+ //$map['status'] = 0;
|
|
|
}
|
|
|
if($catid){
|
|
|
$map['catid'] = $catid;
|
|
|
@@ -52,6 +52,8 @@ class NewsController extends AdminBaseController{
|
|
|
foreach($article_list as $k=>$v){
|
|
|
$article_cates[$v['id']] = $v['catname'];
|
|
|
}
|
|
|
+
|
|
|
+ $this->assign('iseditor',$this->iseditor);
|
|
|
$this->assign('article_cates',$article_cates);
|
|
|
$this->assign('keywords',$keywords);
|
|
|
$this->assign('catid',$catid);
|