diff options
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> |