diff options
author | pb1dft <pb1dft@ampache> | 2006-11-08 19:46:31 +0000 |
---|---|---|
committer | pb1dft <pb1dft@ampache> | 2006-11-08 19:46:31 +0000 |
commit | 627efa4dd844c89bb752f4484d1395409c2dbf76 (patch) | |
tree | 71f34c36d26e3ecc17e2a22990e6a65f31f413cc /templates/show_get_albumart.inc.php | |
parent | 3914736c941f9cee4e78d1ee0be61f7216d43cff (diff) | |
download | ampache-627efa4dd844c89bb752f4484d1395409c2dbf76.tar.gz ampache-627efa4dd844c89bb752f4484d1395409c2dbf76.tar.bz2 ampache-627efa4dd844c89bb752f4484d1395409c2dbf76.zip |
Addition for ip_history and browse for local album art
Diffstat (limited to 'templates/show_get_albumart.inc.php')
-rw-r--r-- | templates/show_get_albumart.inc.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/show_get_albumart.inc.php b/templates/show_get_albumart.inc.php index b847a980..246e2254 100644 --- a/templates/show_get_albumart.inc.php +++ b/templates/show_get_albumart.inc.php @@ -21,7 +21,7 @@ */ ?> <?php show_box_top(_('Customize Search')); ?> -<form name="coverart" method="get" action="<?php echo conf('web_path'); ?>/albums.php" style="Displain:inline;"> +<form enctype="multipart/form-data" name="coverart" method="post" action="<?php echo conf('web_path'); ?>/albums.php?action=find_art&album_id=<?php echo $album->id; ?>&artist_name=<?php echo $_POST['artist_name'];?>&album_name=<?php echo $_POST['album_name']; ?>&cover=<?php echo scrub_out($_POST['cover']); ?>" style="Display:inline;"> <table> <tr> </tr> @@ -51,8 +51,18 @@ </tr> <tr> <td> + <?php echo _('Local Image'); ?> + </td> + <td> + <input type="file" size="40" id="file" name="file" value="" /> + </td> +</tr> + +<tr> + <td> <input type="hidden" name="action" value="find_art" /> <input type="hidden" name="album_id" value="<?php echo $album->id; ?>" /> + <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo conf('max_upload_size'); ?>" /> <input type="submit" value="<?php echo _('Get Art'); ?>" /> </td> </tr> |