aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-06 23:57:56 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-06 23:57:56 +0000
commit4f5380ec889e89958dbab6cb45a2436743ae8c33 (patch)
tree64e19b028d550f1d4500de40bfc6128e8602b9ea /views/default/tidypics
parent81cb128025f2b5527ac83498a97847aca8309267 (diff)
downloadelgg-4f5380ec889e89958dbab6cb45a2436743ae8c33.tar.gz
elgg-4f5380ec889e89958dbab6cb45a2436743ae8c33.tar.bz2
can now turn off group permissions override - menus are still available though
Diffstat (limited to 'views/default/tidypics')
-rw-r--r--views/default/tidypics/forms/admin.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/views/default/tidypics/forms/admin.php b/views/default/tidypics/forms/admin.php
index af84def00..64e1ed3d1 100644
--- a/views/default/tidypics/forms/admin.php
+++ b/views/default/tidypics/forms/admin.php
@@ -96,6 +96,11 @@
$form_body .= 'height: <input style="width: 20%;" type="text" name="thumb_height" value=' . "\"{$image_sizes['thumb_image_height']}\"" . ' class="input-text" /></p>';
+ // Group permission override
+ $grp_perm_override = $plugin->grp_perm_override;
+ if(!$grp_perm_override) $grp_perm_override = "enabled";
+ $form_body .= '<p class="admin_debug">' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:grp_perm_override') => 'enabled'), 'internalname' => 'grp_perm_override', 'value' => $grp_perm_override )) . "</p>";
+
$form_body .= elgg_view('input/submit', array('value' => elgg_echo("save")));
echo elgg_view('input/form', array('action' => $action, 'body' => $form_body)); \ No newline at end of file