diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-08 05:31:48 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-08 05:31:48 +0000 |
commit | a3a07028fb45e9ebc0c741853f3e2b838f03bd12 (patch) | |
tree | 8247facd42e58495fc37970537b65c455187197d /templates | |
parent | e98446d5701b9467bc64003b0f08c7c915db1e61 (diff) | |
download | ampache-a3a07028fb45e9ebc0c741853f3e2b838f03bd12.tar.gz ampache-a3a07028fb45e9ebc0c741853f3e2b838f03bd12.tar.bz2 ampache-a3a07028fb45e9ebc0c741853f3e2b838f03bd12.zip |
cleaned up access control interface a bit
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_add_access.inc | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/templates/show_add_access.inc b/templates/show_add_access.inc index d1bbcdc2..06827c9b 100644 --- a/templates/show_add_access.inc +++ b/templates/show_add_access.inc @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2004 Ampache.org + Copyright (c) 2001 - 2006 Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -22,44 +22,41 @@ /*! @header Add Access List Entry - A template file - */ - ?> - -<p style="font-size: 10pt; font-weight: bold;"><?php echo _("Add Access for a Host"); ?></p> -<p><?php echo _("Use the form below to add a host that you want to have access to your Ampache catalog."); ?></p> +<div class="text-box"> +<p style="font-size: 10pt; font-weight: bold;"><?php echo _('Add Access for a Host'); ?></p> +<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 conf('web_path'); ?>/admin/access.php"> <table cellpadding="5" cellspacing="0" border="0"> <tr> - <td><?php echo _("Name"); ?>: </td> + <td><?php echo _('Name'); ?>: </td> <td> <input type="text" name="name" value="<?php echo $_REQUEST['name']; ?>" size="30" /> </td> </tr> <tr> - <td><?php echo _("Start IP Address"); ?>:</td> + <td><?php echo _('Start IP Address'); ?>:</td> <td> <input type="text" name="start" value="<?php echo $_REQUEST['start']; ?>" size="20" maxlength="15" /> </td> </tr> <tr> - <td><?php echo _("End IP Address"); ?>:</td> + <td><?php echo _('End IP Address'); ?>:</td> <td> <input type="text" name="end" value="<?php echo $_REQUEST['end']; ?>" size="20" maxlength="15" /> </td> </tr> <tr> - <td><?php echo _("Level"); ?>:</td> + <td><?php echo _('Level'); ?>:</td> <td> <select name="level"> - <option selected="selected" value="5" >Demo</option> - <option value="25">Stream</option> - <option value="50">Stream/Download</option> - <option value="75">XML-RPC</option> + <option selected="selected" value="5" ><?php echo _('Demo'); ?></option> + <option value="25"><?php echo _('Stream'); ?></option> + <option value="50"><?php echo _('Stream/Download'); ?></option> + <option value="75"><?php echo _('XML-RPC'); ?></option> </select> </td> </tr> @@ -67,8 +64,9 @@ <td> </td> <td> <input type="hidden" name="action" value="add_host" /> - <input type="submit" value="<?php echo _("Add Host"); ?>" /> + <input type="submit" value="<?php echo _('Add Host'); ?>" /> </td> </tr> </table> </form> +</div> |