summaryrefslogtreecommitdiffstats
path: root/templates/show_songs.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-22 18:32:09 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-22 18:32:09 +0000
commitff606dbefca94580b56a081c5d3089037a2d033d (patch)
treebdc9cb8ea8d3b5d8e9b1ebe313ce163990a75d0c /templates/show_songs.inc.php
parent472072028560aa178211ae248fc0dad4526533c7 (diff)
downloadampache-ff606dbefca94580b56a081c5d3089037a2d033d.tar.gz
ampache-ff606dbefca94580b56a081c5d3089037a2d033d.tar.bz2
ampache-ff606dbefca94580b56a081c5d3089037a2d033d.zip
removed some old/legacy functions fixed download and merged it into the /play
Diffstat (limited to 'templates/show_songs.inc.php')
-rw-r--r--templates/show_songs.inc.php22
1 files changed, 2 insertions, 20 deletions
diff --git a/templates/show_songs.inc.php b/templates/show_songs.inc.php
index 224b552f..4f2e1e9f 100644
--- a/templates/show_songs.inc.php
+++ b/templates/show_songs.inc.php
@@ -47,26 +47,8 @@ $ajax_url = Config::get('ajax_url');
$song = new Song($song_id);
$song->format();
?>
-<tr class="<?php echo flip_class(); ?>">
- <td>
- <?php echo Ajax::button('?action=basket&atype=song&id=' . $song->id,'add',_('Add'),'add_' . $song->id); ?>
- </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>
- <span>
- <?php echo get_user_icon('flag_off','flag',_('Flag')); ?>
- </span>
- <?php if ($GLOBALS['user']->has_access(100)) { ?>
- <span>
- <?php echo get_user_icon('edit','',_('Edit')); ?>
- </span>
- <?php } ?>
- </td>
+<tr class="<?php echo flip_class(); ?>" id="song_<?php echo $song->id; ?>">
+ <?php require Config::get('prefix') . '/templates/show_song_row.inc.php'; ?>
</tr>
<?php } ?>
</table>