aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/object
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-28 13:38:35 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-28 13:38:35 +0000
commit44ea9810fc48a0da337d00c98a3a3f7f4733d498 (patch)
tree26563e3ea410f3505c10e6dd714c9c5ac65a5120 /mod/groups/views/default/object
parentcd458ced728dff7ce08ed37bfba958e931178966 (diff)
downloadelgg-44ea9810fc48a0da337d00c98a3a3f7f4733d498.tar.gz
elgg-44ea9810fc48a0da337d00c98a3a3f7f4733d498.tar.bz2
groups latest discussion list view timestamp moved/formatted
git-svn-id: https://code.elgg.org/elgg/trunk@2994 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/object')
-rw-r--r--mod/groups/views/default/object/groupforumtopic.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/groups/views/default/object/groupforumtopic.php b/mod/groups/views/default/object/groupforumtopic.php
index 136e7c0ef..efc391b2a 100644
--- a/mod/groups/views/default/object/groupforumtopic.php
+++ b/mod/groups/views/default/object/groupforumtopic.php
@@ -48,11 +48,13 @@
}else{
- $info = "<p class=\"latest_discussion_info\"><span class=\"timestamp\">" . sprintf(elgg_echo('group:created'), $forum_created, $counter) . "</span></p>";
+ $info = "<p class=\"latest_discussion_info\"><span class=\"timestamp\">" . sprintf(elgg_echo('group:created'), $forum_created, $counter) . "</span>";
+ if ($last_time) $info.= "<br /><span class='timestamp'>" . elgg_echo('groups:updated') . " " . friendly_time($last_time) . " by <a href=\"" . $u->getURL() . "\">" . $u->username . "</a></span>";
+ $info .= "</p>";
+
//get the user avatar
$icon = elgg_view("profile/icon",array('entity' => $topic_owner, 'size' => 'small'));
$info .= "<p>" . elgg_echo('groups:started') . " " . $topic_owner->name . ": <a href=\"{$vars['url']}mod/groups/topicposts.php?topic={$vars['entity']->guid}&group_guid={$group->guid}\">{$title}</a></p>";
- if ($last_time) $info.= "<p class='owner_timestamp'>" . elgg_echo('groups:updated') . " " . friendly_time($last_time) . " <a href=\"" . $u->getURL() . "\">" . $u->username . "</a></p>";
$info .= $description;