diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-13 16:07:52 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-13 16:07:52 +0000 |
commit | 2ac6d8f4d1738d299dab4fc5ac0cd28f7c3c00b5 (patch) | |
tree | 2ea79e8d97e06ecae4d7b15c5f4211e03d29d9f0 /mod/bookmarks/views | |
parent | b7320d43074b2a5777ae6d6bc0ca8f29d3be482d (diff) | |
download | elgg-2ac6d8f4d1738d299dab4fc5ac0cd28f7c3c00b5.tar.gz elgg-2ac6d8f4d1738d299dab4fc5ac0cd28f7c3c00b5.tar.bz2 |
Groups profile page tool widget boxes updated.
git-svn-id: http://code.elgg.org/elgg/trunk@5716 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/views')
-rwxr-xr-x | mod/bookmarks/views/default/bookmarks/group_bookmarks.php | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/mod/bookmarks/views/default/bookmarks/group_bookmarks.php b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php index 2f677fb44..e4cdedeac 100755 --- a/mod/bookmarks/views/default/bookmarks/group_bookmarks.php +++ b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php @@ -4,7 +4,7 @@ $bookmarks = elgg_get_entities(array('type' => 'object', 'subtype' => 'bookmarks', 'container_guids' => $vars['entity']->container_guid, 'limit' => 6)); -echo "<div class='group_tool_widget'><h3>".elgg_echo('bookmarks:group')."</h3>"; +echo "<div class='group_tool_widget bookmarks'><h3>".elgg_echo('bookmarks:group')."</h3>"; if($bookmarks){ foreach($bookmarks as $b){ @@ -14,21 +14,25 @@ if($bookmarks){ //get the time $friendlytime = friendly_time($b->time_created); + + $info = "<div class='entity_listing_icon'>" . elgg_view('profile/icon',array('entity' => $b->getOwnerEntity(), 'size' => 'tiny')) . "</div>"; - //get the bookmark title - $info = "<div class='river_object_bookmarks_create'><p class=\"shares_title\"><a href=\"{$b->address}\">{$b->title}</a></p></div>"; + //get the bookmark entries body + $info .= "<div class='entity_listing_info'><p class='entity_title'><a href=\"{$b->address}\">{$b->title}</a></p>"; //get the user details - $info .= "<p class=\"shares_timestamp\"><small>{$friendlytime} "; + $info .= "<p class='entity_subtext'>{$friendlytime} "; //get the bookmark description - if($s->description) + // @todo - do we even have a description anymore? or is this the current bookmarks note ? + if($s->description) { $info .= "<a href=\"javascript:void(0);\" class=\"share_more_info\">".elgg_echo('bookmarks:more')."</a></small></p><div class=\"share_desc\"><p>{$s->description}</p></div>"; - else - $info .= "</small></p>"; - + } else { + $info .= "</p>"; + } + $info .= "</div>"; //display - echo "<div class='shares_widget_content'>" . $info . "</div>"; + echo "<div class='entity_listing clearfloat'>" . $info . "</div>"; } } else { echo "<p class='margin_top'>" . elgg_echo("bookmarks:none") . "</p>"; |