aboutsummaryrefslogtreecommitdiff
path: root/views/default/plugins/river_privacy/settings.php
blob: 6614162616622ca48fb888185104172946356dd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>";