diff options
Diffstat (limited to 'templates/show_artists.inc.php')
-rw-r--r-- | templates/show_artists.inc.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/show_artists.inc.php b/templates/show_artists.inc.php index 45cefb03..85c079b8 100644 --- a/templates/show_artists.inc.php +++ b/templates/show_artists.inc.php @@ -7,7 +7,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v2 - as published by the Free Software Foundation. + as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -43,14 +43,14 @@ $web_path = Config::get('web_path'); <th class="cel_rating"> <?php echo _('Rating'); ?> </th> <th class="cel_action"> <?php echo _('Action'); ?> </th> </tr> -<?php +<?php // Cache the ratings we are going to use -if (Config::get('ratings')) { Rating::build_cache('artist',$object_ids); } +if (Config::get('ratings')) { Rating::build_cache('artist',$object_ids); } /* Foreach through every artist that has been passed to us */ -foreach ($object_ids as $artist_id) { - $artist = new Artist($artist_id); - $artist->format(); +foreach ($object_ids as $artist_id) { + $artist = new Artist($artist_id); + $artist->format(); ?> <tr id="artist_<?php echo $artist->id; ?>" class="<?php echo flip_class(); ?>"> <?php require Config::get('prefix') . '/templates/show_artist_row.inc.php'; ?> |