This file is indexed.

/usr/share/icingaweb2/modules/monitoring/application/views/scripts/list/comments.phtml is in icingaweb2-module-monitoring 2.1.0-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php if (! $this->compact): ?>
<div class="controls separated dont-print">
    <?= $tabs ?>
    <?= $this->render('list/components/selectioninfo.phtml') ?>
    <div class="grid">
        <?= $this->sortBox ?>
        <?= $this->limiter ?>
        <?= $this->paginator ?>
    </div>
    <?= $this->filterEditor ?>
</div>
<?php endif ?>
<div class="content">
  <table data-base-target="_next"
         class="table-row-selectable common-table multiselect"
         data-icinga-multiselect-url="<?= $this->href('monitoring/comments/show'); ?>"
         data-icinga-multiselect-related="<?= $this->href("monitoring/comments") ?>"
         data-icinga-multiselect-data="comment_id">
    <tbody>
    <?php foreach ($comments->peekAhead($this->compact) as $comment): ?>
      <tr href="<?=  $this->href('monitoring/comment/show', array('comment_id' => $comment->id)) ?>">
        <td class="icon-col">
          <?= $this->partial('partials/comment/comment-description.phtml', array('comment' => $comment)); ?>
        </td>
        <td>
          <?= $this->partial(
              'partials/comment/comment-detail.phtml',
              array(
                  'comment'        => $comment,
                  'delCommentForm' => $delCommentForm // Form is unset if the current user lacks the respective permission
          )) ?>
        </td>
      </tr>
    <?php endforeach ?>
    </tbody>
  </table>
<?php if (! $comments->hasResult()): ?>
  <?= $this->translate('No comments found matching the filter'); ?>
<?php elseif ($comments->hasMore()): ?>
  <?= $this->qlink(
    $this->translate('Show More'),
    $this->url()->without(array('view', 'limit')),
    null,
    array(
      'data-base-target'    => '_next',
      'class'               => 'pull-right action-link'
    )
  ); ?>
<?php endif ?>
</div>