aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/views/default/groups/css.php4
-rw-r--r--mod/groups/views/default/object/groupforumtopic.php6
2 files changed, 6 insertions, 4 deletions
diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php
index b43f3d19f..fafd3df71 100644
--- a/mod/groups/views/default/groups/css.php
+++ b/mod/groups/views/default/groups/css.php
@@ -319,7 +319,7 @@ span.timestamp {
}
.groupmembershipwidget .contentWrapper .groupicon {
float:left;
- margin:0 10px 10px 0
+ margin:0 10px 0 0;
}
.groupmembershipwidget .search_listing_info p {
color: #666666;
@@ -334,7 +334,7 @@ span.timestamp {
}
.featuredgroups .contentWrapper .groupicon {
float:left;
- margin:0 10px 10px 0
+ margin:0 10px 0 0;
}
.featuredgroups .contentWrapper p {
margin: 0;
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;