summaryrefslogtreecommitdiffstats
path: root/templates/show_albums.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-13 02:27:12 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-13 02:27:12 +0000
commit49c26695c900f47ef304dd1f7f1ed7184815f343 (patch)
treea246b3a8dc017e7dc92c0c446082c5eb8dc45015 /templates/show_albums.inc.php
parent6eac7541290086509cf1531a48ab2734ac48081a (diff)
downloadampache-49c26695c900f47ef304dd1f7f1ed7184815f343.tar.gz
ampache-49c26695c900f47ef304dd1f7f1ed7184815f343.tar.bz2
ampache-49c26695c900f47ef304dd1f7f1ed7184815f343.zip
in theory the add functions on songs and albums works, now to add playing... details.. I know
Diffstat (limited to 'templates/show_albums.inc.php')
-rw-r--r--templates/show_albums.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/show_albums.inc.php b/templates/show_albums.inc.php
index 588c88b6..1339498f 100644
--- a/templates/show_albums.inc.php
+++ b/templates/show_albums.inc.php
@@ -30,6 +30,7 @@ $ajax_url = Config::get('ajax_url');
<th><?php echo _('Add'); ?></th>
<th><?php echo _('Album'); ?></th>
<th><?php echo _('Artist'); ?></th>
+ <th><?php echo _('Songs'); ?></th>
<th><?php echo _('Year'); ?></th>
</tr>
<?php
@@ -39,6 +40,9 @@ $ajax_url = Config::get('ajax_url');
$album->format();
?>
<tr class="<?php echo flip_class(); ?>">
+ <td onclick="ajaxPut('<?php echo Config::get('ajax_url'); ?>?action=basket&amp;type=album&amp;id=<?php echo $album->id; ?>');return true;" >
+ <?php echo get_user_icon('add'); ?>
+ </td>
<td><?php echo $album->f_name; ?></td>
<td><?php echo $album->f_artist; ?></td>
<td><?php echo $album->songs; ?></td>