* Finish task #8379.

This commit is contained in:
holan20180123
2020-11-17 13:17:15 +08:00
parent fd6502b596
commit 97770dd00f
41 changed files with 338 additions and 338 deletions
+1 -1
View File
@@ -57,7 +57,7 @@
<?php $star = strpos($lib->collector, ',' . $this->app->user->account . ',') !== false ? 'icon-star text-yellow' : 'icon-star-empty';?>
<?php $collectTitle = strpos($lib->collector, ',' . $this->app->user->account . ',') !== false ? $lang->doc->cancelCollection : $lang->doc->collect;?>
<div class="actions">
<?php if($changeAllowed):?>
<?php if($canBeChanged):?>
<?php if(common::hasPriv('doc', 'collect')):?>
<a data-url="<?php echo $this->createLink('doc', 'collect', "objectID=$libID&objectType=doclib");?>" title="<?php echo $collectTitle;?>" class='btn btn-link ajaxCollect'><i class='icon <?php echo $star;?>'></i></a>
<?php endif;?>