mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 17:15:13 +00:00
15 lines
251 B
PHP
15 lines
251 B
PHP
<?php
|
|
|
|
namespace Code\Widget;
|
|
|
|
class Appcloud implements WidgetInterface
|
|
{
|
|
|
|
public function widget(array $arr): string
|
|
{
|
|
if (!local_channel()) {
|
|
return '';
|
|
}
|
|
return app_tagblock(z_root() . '/apps');
|
|
}
|
|
}
|