streams/Zotlabs/Widget/Design_tools.php

14 lines
258 B
PHP
Raw Normal View History

2017-03-16 03:56:12 +00:00
<?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();
2017-03-16 03:56:12 +00:00
return EMPTY_STR;
2017-03-16 03:56:12 +00:00
}
}