From 0d53041fc67e13fc53cca0c993ec1a7a31a5a16e Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sun, 15 Jan 2017 05:57:19 -0500 Subject: Reorganize examples/ directory --- examples/view/common/foot.view.php | 19 ++ examples/view/common/group.setting.modal.view.php | 96 ++++++ examples/view/common/head.view.php | 26 ++ examples/view/common/newgroup.modal.view.php | 49 +++ .../view/common/ownership.setting.modal.view.php | 35 +++ .../view/common/permissions.setting.modal.view.php | 82 +++++ examples/view/common/setting.modal.view.php | 346 +++++++++++++++++++++ examples/view/common/topp.view.php | 83 +++++ 8 files changed, 736 insertions(+) create mode 100644 examples/view/common/foot.view.php create mode 100644 examples/view/common/group.setting.modal.view.php create mode 100644 examples/view/common/head.view.php create mode 100644 examples/view/common/newgroup.modal.view.php create mode 100644 examples/view/common/ownership.setting.modal.view.php create mode 100644 examples/view/common/permissions.setting.modal.view.php create mode 100644 examples/view/common/setting.modal.view.php create mode 100644 examples/view/common/topp.view.php (limited to 'examples/view/common') diff --git a/examples/view/common/foot.view.php b/examples/view/common/foot.view.php new file mode 100644 index 0000000..977ac04 --- /dev/null +++ b/examples/view/common/foot.view.php @@ -0,0 +1,19 @@ + + + diff --git a/examples/view/common/group.setting.modal.view.php b/examples/view/common/group.setting.modal.view.php new file mode 100644 index 0000000..d0e11ca --- /dev/null +++ b/examples/view/common/group.setting.modal.view.php @@ -0,0 +1,96 @@ + + + + +
+

 

+ +
+ + + +
+
+
+ + group->canModify($mod->getCurrentUser()) ? "" : "disabled")?> /> +
+
+ +
+ <?=$mod->group->name?> + + group->canModify($mod->getCurrentUser())) { ?> +
+
+ +
+ + +
+
+ +
+
+ + +
+
+ + group); ?> + + group->canModify($mod->getCurrentUser())) { ?> +

 

+ + +
+ +

 

+

 

+ +
+ group->canModifyMembers($mod->getCurrentUser())) { ?> + + + + group->isOwner($mod->getCurrentUser())) { ?> + + + + +
+ +

 

+
diff --git a/examples/view/common/head.view.php b/examples/view/common/head.view.php new file mode 100644 index 0000000..76880a6 --- /dev/null +++ b/examples/view/common/head.view.php @@ -0,0 +1,26 @@ + + + + + diff --git a/examples/view/common/newgroup.modal.view.php b/examples/view/common/newgroup.modal.view.php new file mode 100644 index 0000000..3dd631c --- /dev/null +++ b/examples/view/common/newgroup.modal.view.php @@ -0,0 +1,49 @@ + + + diff --git a/examples/view/common/ownership.setting.modal.view.php b/examples/view/common/ownership.setting.modal.view.php new file mode 100644 index 0000000..3f7c382 --- /dev/null +++ b/examples/view/common/ownership.setting.modal.view.php @@ -0,0 +1,35 @@ + + + + isOwner($mod->getCurrentUser())) { ?> + +
+ +
+ +
+
+ + +
+
+ + diff --git a/examples/view/common/permissions.setting.modal.view.php b/examples/view/common/permissions.setting.modal.view.php new file mode 100644 index 0000000..55e4157 --- /dev/null +++ b/examples/view/common/permissions.setting.modal.view.php @@ -0,0 +1,82 @@ + + + + canModifyPermissions($mod->getCurrentUser())) { ?> + +
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+
+ + diff --git a/examples/view/common/setting.modal.view.php b/examples/view/common/setting.modal.view.php new file mode 100644 index 0000000..2217805 --- /dev/null +++ b/examples/view/common/setting.modal.view.php @@ -0,0 +1,346 @@ + + + diff --git a/examples/view/common/topp.view.php b/examples/view/common/topp.view.php new file mode 100644 index 0000000..d9e0df0 --- /dev/null +++ b/examples/view/common/topp.view.php @@ -0,0 +1,83 @@ + + + + +getCurrentUser()) { ?> + + + + + -- cgit v1.2.3