aboutsummaryrefslogtreecommitdiff
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
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
-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;