categories only show to admins

This commit is contained in:
Joshua Perry 2023-01-25 15:39:30 +00:00
parent 62be7cef5c
commit 25cd78200d
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,9 @@
<section class="left">
<ul>
<li><a href="/portal">Jobs</a></li>
<li><a href="/portal/categories">Categories</a></li>
<?php if ($_SESSION['userType'] == 'admin') { ?>
<li><a href="/portal/categories">Categories</a></li>
<?php } ?>
</ul>
</section>
<section class="right">