mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-21 08:35:23 +00:00
20 lines
294 B
PHP
20 lines
294 B
PHP
<?php
|
|
|
|
namespace Code\Widget;
|
|
|
|
use App;
|
|
use Code\Lib\Libprofile;
|
|
|
|
class Fullprofile
|
|
{
|
|
|
|
public function widget($arr)
|
|
{
|
|
|
|
if (!App::$profile['profile_uid']) {
|
|
return EMPTY_STR;
|
|
}
|
|
|
|
return Libprofile::widget(App::$profile, observer_prohibited());
|
|
}
|
|
}
|