/usr/share/horde/whups/templates/reports/stats.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 | <h1 class="header"><?php echo _("Ticket Stats") ?></h1>
<?php if ($queues): ?>
<table class="item" width="100%" cellspacing="1">
<tr class="item">
<?php foreach ($stats as $label): ?>
<th nowrap="nowrap" align="left"><?php echo $label ?></th>
<?php endforeach; ?>
</tr><tr class="item">
<?php
foreach ($stats as $stat => $label):
try {
$time = $reporter->getTime($stat, 'type_name');
?>
<td><?php foreach ($time as $type => $type_time) echo $type . ': ' . sprintf(_("%s days"), $type_time) . '<br />' ?></td>
<?php
} catch (Whups_Exception $e) {
?>
<td><?php echo $e->getMessage() ?></td>
<?php } ?>
<?php endforeach; ?>
</tr>
</table>
<?php else: ?>
<p class="horde-content"><em><?php echo _("No stats available.") ?></em></p>
<?php endif ?>
|