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 | |
parent | 21237146f5afe4183f8c842c0118e51a49535571 (diff) | |
download | elgg-c940ce7ad01482798205a5d2e2b7336aef83bb05.tar.gz elgg-c940ce7ad01482798205a5d2e2b7336aef83bb05.tar.bz2 |
a minor integration of categories plugin
Diffstat (limited to 'views')
-rw-r--r-- | views/default/object/album.php | 13 | ||||
-rw-r--r-- | views/default/tidypics/forms/edit.php | 10 |
2 files changed, 23 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); } diff --git a/views/default/tidypics/forms/edit.php b/views/default/tidypics/forms/edit.php index 342ac8822..1758d14f4 100644 --- a/views/default/tidypics/forms/edit.php +++ b/views/default/tidypics/forms/edit.php @@ -94,6 +94,16 @@ } else { // album so display access control + + $categories = elgg_view('categories',$vars); + if (!empty($categories)) { +?> + <p> + <?php echo $categories; ?> + </p> + +<?php + } ?> <p> <label><?php echo elgg_echo('access'); ?></label> |