mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 07:35:14 +00:00
18 lines
335 B
PHP
18 lines
335 B
PHP
<?php
|
|
|
|
namespace Code\Widget;
|
|
|
|
use App;
|
|
use Code\Lib\Libprofile;
|
|
|
|
class Shortprofile implements WidgetInterface
|
|
{
|
|
|
|
public function widget(array $arguments): string
|
|
{
|
|
if (App::$profile['profile_uid']) {
|
|
return Libprofile::widget(App::$profile, false, true, true);
|
|
}
|
|
return EMPTY_STR;
|
|
}
|
|
}
|