streams/Zotlabs/Widget/Design_tools.php
2021-12-03 14:01:39 +11:00

19 lines
320 B
PHP

<?php
namespace Zotlabs\Widget;
use App;
class Design_tools
{
public 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;
}
}