From 5ad1c0c928efc82adaebda82a1d022601ad2affc Mon Sep 17 00:00:00 2001 From: Alexander Fuhr Date: Tue, 18 Nov 2014 10:29:47 +0100 Subject: [PATCH] Adjust vars to the coding guidelines --- .../scripts/show/components/checkstatistics.phtml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml b/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml index cc00c4100..50b40cdcc 100644 --- a/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml +++ b/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml @@ -7,15 +7,15 @@ if ($object->getType() === $object::TYPE_HOST) { 'monitoring/host/reschedule-check', array('host' => $object->getName()) ); - $check_attempts = $object->host_current_check_attempt . '/' . $object->host_max_check_attempts; - $state_type = (int) $object->host_state_type; + $checkAttempts = $object->host_current_check_attempt . '/' . $object->host_max_check_attempts; + $stateType = (int) $object->host_state_type; } else { $reschedule = $this->href( 'monitoring/service/reschedule-check', array('host' => $object->getHost()->getName(), 'service' => $object->getName()) ); - $check_attempts = $object->service_attempt; - $state_type = (int) $object->service_state_type; + $checkAttempts = $object->service_attempt; + $stateType = (int) $object->service_state_type; } ?> @@ -38,10 +38,10 @@ if ($object->getType() === $object::TYPE_HOST) { translate('Check attempts') ?> - - translate('(soft state)') ?> + + translate('(soft state)') ?> - translate('(hard state)') ?> + translate('(hard state)') ?> check_execution_time): ?>