summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-29 18:49:29 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-29 18:49:29 +0000
commitf6121006313be194bc760e27e4af60828c69b38f (patch)
tree6eb5147d6993436e6c1a9de101380163e0c556f2 /templates
parent20b425c3ac56d24068f56cfa455e07d5fa26f13d (diff)
downloadampache-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')
-rw-r--r--templates/show_edit_album_row.inc.php9
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); ?>" />