diff options
Diffstat (limited to 'mod/river_privacy/views')
-rw-r--r-- | mod/river_privacy/views/default/plugins/river_privacy/settings.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mod/river_privacy/views/default/plugins/river_privacy/settings.php b/mod/river_privacy/views/default/plugins/river_privacy/settings.php new file mode 100644 index 000000000..661416261 --- /dev/null +++ b/mod/river_privacy/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 |