Merge branch 'master' into feature/display-documentation-4820
This commit is contained in:
commit
034923d886
|
@ -24,13 +24,9 @@ title = "Landing page"
|
||||||
|
|
||||||
[Landing.Hostgroups]
|
[Landing.Hostgroups]
|
||||||
url = "monitoring/chart/hostgroup"
|
url = "monitoring/chart/hostgroup"
|
||||||
height = 540
|
|
||||||
width = 540
|
|
||||||
|
|
||||||
[Landing.Servicegroups]
|
[Landing.Servicegroups]
|
||||||
url = "monitoring/chart/servicegroup"
|
url = "monitoring/chart/servicegroup"
|
||||||
height = 540
|
|
||||||
width = 540
|
|
||||||
|
|
||||||
[Landing.Unhandled Problem Services]
|
[Landing.Unhandled Problem Services]
|
||||||
url = "monitoring/list/services"
|
url = "monitoring/list/services"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
<div style="max-width:<?= $this->width; ?>px;max-height:<?= $this->height; ?>px;margin:auto;">
|
<div style="max-height:548px; margin:auto;">
|
||||||
<?=
|
<?=
|
||||||
$chart->render();
|
$chart->render();
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
<div style="max-width:<?= $this->width; ?>px;max-height:<?= $this->height; ?>px;margin:auto;">
|
<div style="max-height:548px; margin:auto;">
|
||||||
<?=
|
<?=
|
||||||
$chart->render();
|
$chart->render();
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -22,7 +22,7 @@ foreach ($groupData as $groupName => $groupInfo): ?>
|
||||||
<div class="box entry">
|
<div class="box entry">
|
||||||
<img src="<?= $this->href('/static/gravatar', array('email' => $c->contact_email )) ?>" />
|
<img src="<?= $this->href('/static/gravatar', array('email' => $c->contact_email )) ?>" />
|
||||||
<a href="<?= $this->href(
|
<a href="<?= $this->href(
|
||||||
'monitoring/show/contacts',
|
'monitoring/show/contact',
|
||||||
array('contact' => $c->contact_name)
|
array('contact' => $c->contact_name)
|
||||||
); ?>">
|
); ?>">
|
||||||
<?= $this->escape($c->contact_alias) ?>
|
<?= $this->escape($c->contact_alias) ?>
|
||||||
|
|
|
@ -26,23 +26,23 @@ $contactHelper = $this->getHelper('ContactFlags');
|
||||||
<div><?= sprintf(
|
<div><?= sprintf(
|
||||||
'%1$s: <a href="mailto:%2$s">%2$s</a>',
|
'%1$s: <a href="mailto:%2$s">%2$s</a>',
|
||||||
t('Email'),
|
t('Email'),
|
||||||
htmlspecialchars($contact->contact_email)
|
$this->escape($contact->contact_email)
|
||||||
) ?></div>
|
) ?></div>
|
||||||
<?php if ($contact->contact_pager): ?>
|
<?php if ($contact->contact_pager): ?>
|
||||||
<div>
|
<div>
|
||||||
<?= t('Pager') ?>:
|
<?= t('Pager') ?>:
|
||||||
<?= htmlspecialchars($contact->contact_pager) ?>
|
<?= $this->escape($contact->contact_pager) ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<div style="clear: both;"></div>
|
<div style="clear: both;"></div>
|
||||||
<div class="notification-periods">
|
<div class="notification-periods">
|
||||||
<div>
|
<div>
|
||||||
<?= t('Service notification period') ?>:
|
<?= t('Service notification period') ?>:
|
||||||
<?= htmlspecialchars($contact->contact_notify_service_timeperiod) ?>
|
<?= $this->escape($contact->contact_notify_service_timeperiod) ?>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<?= t('Host notification period') ?>:
|
<?= t('Host notification period') ?>:
|
||||||
<?= htmlspecialchars($contact->contact_notify_host_timeperiod) ?>
|
<?= $this->escape($contact->contact_notify_host_timeperiod) ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,8 +7,8 @@ $contactHelper = $this->getHelper('ContactFlags');
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2" style="text-align: left">
|
<th colspan="2" style="text-align: left">
|
||||||
<?= htmlspecialchars($contact->contact_name) ?><span style="font-weight: normal;"> (<?=
|
<?= $this->escape($contact->contact_name) ?><span style="font-weight: normal;"> (<?=
|
||||||
htmlspecialchars($contact->contact_alias)
|
$this->escape($contact->contact_alias)
|
||||||
?>)</span>
|
?>)</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -18,30 +18,30 @@ $contactHelper = $this->getHelper('ContactFlags');
|
||||||
<td><?= t('Email') ?></td>
|
<td><?= t('Email') ?></td>
|
||||||
<td><?php printf(
|
<td><?php printf(
|
||||||
'<a href="mailto:%1$s">%1$s</a>',
|
'<a href="mailto:%1$s">%1$s</a>',
|
||||||
htmlspecialchars($contact->contact_email)
|
$this->escape($contact->contact_email)
|
||||||
); ?></td>
|
); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php if ($contact->contact_pager): ?>
|
<?php if ($contact->contact_pager): ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= t('Pager') ?></td>
|
<td><?= t('Pager') ?></td>
|
||||||
<td><?= htmlspecialchars($contact->contact_pager) ?></td>
|
<td><?= $this->escape($contact->contact_pager) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= t('Flags (service)') ?></td>
|
<td><?= t('Flags (service)') ?></td>
|
||||||
<td><?= htmlspecialchars($contactHelper->contactFlags($contact, 'service')) ?></td>
|
<td><?= $this->escape($contactHelper->contactFlags($contact, 'service')) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= t('Flags (host)') ?></td>
|
<td><?= t('Flags (host)') ?></td>
|
||||||
<td><?= htmlspecialchars($contactHelper->contactFlags($contact, 'host')) ?></td>
|
<td><?= $this->escape($contactHelper->contactFlags($contact, 'host')) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= t('Service notification period') ?></td>
|
<td><?= t('Service notification period') ?></td>
|
||||||
<td><?= htmlspecialchars($contact->contact_notify_service_timeperiod) ?></td>
|
<td><?= $this->escape($contact->contact_notify_service_timeperiod) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= t('Host notification period') ?></td>
|
<td><?= t('Host notification period') ?></td>
|
||||||
<td><?= htmlspecialchars($contact->contact_notify_host_timeperiod) ?></td>
|
<td><?= $this->escape($contact->contact_notify_host_timeperiod) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue