index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | themes/CleanFS/templates/common.links.tpl | 10 |
diff --git a/themes/CleanFS/templates/common.links.tpl b/themes/CleanFS/templates/common.links.tpl new file mode 100644 index 0000000..146bf67 --- /dev/null +++ b/themes/CleanFS/templates/common.links.tpl @@ -0,0 +1,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; ?> |