blob: 146bf670a131b1ad111b0b1082dcb69dc6dd652b (
plain)
1
2
3
4
5
6
7
8
9
10
|
<?php if ($links && $user->can_view_task($task_details)): ?>
<div class="links">
<?php echo Filters::noXSS(L('referencelinks')); ?><br>
<?php foreach ($links as $link): ?>
<a href="<?php echo Filters::noXSS($link['url']); ?>"><?php echo Filters::noXSS($link['url']); ?></a><br>
<?php endforeach; ?>
</div>
<?php elseif (count($links)): ?>
<div class="links"><?php echo Filters::noXSS(L('linknoperms')); ?></div>
<?php endif; ?>
|