blob: cfe01e444a0919c6a310a4f4b95b6b032f1113ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
$image = get_entity($vars['item']->subject_guid);
$person_tagged = get_entity($vars['item']->object_guid);
if($image->title) {
$title = $image->title;
} else {
$title = "untitled";
}
$image_url = "<a href=\"{$image->getURL()}\">{$title}</a>";
$person_url = "<a href=\"{$person_tagged->getURL()}\">{$person_tagged->name}</a>";
$string = $person_url . ' ' . elgg_echo('image:river:tagged') . ' ' . $image_url;
echo $string;
?>
|