summaryrefslogtreecommitdiffstats
path: root/templates/show_albums.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_albums.inc.php')
-rw-r--r--templates/show_albums.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/show_albums.inc.php b/templates/show_albums.inc.php
index f91203f3..de69d27d 100644
--- a/templates/show_albums.inc.php
+++ b/templates/show_albums.inc.php
@@ -54,9 +54,11 @@ $ajax_url = Config::get('ajax_url');
<td><?php echo $album->song_count; ?></td>
<td><?php echo $album->year; ?></td>
<td>
+ <?php if (Access::check_function('batch_download')) { ?>
<a href="<?php echo Config::get('web_path'); ?>/batch.php?action=album&amp;id=<?php echo $album->id; ?>">
<?php echo get_user_icon('batch_download','',_('Batch Download')); ?>
</a>
+ <?php } ?>
<span onclick="ajaxPut('<?php echo Config::get('ajax_url'); ?>?action=album&amp;type=edit&amp;id=<?php echo $album->id; ?>');return true;" >
<?php echo get_user_icon('edit','',_('Edit')); ?>
</span>