* Adjust doc browse.

This commit is contained in:
holan20180123
2020-09-03 17:34:24 +08:00
parent d9db4ced51
commit 1111520481
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -1158,10 +1158,10 @@ class docModel extends model
{
if($this->checkPrivLib($lib)) $buildGroups[$objectID][$lib->id] = $lib->name;
}
}
//if($type == 'product' and isset($hasProject[$objectID]) and common::hasPriv('doc', 'allLibs')) $buildGroups[$objectID]['project'] = $this->lang->doclib->project;
if(common::hasPriv('doc', 'showFiles')) $buildGroups[$objectID]['files'] = $this->lang->doclib->files;
//if($type == 'product' and isset($hasProject[$objectID]) and common::hasPriv('doc', 'allLibs')) $buildGroups[$objectID]['project'] = $this->lang->doclib->project;
if(common::hasPriv('doc', 'showFiles')) $buildGroups[$objectID]['files'] = $this->lang->doclib->files;
}
return $buildGroups;
}