aboutsummaryrefslogtreecommitdiff
path: root/views/default/object
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-03 12:08:45 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-03 12:08:45 +0000
commita60e2065b9b943e91a38751694fabae1a3873b3a (patch)
treeb67ed805046232e518e4b65b80620548d3317339 /views/default/object
parent99a5db94c8e91913e42331bd73d37cb93f3cc2d8 (diff)
downloadelgg-a60e2065b9b943e91a38751694fabae1a3873b3a.tar.gz
elgg-a60e2065b9b943e91a38751694fabae1a3873b3a.tar.bz2
completed new admin settings - no longer uses default Elgg plugin settings in Tools Administration
Diffstat (limited to 'views/default/object')
-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