aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/image.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object/image.php')
-rw-r--r--views/default/object/image.php16
1 files changed, 9 insertions, 7 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index d9204377f..5787bb39f 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -178,13 +178,15 @@ if ($photo_tags) {
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,
- 'viewer' => $viewer,
- 'owner' => $owner, ) );
-
+ if (get_plugin_setting('tagging', 'tidypics') != "disabled") {
+ echo elgg_view('tidypics/tagging', array( 'photo_tags' => $photo_tags,
+ 'links' => $photo_tag_links,
+ 'photo_tags_json' => $photo_tags_json,
+ 'file_guid' => $file_guid,
+ 'viewer' => $viewer,
+ 'owner' => $owner, ) );
+ }
+
?>
<div id="tidypics_breadcrumbs">
<?php