* Disable link when page load as iframe.

This commit is contained in:
songchenxuan
2023-05-25 16:48:02 +08:00
parent a28b37c056
commit a6d0f4ee8a
+10 -2
View File
@@ -142,9 +142,17 @@
<?php if($i > 8) break;?>
<div class="col-xs-6 text-ellipsis">
<?php if($libID == 'files'):?>
<?php echo html::a($this->createLink('doc', 'showFiles', "type=execution&objectID=$execution->id"), "<i class='icon icon-folder text-yellow'></i> " . $docLib->name);?>
<?php if(isonlybody()):?>
<?php echo "<i class='icon icon-folder text-yellow'></i> " . $docLib->name;?>
<?php else:?>
<?php echo html::a($this->createLink('doc', 'showFiles', "type=execution&objectID=$execution->id"), "<i class='icon icon-folder text-yellow'></i> " . $docLib->name);?>
<?php endif;?>
<?php else:?>
<?php echo html::a($this->createLink('execution', 'doc', "objectID={$execution->id}&libID=$libID"), "<i class='icon icon-folder text-yellow'></i> " . $docLib->name, '', "data-app='execution' title='$docLib->name'");?>
<?php if(isonlybody()):?>
<?php echo "<i class='icon icon-folder text-yellow'></i> " . $docLib->name;?>
<?php else:?>
<?php echo html::a($this->createLink('execution', 'doc', "objectID={$execution->id}&libID=$libID"), "<i class='icon icon-folder text-yellow'></i> " . $docLib->name, '', "data-app='execution' title='$docLib->name'");?>
<?php endif;?>
<?php endif;?>
</div>
<?php $i++;?>