diff --git a/www/include/monitoring/status/Common/commonJS.php b/www/include/monitoring/status/Common/commonJS.php index de375c7ee6e..3a3db68fbfa 100644 --- a/www/include/monitoring/status/Common/commonJS.php +++ b/www/include/monitoring/status/Common/commonJS.php @@ -1,7 +1,7 @@ userFeaturesValue( $centreon->user->get_id() ); -foreach($userFeatures as $feature) { - if($feature['name'] == 'Header' && $feature['enabled'] == 1) { +foreach ($userFeatures as $feature) { + if ($feature['name'] == 'Header' && + $feature['enabled'] == 1 + ) { $headerVersion = (int) $feature['version']; } } ?> // Dynamique -var _headerId=''; -var _sid=''; +var _headerId = ''; +var _sid = ''; -var _search_type_host=''; +var _search_type_host = ''; -var _search_type_service=''; +var _search_type_service = ''; var _search = 'historySearchOutput[$url]) ? $centreon->historySearchOutput[$url] : "")); ?>'; -var _num=''; -var _limit=''; -var _sort_type=''; -var _order=''; -var _date_time_format_status=''; +var _num = ''; +var _limit = ''; +var _sort_type = ''; +var _order = ''; +var _date_time_format_status = ''; var _o=''; var _p=''; @@ -92,8 +94,8 @@ var _oldInputFieldValue = ''; var _oldInputHostFieldValue = ''; var _oldInputOutputFieldValue = ''; -var _currentInputFieldValue=""; // valeur actuelle du champ texte -var _resultCache=new Object(); +var _currentInputFieldValue = ""; // valeur actuelle du champ texte +var _resultCache = new Object(); var _first = 1; var _lock = 0; var _instance = "-1";