summaryrefslogtreecommitdiffstats
path: root/templates/show_edit_access.inc
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2006-01-11 02:59:17 +0000
committerxgizzmo <xgizzmo@ampache>2006-01-11 02:59:17 +0000
commit603f145952f39164b961ac94a46b8a459e7adac0 (patch)
tree90fb10a0f1a1ea8396af8a41e629b1e63bac30d2 /templates/show_edit_access.inc
parent67d76f09c28d0c6abae6d966f4cc00a5428bdc74 (diff)
downloadampache-603f145952f39164b961ac94a46b8a459e7adac0.tar.gz
ampache-603f145952f39164b961ac94a46b8a459e7adac0.tar.bz2
ampache-603f145952f39164b961ac94a46b8a459e7adac0.zip
More code clean up this should about cover /templates
Diffstat (limited to 'templates/show_edit_access.inc')
-rw-r--r--templates/show_edit_access.inc74
1 files changed, 37 insertions, 37 deletions
diff --git a/templates/show_edit_access.inc b/templates/show_edit_access.inc
index 93c32999..95adad9e 100644
--- a/templates/show_edit_access.inc
+++ b/templates/show_edit_access.inc
@@ -21,45 +21,45 @@
*/
?>
-<p class="header1"><?php print _('Edit Access List'); ?></p>
+<p class="header1"><?php echo _('Edit Access List'); ?></p>
<form name="edit_access" method="post" enctype="multipart/form-data" action="<?php echo conf('web_path'); ?>/admin/access.php">
<table class="text-box">
- <tr>
- <td><?php print _('Name'); ?>: </td>
- <td><?php echo scrub_out($access->name); ?></td>
- </tr>
- <tr>
- <td><?php print _('Start IP Address'); ?>:</td>
- <td>
- <input type="text" name="start" value="<?php echo int2ip($access->start); ?>" size="20" maxlength="15" />
- </td>
- </tr>
- <tr>
- <td><?php print _('End IP Address'); ?>:</td>
- <td>
- <input type="text" name="end" value="<?php echo int2ip($access->end); ?>" size="20" maxlength="15" />
- </td>
- </tr>
- <tr>
- <td><?php print _('Level'); ?>:</td>
- <td>
- <select name="level">
- <?php $name = 'level_' . $access->level; ${$name} = 'selected="selected"'; ?>
- <option value="5" <?php echo $level_5; ?>><?php echo _('Demo'); ?></option>
- <option value="25" <?php echo $level_25; ?>><?php echo _('Stream'); ?></option>
- <option value="50" <?php echo $level_50; ?>><?php echo _('Stream/Download'); ?></option>
- <option value="75" <?php echo $level_75; ?>><?php echo _('XML-RPC'); ?></option>
- </select>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>
- <input type="hidden" name="access_id" value="<?php echo scrub_out($access->id); ?>" />
- <input type="hidden" name="action" value="update_host" />
- <input type="submit" value="<?php print _('Update'); ?>" />
- </td>
- </tr>
+<tr>
+ <td><?php echo _('Name'); ?>: </td>
+ <td><?php echo scrub_out($access->name); ?></td>
+</tr>
+<tr>
+ <td><?php echo _('Start IP Address'); ?>:</td>
+ <td>
+ <input type="text" name="start" value="<?php echo int2ip($access->start); ?>" size="20" maxlength="15" />
+ </td>
+</tr>
+<tr>
+ <td><?php echo _('End IP Address'); ?>:</td>
+ <td>
+ <input type="text" name="end" value="<?php echo int2ip($access->end); ?>" size="20" maxlength="15" />
+ </td>
+</tr>
+<tr>
+ <td><?php echo _('Level'); ?>:</td>
+ <td>
+ <select name="level">
+ <?php $name = 'level_' . $access->level; ${$name} = 'selected="selected"'; ?>
+ <option value="5" <?php echo $level_5; ?>><?php echo _('Demo'); ?></option>
+ <option value="25" <?php echo $level_25; ?>><?php echo _('Stream'); ?></option>
+ <option value="50" <?php echo $level_50; ?>><?php echo _('Stream/Download'); ?></option>
+ <option value="75" <?php echo $level_75; ?>><?php echo _('XML-RPC'); ?></option>
+ </select>
+ </td>
+</tr>
+<tr>
+ <td>&nbsp;</td>
+ <td>
+ <input type="hidden" name="access_id" value="<?php echo scrub_out($access->id); ?>" />
+ <input type="hidden" name="action" value="update_host" />
+ <input type="submit" value="<?php echo _('Update'); ?>" />
+ </td>
+</tr>
</table>
</form>