content_type)) { $vars['entity']->content_type = 'friends'; } $params = array( 'name' => 'params[content_type]', 'value' => $vars['entity']->content_type, 'options_values' => array( 'friends' => elgg_echo('river:widgets:friends'), 'all' => elgg_echo('river:widgets:all'), ), ); $type_dropdown = elgg_view('input/select', $params); ?>
:
num_display, false); // set default value for display number if (!$num_display) { $num_display = 8; } $params = array( 'name' => 'params[num_display]', 'value' => $num_display, 'options' => array(5, 8, 10, 12, 15, 20), ); $num_dropdown = elgg_view('input/select', $params); ?>
:
'context', 'value' => $context ));