aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/widget/elements/controls.php
blob: 57a935f623e88d708b55e7189b6217d63d5ca553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?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),
	'show_edit' => elgg_extract('show_edit', $vars, true),
	'sort_by' => 'priority',
	'class' => 'elgg-menu-hz',
));