diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-06-03 12:08:45 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-06-03 12:08:45 +0000 |
commit | a60e2065b9b943e91a38751694fabae1a3873b3a (patch) | |
tree | b67ed805046232e518e4b65b80620548d3317339 /views/default/tidypics | |
parent | 99a5db94c8e91913e42331bd73d37cb93f3cc2d8 (diff) | |
download | elgg-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/tidypics')
-rw-r--r-- | views/default/tidypics/image_menu.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/views/default/tidypics/image_menu.php b/views/default/tidypics/image_menu.php index dcec9b35a..9257d780a 100644 --- a/views/default/tidypics/image_menu.php +++ b/views/default/tidypics/image_menu.php @@ -14,13 +14,15 @@ $viewer = $vars['viewer'];
$owner = $vars['owner'];
- // only owner and friends of owner can tag
- if ($viewer && $viewer->guid == $owner->guid || user_is_friend($owner->guid, $viewer->guid)) {
+ if (get_plugin_setting('tagging', 'tidypics') != "disabled") {
+ // only owner and friends of owner can tag
+ if ($viewer && $viewer->guid == $owner->guid || user_is_friend($owner->guid, $viewer->guid)) {
?>
<li id="start_tagging"><a id="tag_control" href="javascript:void(0)" onclick="startTagging()"><?= elgg_echo('tidypics:tagthisphoto') ?></a></li>
<?php
+ }
}
- if (get_plugin_setting('download_link', 'tidypics') != "no") {
+ if (get_plugin_setting('download_link', 'tidypics') != "disabled") {
?>
<li id="download_image"><a href="<?php echo $vars['url']; ?>action/tidypics/download?file_guid=<?php echo $file_guid; ?>"><?php echo elgg_echo("image:download"); ?></a></li>
<?php
|