streams/Zotlabs/Widget/Design_tools.php
2021-12-03 10:02:31 +11:00

18 lines
No EOL
307 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;
}
}