diff options
Diffstat (limited to 'templates/show_artists.inc.php')
-rw-r--r-- | templates/show_artists.inc.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/show_artists.inc.php b/templates/show_artists.inc.php index f2bbe8fa..a7d908a0 100644 --- a/templates/show_artists.inc.php +++ b/templates/show_artists.inc.php @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2007 Ampache.org + Copyright (c) 2001 - 2008 Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -47,6 +47,11 @@ foreach ($object_ids as $artist_id) { <?php require Config::get('prefix') . '/templates/show_artist_row.inc.php'; ?> </tr> <?php } //end foreach ($artists as $artist) ?> +<?php if (!count($object_ids)) { ?> +<tr class="<?php echo flip_class(); ?>"> + <td colspan="5"><span class="fatalerror"><?php echo _('Not Enough Data'); ?></span></td> +</tr> +<?php } ?> <tr class="th-bottom"> <th class="cel_add"><?php echo _('Add'); ?></th> <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Artist'),'artist_sort_name_bottom'); ?></th> |