aboutsummaryrefslogtreecommitdiff
path: root/mod/river
diff options
context:
space:
mode:
Diffstat (limited to 'mod/river')
-rw-r--r--mod/river/languages/en.php21
-rw-r--r--mod/river/manifest.xml9
-rw-r--r--mod/river/start.php23
-rw-r--r--mod/river/views/default/widgets/river_widget/edit.php21
-rw-r--r--mod/river/views/default/widgets/river_widget/view.php18
-rw-r--r--mod/river/views/default/widgets/river_widget_friends/edit.php21
-rw-r--r--mod/river/views/default/widgets/river_widget_friends/view.php18
7 files changed, 0 insertions, 131 deletions
diff --git a/mod/river/languages/en.php b/mod/river/languages/en.php
deleted file mode 100644
index 55bd07746..000000000
--- a/mod/river/languages/en.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
- $english = array(
-
- /**
- * Manifest
- */
-
-
- 'river:widget:noactivity' => 'We could not find any activity.',
- 'river:widget:title' => "Activity",
- 'river:widget:description' => "Show your latest activity.",
- 'river:widget:title:friends' => "Friends' activity",
- 'river:widget:description:friends' => "Show what your friends are up to.",
-
- 'river:widget:label:displaynum' => "Number of entries to display:",
- );
-
- add_translation("en",$english);
-
-?> \ No newline at end of file
diff --git a/mod/river/manifest.xml b/mod/river/manifest.xml
deleted file mode 100644
index a1bb96cee..000000000
--- a/mod/river/manifest.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin_manifest>
- <field key="author" value="Curverider ltd" />
- <field key="version" value="1.0" />
- <field key="description" value="Provide a list of your or your friends recent activity!" />
- <field key="website" value="http://www.elgg.org/" />
- <field key="copyright" value="(C) Curverider 2008-2009" />
- <field key="licence" value="GNU Public License version 2" />
-</plugin_manifest> \ No newline at end of file
diff --git a/mod/river/start.php b/mod/river/start.php
deleted file mode 100644
index b9b48a251..000000000
--- a/mod/river/start.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
- /**
- * Elgg river plugin.
- * This function
- *
- * @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/
- */
-
- /**
- * Initialise the river system and add a widget.
- */
- function river_init()
- {
- add_widget_type('river_widget',elgg_echo('river:widget:title'), elgg_echo('river:widget:description'));
- add_widget_type('river_widget_friends',elgg_echo('river:widget:title:friends'), elgg_echo('river:widget:description:friends'));
- }
-
- register_elgg_event_handler('init','system','river_init');
-?> \ No newline at end of file
diff --git a/mod/river/views/default/widgets/river_widget/edit.php b/mod/river/views/default/widgets/river_widget/edit.php
deleted file mode 100644
index 3ee93e403..000000000
--- a/mod/river/views/default/widgets/river_widget/edit.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
- /**
- * Edit 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/
- */
-?>
-<p>
- <?php echo elgg_echo('river:widget:label:displaynum'); ?>
-
- <select name="params[limit]">
- <option value="5" <?php if ($vars['entity']->limit == 5) echo " selected=\"yes\" "; ?>>5</option>
- <option value="8" <?php if ((!$vars['entity']->limit) || ($vars['entity']->limit == 8)) echo " selected=\"yes\" "; ?>>8</option>
- <option value="12" <?php if ($vars['entity']->limit == 12) echo " selected=\"yes\" "; ?>>12</option>
- <option value="15" <?php if ($vars['entity']->limit == 15) echo " selected=\"yes\" "; ?>>15</option>
- </select>
-</p> \ No newline at end of file
diff --git a/mod/river/views/default/widgets/river_widget/view.php b/mod/river/views/default/widgets/river_widget/view.php
deleted file mode 100644
index 7ef7ea1e1..000000000
--- a/mod/river/views/default/widgets/river_widget/view.php
+++ /dev/null
@@ -1,18 +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();
- $limit = 8;
-
- if ($vars['entity']->limit)
- $limit = $vars['entity']->limit;
- echo elgg_view_river($owner->guid, $limit);
-?> \ No newline at end of file
diff --git a/mod/river/views/default/widgets/river_widget_friends/edit.php b/mod/river/views/default/widgets/river_widget_friends/edit.php
deleted file mode 100644
index 3ee93e403..000000000
--- a/mod/river/views/default/widgets/river_widget_friends/edit.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
- /**
- * Edit 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/
- */
-?>
-<p>
- <?php echo elgg_echo('river:widget:label:displaynum'); ?>
-
- <select name="params[limit]">
- <option value="5" <?php if ($vars['entity']->limit == 5) echo " selected=\"yes\" "; ?>>5</option>
- <option value="8" <?php if ((!$vars['entity']->limit) || ($vars['entity']->limit == 8)) echo " selected=\"yes\" "; ?>>8</option>
- <option value="12" <?php if ($vars['entity']->limit == 12) echo " selected=\"yes\" "; ?>>12</option>
- <option value="15" <?php if ($vars['entity']->limit == 15) echo " selected=\"yes\" "; ?>>15</option>
- </select>
-</p> \ No newline at end of file
diff --git a/mod/river/views/default/widgets/river_widget_friends/view.php b/mod/river/views/default/widgets/river_widget_friends/view.php
deleted file mode 100644
index dd7f580b0..000000000
--- a/mod/river/views/default/widgets/river_widget_friends/view.php
+++ /dev/null
@@ -1,18 +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();
- $limit = 8;
-
- if ($vars['entity']->limit)
- $limit = $vars['entity']->limit;
- echo elgg_view_friend_river($owner->guid, $limit);
-?> \ No newline at end of file