diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-14 07:04:26 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-14 07:04:26 +0000 |
commit | d1dcfcbc903153007fff2c155248046ecfbdc76a (patch) | |
tree | 400ed80dd1ce436818c893bb5f53d4b9d95443ec /templates/show_localplay_add_instance.inc.php | |
parent | f2f82cae3114683dd230328a4638b8cb35b46c3b (diff) | |
download | ampache-d1dcfcbc903153007fff2c155248046ecfbdc76a.tar.gz ampache-d1dcfcbc903153007fff2c155248046ecfbdc76a.tar.bz2 ampache-d1dcfcbc903153007fff2c155248046ecfbdc76a.zip |
some fixes for the localplay, you can now install the MPD controller, and add instances, just not actually play to it... realized I need to think on how to do that a little...
Diffstat (limited to 'templates/show_localplay_add_instance.inc.php')
-rw-r--r-- | templates/show_localplay_add_instance.inc.php | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/templates/show_localplay_add_instance.inc.php b/templates/show_localplay_add_instance.inc.php index c2ab559f..3e158f3b 100644 --- a/templates/show_localplay_add_instance.inc.php +++ b/templates/show_localplay_add_instance.inc.php @@ -22,5 +22,19 @@ ?> <?php show_box_top(_('Add Localplay Instance')); ?> - +<form method="post" action="<?php echo Config::get('web_path'); ?>/localplay.php?action=add_instance"> +<table border="0" cellpadding="3" cellspacing="0" class="table-data"> +<?php foreach ($fields as $key=>$field) { ?> +<tr> + <td><?php echo $field['description']; ?></td> + <td><input type="textbox" name="<?php echo $key; ?>" /></td> +</tr> +<?php } ?> +<tr> + <td colspan="2"> + <input type="submit" value="<?php echo _('Add Instance'); ?>" /> + </td> +</tr> +</table> +</form> <?php show_box_bottom(); ?> |