<?php

$objectName = $this->is_service ? 'Services' : 'Hosts';

?><tr class="newsection" data-base-target="_next">
  <th><a href=<?= count($comments) ?> <?= $this->translate('Comments') ?></th>
  <td>
    <a href="<?= $this->href('monitoring/command/removecomment', $this->target) ?>"><?=
        $this->icon('remove_petrol.png')
    ?> <?= $this->translate('Remove Comments') ?></a><br />
    <a href="<?= $this->href('monitoring/command/delaynotifications', $this->target); ?>"><?=
        $this->icon('notification_disabled_petrol.png')
    ?> <?= $this->translate('Delay Notifications') ?></a><br />
    <a title="<?= $this->translate('Acknowledge all problems on the selected hosts or services') ?>"
        href="<?= $this->href('monitoring/command/acknowledgeproblem') ?>, $this->target); ?>">
        <?= $this->icon('acknowledgement_petrol.png') ?> Acknowledge
    </a>
  </td>
  <td><a href=" <?= $this->href(
          'monitoring/list/comments',
          array('comment_internal_id' => '(' . implode('|', $this->comments) . ')')
      );
      ?>"> <?= count($comments) ?> comments </a>.
  </td>
</tr>
