aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/control_panel/content.php
blob: d2db54bc64c7587bcf3500f8cdf4642586100c82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
 * Admin control panel widget
 */

elgg_register_menu_item('admin_control_panel', array(
	'name' => 'flush',
	'text' => elgg_echo('admin:cache:flush'),
	'href' => 'action/admin/site/flush_cache',
	'is_action' => true,
	'link_class' => 'elgg-button elgg-button-action',
));

elgg_register_menu_item('admin_control_panel', array(
	'name' => 'upgrade',
	'text' => elgg_echo('upgrade'),
	'href' => 'upgrade.php',
	'link_class' => 'elgg-button elgg-button-action',
));

echo elgg_view_menu('admin_control_panel', array(
	'class' => 'elgg-menu-hz',
	'item_class' => 'mrm',
));