summaryrefslogtreecommitdiffstats
path: root/templates/show_access_list.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-24 20:42:55 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-24 20:42:55 +0000
commit3ad79fc4c9a6718a336fd929e33b6a0ac9bbf173 (patch)
tree155abe19a61dd758cfcfe971146eb01876903a7e /templates/show_access_list.inc
parentab076e07058f75de17cfdbe311d35753f9da7b43 (diff)
downloadampache-3ad79fc4c9a6718a336fd929e33b6a0ac9bbf173.tar.gz
ampache-3ad79fc4c9a6718a336fd929e33b6a0ac9bbf173.tar.bz2
ampache-3ad79fc4c9a6718a336fd929e33b6a0ac9bbf173.zip
fixed user registration and missing motd and fudged up the access lists for the time being
Diffstat (limited to 'templates/show_access_list.inc')
-rw-r--r--templates/show_access_list.inc28
1 files changed, 17 insertions, 11 deletions
diff --git a/templates/show_access_list.inc b/templates/show_access_list.inc
index 817dc04f..13a24fbd 100644
--- a/templates/show_access_list.inc
+++ b/templates/show_access_list.inc
@@ -47,26 +47,32 @@ stream from this server.</p>
<table cellspacing="1" cellpadding="3" class="border">
<tr class="table-header" align="center">
- <td><?php print _("Name"); ?></td>
- <td><?php print _("Start Address"); ?></td>
- <td><?php print _("End Address"); ?></td>
- <td><?php print _("Level"); ?></td>
- <td><?php print _("Action"); ?></td>
+ <td><?php echo _('Name'); ?></td>
+ <td><?php echo _('Start Address'); ?></td>
+ <td><?php echo _('End Address'); ?></td>
+ <td><?php echo _('Level'); ?></td>
+ <td><?php echo _('User'); ?></td>
+ <td><?php echo _('Key'); ?></td>
+ <td><?php echo _('Type'); ?></td>
+ <td><?php echo _('Action'); ?></td>
</tr>
<?php
if (count($list)) {
/* Start foreach List Item */
foreach ($list as $access) {
?>
- <tr class="<?php print $row_classes[0]; ?>">
- <td><?php print scrub_out($access->name); ?></td>
- <td><?php print int2ip($access->start); ?></td>
- <td><?php print int2ip($access->end); ?></td>
- <td><?php print $access->get_level_name(); ?></td>
+ <tr class="<?php echo $row_classes[0]; ?>">
+ <td><?php echo scrub_out($access->name); ?></td>
+ <td><?php echo int2ip($access->start); ?></td>
+ <td><?php echo int2ip($access->end); ?></td>
+ <td><?php echo $access->get_level_name(); ?></td>
+ <td><?php echo $access->get_user_name(); ?></td>
+ <td><?php echo $access->key; ?></td>
+ <td><?php echo $access->get_type_name(); ?></td>
<td>
<a href="<?php echo $web_path; ?>/admin/access.php?action=show_edit_host&amp;access_id=<?php echo scrub_out($access->id); ?>"><?php echo _('Edit'); ?></a>
|
- <a href="<?php echo $web_path; ?>/admin/access.php?action=show_confirm_delete&amp;access_id=<?php print scrub_out($access->id); ?>"><?php print _("Revoke"); ?></a>
+ <a href="<?php echo $web_path; ?>/admin/access.php?action=show_confirm_delete&amp;access_id=<?php echo scrub_out($access->id); ?>"><?php print _("Revoke"); ?></a>
</td>
</tr>
<?php $row_classes = array_reverse($row_classes); ?>