From a8376b4033d8ff8880198cf37f4c0ba9d94d0316 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Wed, 20 May 2009 12:03:54 +0000 Subject: only owners and friends of owner can tag photos --- views/default/object/image.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'views/default/object/image.php') 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) { '; // 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, ) ); ?>
-- cgit v1.2.3