diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-29 18:49:29 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-29 18:49:29 +0000 |
commit | f6121006313be194bc760e27e4af60828c69b38f (patch) | |
tree | 6eb5147d6993436e6c1a9de101380163e0c556f2 /templates/show_edit_album_row.inc.php | |
parent | 20b425c3ac56d24068f56cfa455e07d5fa26f13d (diff) | |
download | ampache-f6121006313be194bc760e27e4af60828c69b38f.tar.gz ampache-f6121006313be194bc760e27e4af60828c69b38f.tar.bz2 ampache-f6121006313be194bc760e27e4af60828c69b38f.zip |
fixed album per row update and some warnings on song updates
Diffstat (limited to 'templates/show_edit_album_row.inc.php')
-rw-r--r-- | templates/show_edit_album_row.inc.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/show_edit_album_row.inc.php b/templates/show_edit_album_row.inc.php index b5fd8d6d..340fb685 100644 --- a/templates/show_edit_album_row.inc.php +++ b/templates/show_edit_album_row.inc.php @@ -26,7 +26,14 @@ <input type="textbox" name="name" value="<?php echo scrub_out($album->name); ?>" /> </td> <td> - <?php show_artist_pulldown($album->artist_id,'artist_id'); ?> + <?php + if ($album->artist_count == '1') { + show_artist_select('artist',$album->artist_id); + } + else { + echo _('Various'); + } + ?> </td> <td> <input type="textbox" name="year" value="<?php echo scrub_out($album->year); ?>" /> |