14 lines
258 B
PHP
14 lines
258 B
PHP
<?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;
|
|
}
|
|
} |