diff options
author | Malf Furious <m@lfurio.us> | 2018-09-08 08:08:22 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2018-09-08 08:08:22 -0400 |
commit | 54782f88a2987ef2d0a5a530cfd0f027c38be396 (patch) | |
tree | d808e1bfc65437ac7de95cfbf0b8b2687273952e /app/view/stdpage.php | |
parent | 5aa9a93c6e399d2a1d91c408502b9b5a191f61c5 (diff) | |
download | scrott-54782f88a2987ef2d0a5a530cfd0f027c38be396.tar.gz scrott-54782f88a2987ef2d0a5a530cfd0f027c38be396.zip |
Add 'New Pad' modal
Diffstat (limited to 'app/view/stdpage.php')
-rw-r--r-- | app/view/stdpage.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/view/stdpage.php b/app/view/stdpage.php index 478c414..1629dbf 100644 --- a/app/view/stdpage.php +++ b/app/view/stdpage.php @@ -164,7 +164,11 @@ require_once "view/datamods.php"; <?php function nav() : void { ?> <?=about()?> - <?=\datamods\newGroup()?> + + <?php if (\user::getCurrent()) { ?> + <?=\datamods\newGroup()?> + <?=\datamods\newPad()?> + <?php } ?> <nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container-fluid"> @@ -208,6 +212,7 @@ require_once "view/datamods.php"; <ul class="dropdown-menu"> <li><a href="#" data-toggle="modal" data-target="#newGroupModal">New Group</a></li> + <li><a href="#" data-toggle="modal" data-target="#newPadModal">New Pad</a></li> </ul> </li> </ul> |