* Finish task #5026.

This commit is contained in:
Yagami
2018-10-18 14:08:30 +08:00
parent 213ea0af50
commit 5c71ee281d
4 changed files with 8 additions and 13 deletions
+4 -3
View File
@@ -28,6 +28,7 @@ var browseType = '<?php echo $browseType;?>';
<?php include dirname(__FILE__) . '/browsebygrid.html.php';?>
<?php else:?>
<div class="main-col" data-min-width="400">
<div class="cell<?php if($browseType == 'bysearch') echo ' show';?>" id="queryBox"></div>
<div class="panel block-files block-sm no-margin">
<div class="panel-heading">
<div class="panel-title font-normal">
@@ -102,11 +103,11 @@ var browseType = '<?php echo $browseType;?>';
<?php endforeach;?>
<?php endif;?>
<?php if(!empty($attachLibs)):?>
<?php foreach($attachLibs as $libID => $attachLib):?>
<?php foreach($attachLibs as $libType => $attachLib):?>
<tr>
<?php if($libID == 'project'):?>
<?php if($libType == 'project'):?>
<td class="c-name"><?php echo html::a(inlink('allLibs', "type=project&product={$currentLib->product}"), "<i class='icon icon-folder text-yellow'></i> &nbsp;" . $attachLib->name);?></td>
<?php elseif($libID == 'files'):?>
<?php elseif($libType == 'files'):?>
<td class="c-name"><?php echo html::a(inlink('showFiles', "type=$type&objectID={$currentLib->$type}"), "<i class='icon icon-folder text-yellow'></i> &nbsp;" . $attachLib->name);?></td>
<?php endif;?>
<td class="c-num"></td>