monitoring: Rename $host_name to $hostName in the servicegrid view script

refs #9538
This commit is contained in:
Eric Lippmann 2015-08-21 11:29:29 +02:00
parent 1741a4f10b
commit d461270bf8
1 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ if (count($pivotData) === 0) {
$hostFilter = '(host_name=' . implode('|host_name=', array_keys($pivotData)) . ')'; $hostFilter = '(host_name=' . implode('|host_name=', array_keys($pivotData)) . ')';
?> ?>
<table class="pivot servicestates"> <table class="pivot servicestates">
<?php foreach ($pivotData as $host_name => $serviceStates): ?> <?php foreach ($pivotData as $hostName => $serviceStates): ?>
<?php if (!$hasHeader): ?> <?php if (!$hasHeader): ?>
<thead> <thead>
<tr> <tr>
@ -66,10 +66,10 @@ foreach ($serviceDescriptions as $service_description): ?>
<tr> <tr>
<th> <th>
<?= $this->qlink( <?= $this->qlink(
$host_name, $hostName,
'monitoring/list/services?' . $serviceFilter, 'monitoring/list/services?' . $serviceFilter,
array('host' => $host_name), array('host' => $hostName),
array('title' => sprintf($this->translate('List all reported services on host %s'), $host_name)) array('title' => sprintf($this->translate('List all reported services on host %s'), $hostName))
); ?> ); ?>
</th> </th>
<?php foreach (array_values($serviceStates) as $service): ?> <?php foreach (array_values($serviceStates) as $service): ?>