From 762f14cefdf988fcdc2521cd23092e037b9990e3 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Wed, 14 Sep 2016 00:18:39 -0400 Subject: Add view template for setting object permissions This view template can be included from object setting tab view to display controls for adjusting object permissions. --- app/view/common/permissions.setting.modal.view.php | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 app/view/common/permissions.setting.modal.view.php (limited to 'app/view/common/permissions.setting.modal.view.php') diff --git a/app/view/common/permissions.setting.modal.view.php b/app/view/common/permissions.setting.modal.view.php new file mode 100644 index 0000000..bd4b7cd --- /dev/null +++ b/app/view/common/permissions.setting.modal.view.php @@ -0,0 +1,80 @@ + + +obj->canModifyPermissions($mod->getCurrentUser())) { ?> + +
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+
+ -- cgit v1.2.3 From c45e5d50970fd285e93ca318c6e91e9f98ba1504 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 17 Sep 2016 00:00:24 -0400 Subject: Change permissions view template into a PHP function This change will allow us to use this in different contextes, even on a single page render. --- app/view/common/permissions.setting.modal.view.php | 102 +++++++++++---------- 1 file changed, 52 insertions(+), 50 deletions(-) (limited to 'app/view/common/permissions.setting.modal.view.php') diff --git a/app/view/common/permissions.setting.modal.view.php b/app/view/common/permissions.setting.modal.view.php index bd4b7cd..55e4157 100644 --- a/app/view/common/permissions.setting.modal.view.php +++ b/app/view/common/permissions.setting.modal.view.php @@ -16,65 +16,67 @@ ?> -obj->canModifyPermissions($mod->getCurrentUser())) { ?> - -
-
-
- -
+ + canModifyPermissions($mod->getCurrentUser())) { ?> + +
+
+
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- +
+ +
-
-
-
- -
+
+
+ +
-
- -
+
+ +
-
- +
+ +
-
+ -- cgit v1.2.3