diff options
author | xgizzmo <xgizzmo@ampache> | 2006-01-10 05:03:18 +0000 |
---|---|---|
committer | xgizzmo <xgizzmo@ampache> | 2006-01-10 05:03:18 +0000 |
commit | 67d76f09c28d0c6abae6d966f4cc00a5428bdc74 (patch) | |
tree | c52e3c1c1d9bf75de21b2bc812fa34aa78aa10af /templates/show_artist_box.inc.php | |
parent | 883cd9e478cf740f7b6bdd5fa089c4eefda97b7a (diff) | |
download | ampache-67d76f09c28d0c6abae6d966f4cc00a5428bdc74.tar.gz ampache-67d76f09c28d0c6abae6d966f4cc00a5428bdc74.tar.bz2 ampache-67d76f09c28d0c6abae6d966f4cc00a5428bdc74.zip |
Code clean up
Diffstat (limited to 'templates/show_artist_box.inc.php')
-rw-r--r-- | templates/show_artist_box.inc.php | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/templates/show_artist_box.inc.php b/templates/show_artist_box.inc.php index 83908e94..75026d7e 100644 --- a/templates/show_artist_box.inc.php +++ b/templates/show_artist_box.inc.php @@ -19,26 +19,22 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +$web_path = conf('web_path'); ?> <table class="text-box"> <tr> - <td> - <span class="header1"><?php print _("Albums by") . " " . $artist->full_name; ?></span> - <ul> - <?php - if (conf('ratings')) { - show_rating($artist->id,'artist'); - } // end if ratings - echo "<br />\n"; - ?> - <li><a href="<?php print $web_path; ?>/artists.php?action=show_all_songs&artist=<?php print $artist_id; ?>"><?php print _("Show All Songs By") . " " . $artist->full_name; ?></a></li> - <li><a href="<?php print $web_path; ?>/song.php?action=m3u&artist=<?php print $artist_id; ?>"><?php print _("Play All Songs By") . " " . $artist->full_name; ?></a></li> - <li><a href="<?php print $web_path; ?>/song.php?action=m3u&artist_random=<?php print $artist_id; ?>"><?php print _("Play Random Songs By") . " " . $artist->full_name; ?></a></li> - <?php if ($user->has_access('100')) { ?> - <li><a href="<?php echo $web_path; ?>/artists.php?action=update_from_tags&artist=<?php print $artist_id; ?>"><?php print _("Update from tags"); ?></a></li> - <li><a href="<?php echo $web_path; ?>/artists.php?action=show_rename&artist=<?php echo $artist_id; ?>"><?php echo _("Rename Artist"); ?></a></li> - <?php } ?> - </ul> - </td> + <td> + <span class="header1"><?php echo _("Albums by") . " " . $artist->full_name; ?></span> + <br /><?php if (conf('ratings')) { show_rating($artist->id, 'artist'); } // end if ratings ?><br /> + <ul> + <li><a href="<?php echo $web_path; ?>/artists.php?action=show_all_songs&artist=<?php echo $artist_id; ?>"><?php echo _("Show All Songs By") . " " . $artist->full_name; ?></a></li> + <li><a href="<?php echo $web_path; ?>/song.php?action=m3u&artist=<?php echo $artist_id; ?>"><?php echo _("Play All Songs By") . " " . $artist->full_name; ?></a></li> + <li><a href="<?php echo $web_path; ?>/song.php?action=m3u&artist_random=<?php echo $artist_id; ?>"><?php echo _("Play Random Songs By") . " " . $artist->full_name; ?></a></li> + <?php if ($user->has_access('100')) { ?> + <li><a href="<?php echo $web_path; ?>/artists.php?action=update_from_tags&artist=<?php echo $artist_id; ?>"><?php echo _("Update from tags"); ?></a></li> + <li><a href="<?php echo $web_path; ?>/artists.php?action=show_rename&artist=<?php echo $artist_id; ?>"><?php echo _("Rename Artist"); ?></a></li> + <?php } ?> + </ul> + </td> </tr> </table> |