getGroups("", 0); $mygroups = array(); if (!$vars['entity']->group_guid) { $mygroups[0] = ''; } foreach ($groups as $group) { $mygroups[$group->guid] = $group->name; } $params = array( 'name' => 'params[group_guid]', 'value' => $vars['entity']->group_guid, 'options_values' => $mygroups, ); $group_dropdown = elgg_view('input/dropdown', $params); ?>
:
num_display)) { $vars['entity']->num_display = 8; } $params = array( 'name' => 'params[num_display]', 'value' => $vars['entity']->num_display, 'options' => array(5, 8, 10, 12, 15, 20), ); $num_dropdown = elgg_view('input/dropdown', $params); ?>
: