mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 15:15:13 +00:00
25 lines
472 B
PHP
25 lines
472 B
PHP
<?php
|
|
|
|
namespace Zotlabs\Module;
|
|
|
|
use Zotlabs\Lib\Apps;
|
|
use Zotlabs\Lib\Libsync;
|
|
use Zotlabs\Web\Controller;
|
|
|
|
class Categories extends Controller {
|
|
|
|
|
|
function get() {
|
|
|
|
$desc = t('This app allows you to add categories to posts and events.');
|
|
|
|
$text = '<div class="section-content-info-wrapper">' . $desc . '</div>';
|
|
|
|
if(! ( local_channel() && Apps::system_app_installed(local_channel(),'Categories'))) {
|
|
return $text;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
}
|