summaryrefslogtreecommitdiffstats
path: root/templates/show_add_access.inc
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2006-01-10 05:03:18 +0000
committerxgizzmo <xgizzmo@ampache>2006-01-10 05:03:18 +0000
commit67d76f09c28d0c6abae6d966f4cc00a5428bdc74 (patch)
treec52e3c1c1d9bf75de21b2bc812fa34aa78aa10af /templates/show_add_access.inc
parent883cd9e478cf740f7b6bdd5fa089c4eefda97b7a (diff)
downloadampache-67d76f09c28d0c6abae6d966f4cc00a5428bdc74.tar.gz
ampache-67d76f09c28d0c6abae6d966f4cc00a5428bdc74.tar.bz2
ampache-67d76f09c28d0c6abae6d966f4cc00a5428bdc74.zip
Code clean up
Diffstat (limited to 'templates/show_add_access.inc')
-rw-r--r--templates/show_add_access.inc78
1 files changed, 38 insertions, 40 deletions
diff --git a/templates/show_add_access.inc b/templates/show_add_access.inc
index 4c1888b9..d1bbcdc2 100644
--- a/templates/show_add_access.inc
+++ b/templates/show_add_access.inc
@@ -28,49 +28,47 @@
?>
-<p style="font-size: 10pt; font-weight: bold;"><?php print _("Add Access for a Host"); ?></p>
-
-<p><?php print _("Use the form below to add a host that you want to have access to your Ampache catalog."); ?></p>
+<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 print _("Name"); ?>: </td>
- <td>
- <input type="text" name="name" value="<?php echo $_REQUEST['name']; ?>" size="30" />
- </td>
- </tr>
- <tr>
- <td><?php print _("Start IP Address"); ?>:</td>
- <td>
- <input type="text" name="start" value="<?php echo $_REQUEST['start']; ?>" size="20" maxlength="15" />
- </td>
- </tr>
- <tr>
- <td><?php print _("End IP Address"); ?>:</td>
- <td>
- <input type="text" name="end" value="<?php echo $_REQUEST['end']; ?>" size="20" maxlength="15" />
- </td>
- </tr>
- <tr>
- <td><?php print _("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>
- </select>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>
- <input type="hidden" name="action" value="add_host" />
- <input type="submit" value="<?php print _("Add Host"); ?>" />
- </td>
- </tr>
+<tr>
+ <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>
+ <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>
+ <input type="text" name="end" value="<?php echo $_REQUEST['end']; ?>" size="20" maxlength="15" />
+ </td>
+</tr>
+<tr>
+ <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>
+ </select>
+ </td>
+</tr>
+<tr>
+ <td>&nbsp;</td>
+ <td>
+ <input type="hidden" name="action" value="add_host" />
+ <input type="submit" value="<?php echo _("Add Host"); ?>" />
+ </td>
+</tr>
</table>
</form>