This file is indexed.

/usr/share/horde/whups/templates/prevnext.inc is in php-horde-whups 3.0.9-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
<?php
// If we have a saved list of ticket ids in the session, display the prev/next
// navigation.
$whups_tickets = $GLOBALS['session']->get('whups', 'tickets', Horde_Session::TYPE_ARRAY);

if (($list_length = count($whups_tickets)) <= 1 ||
    ($this_ticket = array_search($ticket->getId(), $whups_tickets)) === false) {
    return;
}

$prevnext_links = array();
if ($this_ticket != 0) {
    $prevnext_links[] = Horde::link(
        Whups::urlFor('ticket', $whups_tickets[0]))
        . htmlspecialchars(_("<<First")) . '</a>';
    $prevnext_links[] = Horde::link(
        Whups::urlFor('ticket', $whups_tickets[$this_ticket - 1]))
        . htmlspecialchars(_("<Prev")) . '</a>';
}
if ($this_ticket + 1 != $list_length) {
    $prevnext_links[] = Horde::link(
        Whups::urlFor('ticket', $whups_tickets[$this_ticket + 1]))
        . htmlspecialchars(_("Next>")) . '</a>';
    $prevnext_links[] = Horde::link(
        Whups::urlFor('ticket', $whups_tickets[$list_length - 1]))
        . htmlspecialchars(_("Last>>")) . '</a>';
}
$label = _("Re_turn to Search Results");
$ak = Horde::getAccessKey($label);
$label = Horde::highlightAccessKey($label, $ak);
?>
<div id="searchnav">
 <p>
  <strong><?php printf(_("Search Results: %s of %s"), $this_ticket + 1, $list_length) ?></strong>
  <small>
   [ <?php echo implode(' ', $prevnext_links) ?> ]
   <?php if ($ls = $GLOBALS['session']->get('whups', 'last_search')): ?>
   [ <?php echo Horde::link(Horde::url($ls)->add('haveSearch', true), '', '', '', '', '', $ak) . $label ?></a> ]
   <?php endif; ?>
  </small>
 </p>
</div>