diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-04 08:11:01 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-04 08:11:01 +0000 |
commit | 4e9823cd1064cc876b449752b933c89c367d84c6 (patch) | |
tree | c21f0f5c9d77176caefe5701c20afbd9d610409f /templates/show_artist_box.inc.php | |
parent | c917726df7e3d327e3bc3030bb0b7f63925d0b42 (diff) | |
download | ampache-4e9823cd1064cc876b449752b933c89c367d84c6.tar.gz ampache-4e9823cd1064cc876b449752b933c89c367d84c6.tar.bz2 ampache-4e9823cd1064cc876b449752b933c89c367d84c6.zip |
fixed mysql5 crap, thx WarrenG cleaned up some of the show_songs code and stuff that calls it, did a little work on playlists
Diffstat (limited to 'templates/show_artist_box.inc.php')
-rw-r--r-- | templates/show_artist_box.inc.php | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/templates/show_artist_box.inc.php b/templates/show_artist_box.inc.php new file mode 100644 index 00000000..83908e94 --- /dev/null +++ b/templates/show_artist_box.inc.php @@ -0,0 +1,44 @@ +<?php +/* + + Copyright (c) 2001 - 2006 Ampache.org + All Rights Reserved + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +*/ +?> +<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> +</tr> +</table> |