/usr/share/horde/whups/templates/ticket/attachments.html.php 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 | <?php if (!$this->attachments): ?>
<p class="horde-content">
<em><?php echo _("No attachments") ?></em>
</p>
<?php else: ?>
<table class="horde-table sortable">
<thead><tr>
<th class="sortdown"><?php echo _("Date") ?></th>
<th><?php echo _("Name") ?></th>
<th class="nosort"></th>
<th><?php echo _("User") ?></th>
<th class="nosort"></th>
</tr></thead>
<tbody>
<?php foreach ($this->attachments as $attachment): ?>
<tr>
<td sortval="<?php echo $attachment['timestamp'] ?>"><?php echo $attachment['date'] ?></td>
<td><?php echo $attachment['view'] ?></td>
<td><?php echo $attachment['download'] ?></td>
<td><?php echo $attachment['user'] ?></td>
<td><?php echo $attachment['delete'] ?></td>
</tr>
<?php endforeach ?>
</tbody>
</table>
<?php endif ?>
|