diff --git a/web/skins/classic/includes/functions.php b/web/skins/classic/includes/functions.php index 66e1dda62..0a9e4ecb7 100644 --- a/web/skins/classic/includes/functions.php +++ b/web/skins/classic/includes/functions.php @@ -234,6 +234,7 @@ function getNormalNavBarHTML($running, $user, $bandwidth_options, $view, $skin) echo getMontageHTML($view); echo getMontageReviewHTML($view); echo getSnapshotsHTML($view); + echo getReportsHTML($view); echo getRprtEvntAuditHTML($view); echo getHeaderFlipHTML(); echo ''; @@ -368,6 +369,7 @@ function getCollapsedNavBarHTML($running, $user, $bandwidth_options, $view, $ski echo getMontageHTML($view); echo getMontageReviewHTML($view); echo getSnapshotsHTML($view); + echo getReportsHTML($view); echo getRprtEvntAuditHTML($view); echo ''; } @@ -764,6 +766,17 @@ function getSnapshotsHTML($view) { return $result; } +function getReportsHTML($view) { + $result = ''; + + if (canView('Events')) { + $class = ($view == 'reports' or $view == 'report') ? ' selected' : ''; + $result .= '