diff options
-rw-r--r-- | app/view/stdpage.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/view/stdpage.php b/app/view/stdpage.php index 2eb2c2c..064f6e7 100644 --- a/app/view/stdpage.php +++ b/app/view/stdpage.php @@ -222,7 +222,14 @@ require_once "view/settings.php"; <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> - User Button <span class="caret"></span> + <?php if (\user::getCurrent()->admin == 1) { ?> + <span class="glyphicon glyphicon-sunglasses"></span> + <?php } ?> + + <span class="glyphicon glyphicon-user"></span> + + <?=\user::getCurrent()->getDisplayName()?> + <span class="caret"></span> </a> <ul class="dropdown-menu"> |