aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/views/default/widgets/river_widget/view.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-08-06 14:17:37 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-08-06 14:17:37 +0000
commite9f261e51adcaa80429fe14b04ee277ab3124ce9 (patch)
tree6637cbf6a3917d29adcdffb4d1e8ab562050fd61 /mod/riverdashboard/views/default/widgets/river_widget/view.php
parent44c6025cc9a1536a772bf74af8cc9c07b0efc8b6 (diff)
downloadelgg-e9f261e51adcaa80429fe14b04ee277ab3124ce9.tar.gz
elgg-e9f261e51adcaa80429fe14b04ee277ab3124ce9.tar.bz2
removed all main plugins from core - they now live in the plugins svn
git-svn-id: https://code.elgg.org/elgg/trunk@3422 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard/views/default/widgets/river_widget/view.php')
-rw-r--r--mod/riverdashboard/views/default/widgets/river_widget/view.php40
1 files changed, 0 insertions, 40 deletions
diff --git a/mod/riverdashboard/views/default/widgets/river_widget/view.php b/mod/riverdashboard/views/default/widgets/river_widget/view.php
deleted file mode 100644
index 1546351e6..000000000
--- a/mod/riverdashboard/views/default/widgets/river_widget/view.php
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
- /**
- * View the widget
- *
- * @package ElggRiver
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008-2009
- * @link http://elgg.com/
- */
-
- $owner = page_owner_entity();
-
- //get the type - mine or friends
- $type = $vars['entity']->content_type;
- if(!$type)
- $type = "mine";
-
- //based on type grab the correct content type
- if($type == "mine")
- $content_type = '';
- else
- $content_type = 'friend';
-
- //get the number of items to display
- $limit = $vars['entity']->num_display;
- if(!$limit)
- $limit = 4;
-
- //grab the river
- $river = elgg_view_river_items($owner->getGuid(), 0, $content_type, $content[0], $content[1], '', $limit,0,0,false);
-
- //display
- echo "<div class=\"contentWrapper\">";
- if($type != 'mine')
- echo "<div class='content_area_user_title'><h2>" . elgg_echo("friends") . "</h2></div>";
- echo $river;
- echo "</div>";
-
-?> \ No newline at end of file