This file is indexed.

/usr/share/horde/turba/templates/browse/column_headers.inc is in php-horde-turba 4.1.3-1.

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
<form method="post" name="contacts" id="contacts" action="<?php echo Horde::url('browse.php') ?>">
<input type="hidden" name="source" value="<?php echo htmlspecialchars(Turba::$source) ?>" />
<input type="hidden" name="page" value="<?php echo htmlspecialchars($page) ?>" />
<?php echo Horde_Util::formInput() ?>
<table cellspacing="0" width="100%" class="linedRow">
<thead>
 <tr>
<?php $col_count = count($this->columns) + 1; if ($this->showMark): $col_count++; ?>
  <th class="turba-browse-icon item" width="1%" style="cursor:pointer" onclick="document.contacts.checkAll.checked = !document.contacts.checkAll.checked; SelectAll();" nowrap="nowrap"><label for="checkAll" class="hidden"><?php echo _("Check All/None") ?></label><input type="checkbox" id="checkAll" name="checkAll" onclick="document.contacts.checkAll.checked = !document.contacts.checkAll.checked; SelectAll();" <?php echo Horde::getAccessKeyAndTitle(_("Check _All/None")) ?> /></th>
<?php endif; ?>
<?php if ($this->showEdit): $col_count++; ?>
  <th class="turba-browse-icon item" width="1%"><span class="iconImg editImg" title="<?php echo htmlspecialchars(_("Edit")) ?>"></span></th>
<?php endif; ?>
<?php if ($this->showVcard): $col_count++; ?>
  <th class="turba-browse-icon item" width="1%"><span class="iconImg vcardImg" title="<?php echo htmlspecialchars(_("Download vCard")) ?>"></span></th>
<?php endif; ?>
<?php if ($this->showGroup): $col_count++; ?>
  <th class="turba-browse-icon item" width="1%"><span class="iconImg groupImg" title="<?php echo htmlspecialchars(_("List")) ?>"></span></th>
<?php endif; ?>
  <?php $s_url = Horde::selfUrl(true)->remove(array('sortadd', 'sortby', 'sortdir')); for ($i = 0, $imax = count($this->columns); $i <= $imax; ++$i): ?>
    <?php $columnlabel = $GLOBALS['attributes'][$i == 0 ? 'name' : $this->getColumnName($i)]['label']; ?>
  <th class="<?php echo ($this->showSort && $this->isSortColumn($i)) ? 'selected' : 'item' ?> leftAlign" width="<?php echo $width ?>%" nowrap="nowrap">
<?php if ($this->showSort): ?>
   <?php if ($this->isSortColumn($i)): ?>
      <?php $sortdir = $this->getColumnSortDirection($i); ?>
      <?php $changetitle = sprintf(_("Change %s sort to %s"), $columnlabel, $sortdir == 0 ? _("descending") : _("ascending")) ?>
      <a class="widget" title="<?php echo $changetitle ?>" href="<?php echo $s_url->copy()->add(array('sortadd' => 1, 'sortby' => $i, 'sortdir' => abs(1 - $sortdir))) ?>"><?php echo $this->getColumnSortImage($i) ?></a>
      <?php $changetitle = sprintf(_("Sort by %s only"), $columnlabel) ?>
      <a class="widget" title="<?php echo $changetitle ?>" href="<?php echo $s_url->copy()->add(array('sortby' => $i, 'sortdir' => abs(1 - $sortdir))) ?>">
   <?php else: ?>
      <?php $sorttitle = sprintf(_("Sort by %s, then by %s"), $this->getSortOrderDescription(), $columnlabel) ?>
      <a class="widget" title="<?php echo $sorttitle ?>" href="<?php echo $s_url->copy()->add(array('sortadd' => 1, 'sortby' => $i, 'sortdir' => 0)) ?>"><?php echo $this->getColumnSortImage($i, $sorttitle) ?></a>
      <a class="widget" title="<?php echo sprintf(_("Sort by %s"), $columnlabel) ?>" href="<?php echo $s_url->copy()->add(array('sortby' => $i, 'sortdir' => 0)) ?>">
   <?php endif; ?>
<?php endif; ?>
   <?php echo $columnlabel ?>
<?php if ($this->showSort): ?></a><?php endif; ?>
  </th>
  <?php endfor; ?>
 </tr>
</thead>
<tbody id="QuickFinderEmpty" style="display:none">
 <tr>
  <td colspan="<?php echo $col_count ?>">
   <?php echo _("No contacts match the current filter.") ?>
  </td>
 </tr>
</tbody>
<tbody id="QuickFinderContacts">