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