diff options
Diffstat (limited to 'views/default/plugins/river_privacy/settings.php')
-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 |