summaryrefslogtreecommitdiffstats
path: root/templates/show_add_access.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-10-10 07:30:15 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-10-10 07:30:15 +0000
commitff58181d5b4ddd10b34062a0ad2204435e698cae (patch)
tree60b4654309d0826c81411790efe8448675a038bb /templates/show_add_access.inc.php
parent32349846fbd66e4ebc44e63d37fbcd8cff5a8a73 (diff)
downloadampache-ff58181d5b4ddd10b34062a0ad2204435e698cae.tar.gz
ampache-ff58181d5b4ddd10b34062a0ad2204435e698cae.tar.bz2
ampache-ff58181d5b4ddd10b34062a0ad2204435e698cae.zip
fixed acls, fixed transcoding issues
Diffstat (limited to 'templates/show_add_access.inc.php')
-rw-r--r--templates/show_add_access.inc.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/templates/show_add_access.inc.php b/templates/show_add_access.inc.php
index 81f6ccc1..506f9cda 100644
--- a/templates/show_add_access.inc.php
+++ b/templates/show_add_access.inc.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2006 Ampache.org
+ Copyright (c) 2001 - 2007 Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
@@ -20,10 +20,7 @@
*/
?>
<?php show_box_top(_('Add Access for a Host')); ?>
-<p><?php echo _('Use the form below to add a host that you want to have access to your Ampache catalog.'); ?></p>
-
-
-<form name="update_catalog" method="post" enctype="multipart/form-data" action="<?php echo Config::get('web_path'); ?>/admin/access.php">
+<form name="update_catalog" method="post" enctype="multipart/form-data" action="<?php echo Config::get('web_path'); ?>/admin/access.php?action=add_host">
<table cellpadding="5" cellspacing="0">
<tr>
<td><?php echo _('Name'); ?>:</td>
@@ -45,8 +42,8 @@
</tr>
<tr>
<td><?php echo _('User'); ?>:</td>
- <!-- Stuff Goes Here -->
<td>
+ <?php show_user_select('user'); ?>
</td>
</tr>
<tr>
@@ -72,7 +69,7 @@
</td>
</tr>
<tr>
- <td colspan="2"><br /><?php echo _('XML-RPC Options'); ?>:</td>
+ <td colspan="2"><h4><?php echo _('XML-RPC Options'); ?></h4></td>
</tr>
<tr>
<td><?php echo _('Remote Key'); ?>:</td>
@@ -82,8 +79,6 @@
</tr>
<tr>
<td colspan="2">
- <br />
- <input type="hidden" name="action" value="add_host" />
<input class="button" type="submit" value="<?php echo _('Create ACL'); ?>" />
</td>
</tr>