2013-07-02 16:00:41 +02:00
|
|
|
<?php
|
|
|
|
if (!empty($this->contacts)) {
|
|
|
|
$contactList = array();
|
|
|
|
foreach ($this->contacts as $contact) {
|
|
|
|
$contactList[] = $this->qlink(
|
|
|
|
$contact->contact_alias,
|
|
|
|
'monitoring/show/contact',
|
|
|
|
array(
|
|
|
|
'contact_name' => $contact->contact_name
|
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
2013-06-27 10:14:41 +02:00
|
|
|
|
2013-07-02 16:00:41 +02:00
|
|
|
echo '<strong>Contacts:</strong> ';
|
|
|
|
echo implode(', ', $contactList);
|
|
|
|
}
|
2013-06-27 10:14:41 +02:00
|
|
|
|
2013-07-02 16:00:41 +02:00
|
|
|
if (!empty($this->contactgroups)) {
|
|
|
|
$contactGroupList = array();
|
|
|
|
foreach ($this->contactgroups as $contactgroup) {
|
|
|
|
$contactGroupList[] = $this->qlink(
|
|
|
|
$contactgroup->contactgroup_alias,
|
|
|
|
'monitoring/show/contactgroup',
|
|
|
|
array(
|
|
|
|
'contactgroup_name' => $contactgroup->contactgroup_name
|
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
echo '<strong>Contactgroups:</strong> ';
|
|
|
|
echo implode(', ', $contactGroupList);
|
|
|
|
}
|
|
|
|
?>
|