aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/album.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object/album.php')
-rw-r--r--views/default/object/album.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/views/default/object/album.php b/views/default/object/album.php
index 31e46d46d..60015d2b1 100644
--- a/views/default/object/album.php
+++ b/views/default/object/album.php
@@ -135,9 +135,22 @@
?>
<?php echo elgg_echo('album:by');?> <b><a href="<?php echo $vars['url'] ;?>pg/profile/<?php echo $owner->username; ?>"><?php echo $owner->name; ?></a></b> <?php echo $friendlytime; ?><br>
<?php echo elgg_echo('image:total');?> <b><?php echo $num_images; ?></b><br>
+<?php
+ $categories = elgg_view('categories/view',$vars);
+ if (!empty($categories)) {
+?>
+ <br />
+<b><?php echo elgg_echo('categories'); ?>:</b>
+ <?php
+
+ echo $categories;
+
+ }
+?>
</div>
<?php
+
if ($vars['full']) {
echo elgg_view_comments($album);
}