summaryrefslogtreecommitdiffstats
path: root/app/view
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-09-17 00:31:15 -0400
committerMalf Furious <m@lfurio.us>2016-09-17 00:31:15 -0400
commitee3b66018804b332ec2a2953a1d04b7e0beb68fa (patch)
tree8797795f5944c0816e45627fbd41e2ad1512a5a5 /app/view
parentcdcc2bcb837729ffdc365e3701865298433b1c73 (diff)
downloadscrott-ee3b66018804b332ec2a2953a1d04b7e0beb68fa.tar.gz
scrott-ee3b66018804b332ec2a2953a1d04b7e0beb68fa.zip
Update group setting tab to use parameterized view templates
Diffstat (limited to 'app/view')
-rw-r--r--app/view/common/group.setting.modal.view.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/view/common/group.setting.modal.view.php b/app/view/common/group.setting.modal.view.php
index e2a73e0..bf6b6c5 100644
--- a/app/view/common/group.setting.modal.view.php
+++ b/app/view/common/group.setting.modal.view.php
@@ -16,6 +16,9 @@
?>
+<?php require_once "view/common/permissions.setting.modal.view.php"; ?>
+<?php require_once "view/common/ownership.setting.modal.view.php"; ?>
+
<div class="tab-pane fade <?=$mod->getSettingModalTabDispClasses()?>" id="settGroupTab">
<p>&nbsp;</p>
@@ -55,8 +58,8 @@
</div>
</div>
- <?php include "view/common/permissions.setting.modal.view.php"; ?>
- <?php include "view/common/ownership.setting.modal.view.php"; ?>
+ <?php common_setting_permissions($mod, $mod->group); ?>
+ <?php common_setting_ownership($mod, $mod->group); ?>
<button type="submit" class="btn btn-success pull-right">Save</button>