aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Menu_preview.php
blob: 51218f6cff6743694cd74b7e814d6a084ef2304b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

namespace Zotlabs\Widget;

require_once('include/menu.php');

class Menu_preview {

	function widget($arr) {
		if(! \App::$data['menu_item'])
			return;

		return menu_render(\App::$data['menu_item']);
	}

}