diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-02-01 01:06:46 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-02-01 01:06:46 +0000 |
commit | b9a2603025483deefbf7636de3f6c0786e95d293 (patch) | |
tree | 5d2ece594fbed8a58874830c42d8182f025ef16b /templates/show_add_access_current.inc.php | |
parent | 1891fd835cc3cd60d7c3a2ec8bf90b51ca261bf0 (diff) | |
download | ampache-b9a2603025483deefbf7636de3f6c0786e95d293.tar.gz ampache-b9a2603025483deefbf7636de3f6c0786e95d293.tar.bz2 ampache-b9a2603025483deefbf7636de3f6c0786e95d293.zip |
Finish IPv6 support
Diffstat (limited to 'templates/show_add_access_current.inc.php')
-rw-r--r-- | templates/show_add_access_current.inc.php | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/templates/show_add_access_current.inc.php b/templates/show_add_access_current.inc.php index 64e9e5eb..69e74cc1 100644 --- a/templates/show_add_access_current.inc.php +++ b/templates/show_add_access_current.inc.php @@ -24,13 +24,16 @@ <table class="tabledata" cellpadding="5" cellspacing="0"> <tr> <td><?php echo _('Name'); ?>:</td> - <td colspan="3"> + <td> <input type="text" name="name" value="<?php echo scrub_out($_REQUEST['name']); ?>" size="20" /> </td> </tr> <tr> + <td><?php echo _('IPv4 or IPv6 Addresses'); ?>:</td> + <td><?php echo scrub_out($_SERVER['REMOTE_ADDR']); ?></td> +<tr> <td><?php echo _('Level'); ?>:</td> - <td colspan="3"> + <td> <input name="level" type="radio" value="5" /> <?php echo _('View'); ?> <input name="level" type="radio" value="25" /> <?php echo _('Read'); ?> <input name="level" type="radio" checked="checked" value="50" /> <?php echo _('Read/Write'); ?> @@ -39,22 +42,22 @@ </tr> <tr> <td><?php echo _('User'); ?>:</td> - <td colspan="3"> + <td> <?php show_user_select('user'); ?> </td> </tr> <tr> - <td colspan="4"><h4><?php echo _('RPC Options'); ?></h4></td> + <td colspan="2"><h4><?php echo _('RPC Options'); ?></h4></td> </tr> <tr> <td><?php echo _('Remote Key'); ?>:</td> - <td colspan="3"> + <td> <input type="text" name="key" value="<?php echo scrub_out($_REQUEST['end']); ?>" maxlength="32" /> </td> </tr> </table> <div class="formValidation"> - <?php Core::form_register('add_acl'); ?> + <?php echo Core::form_register('add_acl'); ?> <input class="button" type="submit" value="<?php echo _('Create ACL'); ?>" /> </div> </form> |