summaryrefslogtreecommitdiff
path: root/src/application/views/template_navigation.php
blob: ff0752b5dd1ddeb8d629ea04c8ad78a4d98a1573 (plain)
1
2
3
4
5
6
7
8
9
<?php
if ($user) {
    _view("nav_logged_in", [
        "user" => $user,
        "isViewingOwnProfile" => $isViewingOwnProfile ?? false,
    ]);
} else {
    _view("nav_guest");
}