state, array(0, 99))) { // Ignore this markup if the object is in a non-problem state or pending return; } if ($object->acknowledged): ?> translate('Acknowledged') ?> translate('Not acknowledged') ?> hasPermission('monitoring/command/acknowledge-problem')) { if ($object->getType() === $object::TYPE_HOST) { $ackLink = $this->href( 'monitoring/host/acknowledge-problem', array('host_name' => $object->getName()) ); } else { $ackLink = $this->href( 'monitoring/service/acknowledge-problem', array('host_name' => $object->getHost()->getName(), 'service_description' => $object->getName()) ); } ?> qlink( $this->translate('Acknowledge'), $ackLink, null, array( 'icon' => 'ok', 'data-base-target' => '_self', 'title' => $this->translate( 'Acknowledge this problem, suppress all future notifications for it and tag it as being handled' ) ) ); ?>