mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-21 22:35:27 +00:00
14 lines
No EOL
258 B
PHP
14 lines
No EOL
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;
|
|
}
|
|
} |