summaryrefslogtreecommitdiffstats
path: root/templates/show_album_row.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_album_row.inc.php')
-rw-r--r--templates/show_album_row.inc.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/show_album_row.inc.php b/templates/show_album_row.inc.php
index 791f7b8a..338ebf01 100644
--- a/templates/show_album_row.inc.php
+++ b/templates/show_album_row.inc.php
@@ -35,12 +35,17 @@
<td class="cel_songs"><?php echo $album->song_count; ?></td>
<td class="cel_year"><?php echo $album->year; ?></td>
<td class="cel_action">
+ <?php if (Config::get('shoutbox')) { ?>
+ <a href="<?php echo Config::get('web_path'); ?>/shout.php?action=show_add_shout&amp;type=album&amp;id=<?php echo $album->id; ?>">
+ <?php echo get_user_icon('comment',_('Post Shout')); ?>
+ </a>
+ <?php } ?>
<?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 } ?>
- <?php if ($GLOBALS['user']->has_access('50')) { ?>
+ <?php if (Access::check('interface','50')) { ?>
<?php echo Ajax::button('?action=show_edit_object&type=album&id=' . $album->id,'edit',_('Edit'),'edit_album_' . $album->id); ?>
<?php } ?>
</td>