* Finish task #8194.

This commit is contained in:
holan20180123
2020-11-13 09:08:04 +08:00
parent 3ae9a9189e
commit 583790a08e
+1 -1
View File
@@ -74,7 +74,7 @@ var browseType = '<?php echo $browseType;?>';
<p>
<?php if($libID):?>
<span class="text-muted"><?php echo $lang->doc->noDoc;?></span>
<?php if(common::hasPriv('doc', 'create')):?>
<?php if(common::hasPriv('doc', 'create') and common::checkObjectChangeAllowed('doc', $currentLib)):?>
<?php echo html::a($this->createLink('doc', 'create', "libID={$libID}&moduleID=$moduleID"), "<i class='icon icon-plus'></i> " . $lang->doc->create, '', "class='btn btn-info'");?>
<?php endif;?>
<?php elseif($browseType == 'byediteddate'):?>