diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-29 03:20:00 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-29 03:20:00 +0000 |
commit | db47bcb6c018fecae71b8b7120c70d7ef9c7bcf6 (patch) | |
tree | d017e40d77c0d580aa6091dceabec7fd919a83c2 /templates/show_artist_box.inc.php | |
parent | 20c3dc0fd1993b36a8ff3467fbc8c4f30c59588d (diff) | |
download | ampache-db47bcb6c018fecae71b8b7120c70d7ef9c7bcf6.tar.gz ampache-db47bcb6c018fecae71b8b7120c70d7ef9c7bcf6.tar.bz2 ampache-db47bcb6c018fecae71b8b7120c70d7ef9c7bcf6.zip |
fixed play all artist, play all artist random, and account updating from user preferences
Diffstat (limited to 'templates/show_artist_box.inc.php')
-rw-r--r-- | templates/show_artist_box.inc.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/show_artist_box.inc.php b/templates/show_artist_box.inc.php index 0b1cd1c7..64757603 100644 --- a/templates/show_artist_box.inc.php +++ b/templates/show_artist_box.inc.php @@ -28,13 +28,15 @@ if (Config::get('ratings')) { show_rating($artist->id, 'artist'); echo "</div>"; } // end if ratings ?> -<strong><?php echo _('Actions'); ?>:</strong><br /> +<strong><?php echo _('Actions'); ?>:</strong> +<div style="padding-left:5px;"> <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><br /> -<a href="<?php echo $web_path; ?>/stream.php?action=artist&artist_id=<?php echo $artist->id; ?>"><?php echo _("Play All Songs By") . " " . $artist->full_name; ?></a><br /> -<a href="<?php echo $web_path; ?>/stream.php?action=artist_random&artist_id=<?php echo $artist->id; ?>"><?php echo _("Play Random Songs By") . " " . $artist->full_name; ?></a><br /> -<?php if ($GLOBALS['user']->has_access('100')) { ?> +<span class="text-action"><?php echo Ajax::text('?action=basket&type=artist&id=' . $artist->id,_('Play All Songs By') . ' ' . $artist->full_name,'play_full_artist'); ?></span> +<span class="text-action"><?php echo Ajax::text('?action=basket&type=artist_random&id=' . $artist->id,_('Play Random Songs By') . ' ' . $artist->full_name,'play_random_artist'); ?></span> +<?php if ($GLOBALS['user']->has_access('50')) { ?> <a href="<?php echo $web_path; ?>/artists.php?action=update_from_tags&artist=<?php echo $artist->id; ?>"><?php echo _("Update from tags"); ?></a><br /> <a href="<?php echo $web_path; ?>/artists.php?action=show_rename&artist=<?php echo $artist->id; ?>"><?php echo _("Rename Artist"); ?></a><br /> <a href="<?php echo $web_path; ?>/artists.php?action=show_similar&artist=<?php echo $artist->id; ?>"><?php echo _("Find duplicate artists"); ?></a><br /> <?php } ?> +</div> <?php show_box_bottom(); ?> |