aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-07-20 06:38:08 +0200
committerSem <sembrestels@riseup.net>2012-07-20 06:38:08 +0200
commit0ef4f3dd1637687d3ece88e2a6208d5e17a96ce1 (patch)
tree7473af8e01b87ef5134928bd44587a62023b7070 /views
parent4caa18176ab7b25896596276ee5a3d724a5915fd (diff)
downloadelgg-0ef4f3dd1637687d3ece88e2a6208d5e17a96ce1.tar.gz
elgg-0ef4f3dd1637687d3ece88e2a6208d5e17a96ce1.tar.bz2
Moved plugin to root folder.
Diffstat (limited to 'views')
-rw-r--r--views/default/plugins/river_privacy/settings.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/views/default/plugins/river_privacy/settings.php b/views/default/plugins/river_privacy/settings.php
new file mode 100644
index 000000000..661416261
--- /dev/null
+++ b/views/default/plugins/river_privacy/settings.php
@@ -0,0 +1,17 @@
+<?php
+
+$options = array(
+ 'name' => 'params[hide_old_items]',
+ 'value' => $vars['entity']->hide_old_items ? $vars['entity']->hide_old_items : 'yes',
+ 'options_values' => array(
+ 'yes' => elgg_echo('option:yes'),
+ 'no' => elgg_echo('option:no'),
+ ),
+);
+
+echo elgg_echo('river_privacy:hide_old:label') . "<br>";
+echo elgg_view('input/dropdown', $options);
+
+echo "<br><br>" . elgg_echo('river_privacy:hide_old:description');
+
+echo "<br><br>"; \ No newline at end of file