summaryrefslogtreecommitdiffstats
path: root/templates/show_access_list.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-25 01:05:23 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-25 01:05:23 +0000
commite32557bf900153c5cfb0d2f28640aa9091ef7488 (patch)
tree56e2d9b722c582d536a6b3e8065914851894db72 /templates/show_access_list.inc
parent3ad79fc4c9a6718a336fd929e33b6a0ac9bbf173 (diff)
downloadampache-e32557bf900153c5cfb0d2f28640aa9091ef7488.tar.gz
ampache-e32557bf900153c5cfb0d2f28640aa9091ef7488.tar.bz2
ampache-e32557bf900153c5cfb0d2f28640aa9091ef7488.zip
finished up ACL work
Diffstat (limited to 'templates/show_access_list.inc')
-rw-r--r--templates/show_access_list.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/show_access_list.inc b/templates/show_access_list.inc
index 13a24fbd..20dddab0 100644
--- a/templates/show_access_list.inc
+++ b/templates/show_access_list.inc
@@ -44,7 +44,7 @@ stream from this server.</p>
<a href="<?php echo $web_path; ?>/admin/access.php?action=show_add_host"><?php echo _('Add Entry'); ?></a>
</span>
</p>
-
+<?php if (count($list)) { ?>
<table cellspacing="1" cellpadding="3" class="border">
<tr class="table-header" align="center">
<td><?php echo _('Name'); ?></td>
@@ -57,7 +57,6 @@ stream from this server.</p>
<td><?php echo _('Action'); ?></td>
</tr>
<?php
-if (count($list)) {
/* Start foreach List Item */
foreach ($list as $access) {
?>
@@ -77,7 +76,7 @@ if (count($list)) {
</tr>
<?php $row_classes = array_reverse($row_classes); ?>
<?php } // end foreach ?>
-<?php } // end if count ?>
</table>
+<?php } // end if count ?>
<?php show_box_bottom(); ?>