title; ?>
0) {
foreach($vars['entity'] as $topic) {
//This function controls the alternating background on table cells for topics
$even_odd = ( 'odd' != $even_odd ) ? 'odd' : 'even';
//get the last reply annotation posted and the user who posted it
//this is used to display the time and person who made the last post
$last_post = $topic->getAnnotations("group_topic_post", 1, 0, "desc");
//get the time and user
foreach($last_post as $last){
$last_time = $last->time_created;
$last_user = $last->owner_guid;
}
//display the divs
echo "
";
?>
title; ?>
canEdit()) {
?>
$vars['url'] . "action/groups/deletetopic?topic=" . $topic->getGUID() . "&group=" . $topic->container_guid,
'text' => elgg_echo('delete'),
'confirm' => elgg_echo('deleteconfirm'),
));
?>
|
countAnnotations("group_topic_post"));
?>
|
name;
?>
|
|
". elgg_echo("grouptopic:notcreated") . "";
}
?>