aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Design_tools.php
blob: 0f94577d86978b499d0d3eb0bb3c4b1a6c9b241f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

/**
 *   * Name: Design tools
 *   * Description: Links to useful tools for webpages
 *   * Requires: webpages
 */

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;
	}
}