diff options
author | Cash Costello <cash.costello@gmail.com> | 2010-04-25 00:56:53 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2010-04-25 00:56:53 +0000 |
commit | c940ce7ad01482798205a5d2e2b7336aef83bb05 (patch) | |
tree | e93648d651dedf3f8b96038915e26a7dac55eaa5 /views/default/object | |
parent | 21237146f5afe4183f8c842c0118e51a49535571 (diff) | |
download | elgg-c940ce7ad01482798205a5d2e2b7336aef83bb05.tar.gz elgg-c940ce7ad01482798205a5d2e2b7336aef83bb05.tar.bz2 |
a minor integration of categories plugin
Diffstat (limited to 'views/default/object')
-rw-r--r-- | views/default/object/album.php | 13 |
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); } |