Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/themes/CleanFS/templates/common.editlinks.tpl
blob: 395d3884e381e9ed08bd2884df901fd0349afa20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php if($links): ?>
<table class="links">
<thead>
    <tr><th><?php echo Filters::noXSS(L('link')); ?></th><th<?php echo $user->perms('delete_attachments') ? '' : ' style="color:#999"'; ?>><?php echo Filters::noXSS(L('delete')); ?></th></tr>
</thead>
<tbody>
<?php foreach ($links as $link): ?>
    <tr>
        <td><a href="<?php echo Filters::noXSS($link['url']); ?>"><?php echo Filters::noXSS($link['url']); ?></a></td>
        <td><input type="checkbox" <?php echo Filters::noXSS(tpl_disableif(!$user->perms('delete_attachments'))); ?> name="delete_link[]" value="<?php echo $link['link_id']; ?>" /></td>
    </tr>
<?php endforeach; ?>
</tbody>
</table>
<?php endif; ?>