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