blob: 50778149750940a320bc2ff5550fc2538ab3bfff (
plain)
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
/**
* New wire post view for the activity stream
*/
$owner = $vars['entity']->guid;
//grab the users latest from the wire
$latest_wire = get_entities("object", "thewire", $owner, "", 1, 0, false, 0, null);
if($latest_wire){
foreach($latest_wire as $lw){
$content = $lw->description;
$time = "<span>" . friendly_time($lw->time_created) . "</span>";
}
}
?>
<div class="profile_status">
<?php
if($latest_wire)
echo $content . " " . $time;
?>
</div>
|