summaryrefslogtreecommitdiffstats
path: root/templates/show_playlist_song_row.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-22 05:36:07 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-22 05:36:07 +0000
commitdf348122a7092a24a4ae5c04cf0b5b85bd750ae0 (patch)
tree79204441a824bafe239a5e8e8de596b87c0aa999 /templates/show_playlist_song_row.inc.php
parent696f35b5a3e148282c452810ac2b294a68b074e0 (diff)
downloadampache-df348122a7092a24a4ae5c04cf0b5b85bd750ae0.tar.gz
ampache-df348122a7092a24a4ae5c04cf0b5b85bd750ae0.tar.bz2
ampache-df348122a7092a24a4ae5c04cf0b5b85bd750ae0.zip
added the initial playlist view page, fixed the artist name on albums of the moment
Diffstat (limited to 'templates/show_playlist_song_row.inc.php')
-rw-r--r--templates/show_playlist_song_row.inc.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/show_playlist_song_row.inc.php b/templates/show_playlist_song_row.inc.php
new file mode 100644
index 00000000..354f8419
--- /dev/null
+++ b/templates/show_playlist_song_row.inc.php
@@ -0,0 +1,35 @@
+<?php
+/*
+
+ Copyright (c) 2001 - 2007 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 v2
+ 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
+ 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.
+
+*/
+?>
+<td><?php echo $playlist_track; ?></td>
+<td><?php echo $song->f_link; ?></td>
+<td><?php echo $song->f_artist_link; ?></td>
+<td><?php echo $song->f_album_link; ?></td>
+<td><?php echo $song->f_genre_link; ?></td>
+<td><?php echo $song->f_track; ?></td>
+<td><?php echo $song->f_time; ?></td>
+<td>
+ <?php if ($GLOBALS['user']->prefs['download']) { ?>
+ <a href="<?php echo Config::get('web_path'); ?>/stream.php?action=download&amp;song_id=<?php echo $song->id; ?>">
+ <?php echo get_user_icon('download',_('Download')); ?>
+ </a>
+ <?php } ?>
+</td>