streams/Zotlabs/Widget/Design_tools.php
2021-12-03 09:33:36 +11:00

16 lines
No EOL
266 B
PHP

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