diff --git a/web/skins/classic/includes/functions.php b/web/skins/classic/includes/functions.php
index 063977942..c83c2ef34 100644
--- a/web/skins/classic/includes/functions.php
+++ b/web/skins/classic/includes/functions.php
@@ -258,10 +258,11 @@ function getNavBarHTML($reload = null) {
-
+
-
+
+
-
+if ( ZM_OPT_X10 && canView('Devices') ) { ?>
- Devices
- >
- >
- >
- >
@@ -295,44 +296,43 @@ if (isset($_REQUEST['filter']['Query']['terms']['attr'])) {
$terms = $_REQUEST['filter']['Query']['terms'];
$count = 0;
foreach ($terms as $term) {
- if ($term['attr'] == "StartDateTime") {
+ if ( $term['attr'] == 'StartDateTime' ) {
$count += 1;
if ($term['op'] == '>=') $minTime = $term['val'];
if ($term['op'] == '<=') $maxTime = $term['val'];
}
}
- if ($count == 2) {
+ if ( $count == 2 ) {
$montageReviewQuery = '&minTime='.$minTime.'&maxTime='.$maxTime;
}
}
if ( canView('Events') ) {
?>
- - >
+ - >
- >
-
account_circle
-
+
-
-
+
+
>
network_check ".$bandwidth_options[$_COOKIE['zmBandwidth']] . ' ', ($user && $user['MaxBandwidth'] != 'low' ) ) ?>
- v'.ZM_VERSION.'', canEdit( 'System' ) ) ?>
+ v'.ZM_VERSION.'', canEdit('System') ) ?>
- trending_up :
@@ -366,9 +366,9 @@ if ($reload == 'reload') ob_start();
$func = function($S){
$class = '';
if ( $S->disk_usage_percent() > 98 ) {
- $class = "error";
+ $class = 'error';
} else if ( $S->disk_usage_percent() > 90 ) {
- $class = "warning";
+ $class = 'warning';
}
$title = human_filesize($S->disk_used_space()) . ' of ' . human_filesize($S->disk_total_space()).
( ( $S->disk_used_space() != $S->event_disk_space() ) ? ' ' .human_filesize($S->event_disk_space()) . ' used by events' : '' );