aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/groups/profileitems.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-13 16:07:52 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-13 16:07:52 +0000
commit2ac6d8f4d1738d299dab4fc5ac0cd28f7c3c00b5 (patch)
tree2ea79e8d97e06ecae4d7b15c5f4211e03d29d9f0 /mod/groups/views/default/groups/profileitems.php
parentb7320d43074b2a5777ae6d6bc0ca8f29d3be482d (diff)
downloadelgg-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/groups/views/default/groups/profileitems.php')
-rw-r--r--mod/groups/views/default/groups/profileitems.php56
1 files changed, 25 insertions, 31 deletions
diff --git a/mod/groups/views/default/groups/profileitems.php b/mod/groups/views/default/groups/profileitems.php
index f3805ed70..f7eebf69c 100644
--- a/mod/groups/views/default/groups/profileitems.php
+++ b/mod/groups/views/default/groups/profileitems.php
@@ -1,37 +1,31 @@
<?php
- /**
- * Elgg groups items view.
- * This is the messageboard, members, pages and latest forums posts. Each plugin will extend the views
- *
- * @package ElggGroups
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider
- * @copyright Curverider Ltd 2008-2010
- * @link http://elgg.com/
- */
-
- //forum
- echo "<div class='group_profile forum_latest clearfloat'>";
- echo elgg_view("groups/forum_latest",array('entity' => $vars['entity']));
- echo "</div>";
-/*
- //right column
- echo "<div class='group_profile_column right'>";
- echo elgg_view("groups/right_column",array('entity' => $vars['entity']));
- echo "</div>";
-
- //left column
- echo "<div class='group_profile_column left'>";
- echo elgg_view("groups/left_column",array('entity' => $vars['entity']));
- echo "</div>";
+/**
+* Elgg groups - group homepage (profile) - provide an area for tools to extend with their latest content.
+*
+* @package ElggGroups
+* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+* @author Curverider
+* @copyright Curverider Ltd 2008-2010
+* @link http://elgg.com/
*/
- // tools widget area
- echo "<div id='group_tools_latest' class='clearfloat'>";
- echo "<div class='group_tool_widget'><h3>Dummy Placeholder Group Tool Widget</h3></div>"; //test
- echo elgg_view("groups/tool_latest",array('entity' => $vars['entity']));
- echo "<div class='group_tool_widget'><h3>Another Placeholder for testing</h3></div>"; //test
- echo "</div>";
+// tools widget area
+echo "<div id='group_tools_latest' class='clearfloat'>";
+
+ // activity latest
+ echo "<div class='group_tool_widget activity clearfloat'>";
+ echo elgg_view("groups/activity_latest",array('entity' => $vars['entity']));
+ echo "</div>";
+
+ // forum latest
+ echo "<div class='group_tool_widget forum clearfloat'>";
+ echo elgg_view("groups/forum_latest",array('entity' => $vars['entity']));
+ echo "</div>";
+
+ // enable tools to extend this area
+ echo elgg_view("groups/tool_latest",array('entity' => $vars['entity']));
+
+echo "</div>";
?>
<script type="text/javascript">
$(document).ready(function () { // subclass every other group tool widget