aboutsummaryrefslogtreecommitdiff
path: root/views/default/object
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-05-20 12:03:54 +0000
committerCash Costello <cash.costello@gmail.com>2009-05-20 12:03:54 +0000
commita8376b4033d8ff8880198cf37f4c0ba9d94d0316 (patch)
treed7976519116180adf18e2445bc833b4aa9e87bb3 /views/default/object
parent12a27fa3b501cf08091cd063dd3208a17e0f624a (diff)
downloadelgg-a8376b4033d8ff8880198cf37f4c0ba9d94d0316.tar.gz
elgg-a8376b4033d8ff8880198cf37f4c0ba9d94d0316.tar.bz2
only owners and friends of owner can tag photos
Diffstat (limited to 'views/default/object')
-rw-r--r--views/default/object/image.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index 546cd711e..b65dc858e 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -172,14 +172,18 @@ if ($photo_tags) {
<?php
// image menu (start tagging, download, etc.)
echo '<div id="tidypics_controls"><ul>';
- echo elgg_view('tidypics/image_menu', array('file_guid' => $file_guid,) );
+ echo elgg_view('tidypics/image_menu', array('file_guid' => $file_guid,
+ 'viewer' => $viewer,
+ 'owner' => $owner,) );
echo '</ul></div>';
// tagging code
echo elgg_view('tidypics/tagging', array( 'photo_tags' => $photo_tags,
'links' => $photo_tag_links,
'photo_tags_json' => $photo_tags_json,
- 'file_guid' => $file_guid, ) );
+ 'file_guid' => $file_guid,
+ 'viewer' => $viewer,
+ 'owner' => $owner, ) );
?>
<div id="tidypics_breadcrumbs">