From d8b715d86069f247853565a2fde83d2846e853b0 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Thu, 26 Jul 2018 05:00:27 -0400 Subject: Add "My Groups" page --- app/index.php | 5 +++++ app/view/groups.php | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 app/view/groups.php (limited to 'app') diff --git a/app/index.php b/app/index.php index b0b191f..0a106c2 100644 --- a/app/index.php +++ b/app/index.php @@ -59,6 +59,11 @@ function main(array $argv) : void user::setCurrent(); location("/"); break; + + case "groups": + setPageName("Groups"); + require "view/groups.php"; + break; } /* TODO */ diff --git a/app/view/groups.php b/app/view/groups.php new file mode 100644 index 0000000..dadb61e --- /dev/null +++ b/app/view/groups.php @@ -0,0 +1,55 @@ + + + + + + + + + + + + + +
+ + + getGroups_ordByOwnByName())) { ?> +
+

You aren't part of any groups

+
+ + + getGroups_ordByOwnByName() as $g) { ?> + + +
+ + + + -- cgit v1.2.3