diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 10:52:38 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 10:52:38 +0000 |
commit | 31ac981430c5d8c31d97206e3c8bb7f4b5ba5517 (patch) | |
tree | 4c4a53a1635efd8fcf7724fa2acbfdb9a1961686 /mod/riverdashboard | |
parent | fe236ea096f092f38ea4d3517fd25fd084d28c6f (diff) | |
download | elgg-31ac981430c5d8c31d97206e3c8bb7f4b5ba5517.tar.gz elgg-31ac981430c5d8c31d97206e3c8bb7f4b5ba5517.tar.bz2 |
activity type toggle removed as it was poorly thought out and implemented.
git-svn-id: http://code.elgg.org/elgg/trunk@6154 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard')
-rw-r--r-- | mod/riverdashboard/index.php | 7 | ||||
-rw-r--r-- | mod/riverdashboard/views/default/settings/riverdashboard/edit.php | 8 |
2 files changed, 1 insertions, 14 deletions
diff --git a/mod/riverdashboard/index.php b/mod/riverdashboard/index.php index 61142f300..4f13e323e 100644 --- a/mod/riverdashboard/index.php +++ b/mod/riverdashboard/index.php @@ -44,12 +44,7 @@ switch($orient) { $title = elgg_view_title($title_wording); -//select the correct river -if (get_plugin_setting('activitytype', 'riverdashboard') == 'classic') { - $river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '', 20, 0, 0, true, true); -} else { - $river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '', 20, 0, 0, true, false); -} +$river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '', 20, 0, 0, true, false); // Replacing callback calls in the nav with something meaningless $river = str_replace('callback=true','replaced=88,334',$river); diff --git a/mod/riverdashboard/views/default/settings/riverdashboard/edit.php b/mod/riverdashboard/views/default/settings/riverdashboard/edit.php deleted file mode 100644 index 281ac2f71..000000000 --- a/mod/riverdashboard/views/default/settings/riverdashboard/edit.php +++ /dev/null @@ -1,8 +0,0 @@ -
-<p>
- <?php echo elgg_echo('river:type'); ?>
- <select name="params[activitytype]">
- <option value="classic" <?php if ($vars['entity']->activitytype == 'classic') echo " selected=\"yes\" "; ?>><?php echo elgg_echo('river:classic'); ?></option>
- <option value="clustered" <?php if ($vars['entity']->activitytype == 'clustered') echo " selected=\"yes\" "; ?>><?php echo elgg_echo('river:clustered'); ?></option>
- </select>
-</p>
\ No newline at end of file |