/usr/share/horde/ansel/templates/faces/search.inc is in php-horde-ansel 3.0.5+debian0-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 | <?php echo $tabs->render('image'); ?>
<h1 class="header"><?php echo $title ?></h1>
<table style="width: 100%">
<tr valign="top">
<td style="text-align:center;">
<?php if ($face_id): ?>
<?php $facename = htmlspecialchars($face['face_name']);
echo $facename;
?>
<br />
<img src="<?php echo $faces->getFaceUrl($face['image_id'], $face_id) ?>" style="padding: 5px;" alt="<?php echo $facename?>" /><br />
<?php echo sprintf(ngettext("%d photo", "%d photos", count($results)), count($results)); ?><br />
<?php echo Horde::url('faces/report.php')->add('face', $face_id)->link(
array('class' => 'small',
'title' => _("Report abuse or submit a removal request"))) . _("Report") . '</a>'?>
<?php else: ?>
<img src="<?php echo Horde::url('faces/search/img.php')->add('thumb', 1) ?>" style="padding: 5px;" alt="<?php echo $title ?>" style="width: 50px; height 50px;" /></a>
<?php endif; ?>
</td>
<td>
<?php
if (empty($results)) {
echo _("No faces found");
} else {
echo $pager->render();
foreach ($results as $face_id => $face) {
include ANSEL_TEMPLATES . '/tile/face.inc';
}
echo $pager->render();
}
?>
</td>
</tr>
</table>
|