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

namespace Zotlabs\Widget;

class Design_tools {

	function widget($arr) {

		if(perm_is_allowed(\App::$profile['profile_uid'],get_observer_hash(),'write_pages') || (\App::$is_sys && is_site_admin()))
			return design_tools();

		return EMPTY_STR;
	}
}