/usr/share/horde/trean/templates/block/1line.inc is in php-horde-trean 1.1.4-1build1.
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 | <?php
$bookmark_url = Horde::url('redirect.php')->add('b', $bookmark->id);
$target = $GLOBALS['prefs']->getValue('show_in_new_window') ? '_blank' : '';
if ($bookmark->http_status == 'error') {
$status = 'error.png';
} elseif ($bookmark->http_status == '') {
$status = '';
} else {
$status = substr($bookmark->http_status, 0, 1) . 'xx.png';
}
?>
<table width="100%" cellspacing="0">
<tr>
<td valign="top" width="43">
<?php if ($status) echo Horde::img('http/' . $status) ?>
<?php echo Horde::img(Trean::getFavicon($bookmark), '', 'class="trean-favicon"', '') ?>
</td>
<td valign="top">
<?php echo Horde::link($bookmark_url, '', '', $target) ?><?php echo htmlspecialchars($bookmark->url) ?></a><?php echo (empty($bookmark->description) ? '' : ' - <small>' . htmlspecialchars($bookmark->description) . '</small>') ?>
<small>(<?php echo $bookmark->clicks ?> <?php echo ($bookmark->clicks == 1 ? _("click") : _("clicks")) ?>)</small>
</td>
</tr>
</table>
|