diff options
author | Sem <sembrestels@riseup.net> | 2012-07-20 06:38:08 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-07-20 06:38:08 +0200 |
commit | 0ef4f3dd1637687d3ece88e2a6208d5e17a96ce1 (patch) | |
tree | 7473af8e01b87ef5134928bd44587a62023b7070 /views/default/plugins/river_privacy | |
parent | 4caa18176ab7b25896596276ee5a3d724a5915fd (diff) | |
download | elgg-0ef4f3dd1637687d3ece88e2a6208d5e17a96ce1.tar.gz elgg-0ef4f3dd1637687d3ece88e2a6208d5e17a96ce1.tar.bz2 |
Moved plugin to root folder.
Diffstat (limited to 'views/default/plugins/river_privacy')
-rw-r--r-- | views/default/plugins/river_privacy/settings.php | 17 |
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 |