diff --git a/web/skins/classic/includes/functions.php b/web/skins/classic/includes/functions.php
index 133162d1e..0aa61e283 100644
--- a/web/skins/classic/includes/functions.php
+++ b/web/skins/classic/includes/functions.php
@@ -601,7 +601,7 @@ function getLogHTML() {
}
$logstate = logState();
$class = ($logstate == 'ok') ? 'text-success' : ($logstate == 'alert' ? 'text-warning' : (($logstate == 'alarm' ? 'text-danger' : '')));
- echo '
'.makePopupLink('?view=log', 'zmLog', 'log', ''.translate('Log').'').PHP_EOL;
+ echo ''.makePopupLink('?view=log', 'zmLog', 'log', ''.translate('Log').'').''.PHP_EOL;
}
}
}
@@ -615,29 +615,29 @@ function getDevicesHTML() {
// Returns the html representing the Groups menu item
function getGroupsHTML($view) {
- $class = $view == 'groups' ? 'selected' : '';
- echo ''. translate('Groups') .''.PHP_EOL;
+ $class = $view == 'groups' ? ' selected' : '';
+ echo ''. translate('Groups') .''.PHP_EOL;
}
// Returns the html representing the Filter menu item
function getFilterHTML($view,$filterQuery,$sortQuery,$limitQuery) {
- $class = $view == 'filter' ? 'selected' : '';
- echo ''.translate('Filters').''.PHP_EOL;
+ $class = $view == 'filter' ? ' selected' : '';
+ echo ''.translate('Filters').''.PHP_EOL;
}
// Returns the html representing the Cycle menu item
function getCycleHTML($view) {
if ( canView('Stream') ) {
- $class = $view == 'cycle' ? 'selected' : '';
- echo '' .translate('Cycle'). ''.PHP_EOL;
+ $class = $view == 'cycle' ? ' selected' : '';
+ echo '' .translate('Cycle'). ''.PHP_EOL;
}
}
// Returns the html representing the Montage menu item
function getMontageHTML($view) {
if ( canView('Stream') ) {
- $class = $view == 'cycle' ? 'selected' : '';
- echo '' .translate('Montage'). ''.PHP_EOL;
+ $class = $view == 'cycle' ? ' selected' : '';
+ echo '' .translate('Montage'). ''.PHP_EOL;
}
}
@@ -659,16 +659,16 @@ function getMontageReviewHTML($view) {
}
}
$live = isset($montageReviewQuery) ? '&fit=1'.$montageReviewQuery.'&live=0' : '';
- $class = $view == 'montagereview' ? 'selected' : '';
- echo '' .translate('MontageReview'). ''.PHP_EOL;
+ $class = $view == 'montagereview' ? ' selected' : '';
+ echo ''.translate('MontageReview').''.PHP_EOL;
}
}
// Returns the html representing the Audit Events Report menu item
function getRprtEvntAuditHTML($view) {
if ( canView('Events') ) {
- $class = $view == 'report_event_audit' ? 'selected' : '';
- echo '' .translate('ReportEventAudit'). ''.PHP_EOL;
+ $class = $view == 'report_event_audit' ? ' selected' : '';
+ echo ''.translate('ReportEventAudit').''.PHP_EOL;
}
}