From 4f5380ec889e89958dbab6cb45a2436743ae8c33 Mon Sep 17 00:00:00 2001
From: Cash Costello
Date: Sat, 6 Jun 2009 23:57:56 +0000
Subject: can now turn off group permissions override - menus are still
available though
---
views/default/tidypics/forms/admin.php | 5 +++++
1 file changed, 5 insertions(+)
(limited to 'views/default/tidypics/forms/admin.php')
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:
';
+ // Group permission override
+ $grp_perm_override = $plugin->grp_perm_override;
+ if(!$grp_perm_override) $grp_perm_override = "enabled";
+ $form_body .= '' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:grp_perm_override') => 'enabled'), 'internalname' => 'grp_perm_override', 'value' => $grp_perm_override )) . "
";
+
$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
--
cgit v1.2.3