aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/widget/elements/controls.php
blob: d1d630c4f404589d079cdf1afadadb0b2befad4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * Elgg widget controls
 *
 * @uses $vars['widget']
 * @uses $vars['show_edit'] Whether to show the edit button (true)
 */

echo elgg_view_menu('widget', array(
	'entity' => elgg_extract('widget', $vars),
	'params' => array(
		'show_edit' => elgg_extract('show_edit', $vars, true)
	),
	'sort_by' => 'priority',
	'class' => 'elgg-menu-hz',
));