discussion_count, false); if (empty($discussion_count)) { $discussion_count = 5; } if (elgg_in_context("dashboard")) { $noyes_options = array( "no" => elgg_echo("option:no"), "yes" => elgg_echo("option:yes") ); echo "
"; echo elgg_echo("widgets:discussion:settings:group_only"); echo " " . elgg_view("input/dropdown", array("name" => "params[group_only]", "value" => $widget->group_only, "options_values" => $noyes_options)); echo "
"; } echo "
"; echo elgg_echo("widget:numbertodisplay"); echo " " . elgg_view("input/dropdown", array("name" => "params[discussion_count]", "value" => $discussion_count, "options" => range(1, 10))); echo "
";