type === 2 ? 'service' : 'host'; /** @var Zend_View_Helper_CommandForm $cf */ $cf = $this->getHelper('CommandForm'); if ($type === 'host') { $objectStateName = strtolower($this->util()->getHostStateName($this->object->host_state)); $objectState = (int) $object->host_state; } else { $objectStateName = strtolower($this->util()->getServiceStateName($this->object->service_state)); $objectState = (int) $object->service_state; } ?>
action_url || $object->notes_url): ?>
notes_url): ?> notes_url, "' ") === false): ?> Notes notes_url) as $url): ?> Notes action_url): ?> action_url, "' ") === false): ?> Action action_url) as $url): ?> Action

0): ?> object->host_acknowledged || $this->object->service_acknowledged): ?> labelSubmitForm( 'Remove Ack', 'Remove problem acknowledgement', 'btn-cta btn-half-left', 'removeacknowledgement', array( 'host' => $this->object->host_name, 'service' => $this->object->service_description ) ) ?> Acknowledge labelSubmitForm( 'Recheck', 'Reschedule next check immediately', 'btn-cta ' . (($objectState > 0) ? 'btn-half-right' : 'btn-wide'), 'reschedulenextcheck', array( 'host' => $this->object->host_name, 'service' => $this->object->service_description, 'checktime' => time(), 'forcecheck' => '1' ) ) ?>
0): ?> service_description) { $notificationsHref = $this->href( 'monitoring/list/notifications', array( 'host' => $object->host_name, 'service' => $object->service_description ) ); } else { $notificationsHref = $this->href( 'monitoring/list/notifications', array( 'host' => $object->host_name ) ); } ?>