* Status: Unsupported */ use Friendica\App; use Friendica\Core\Hook; use Friendica\DI; function namethingy_install() { Hook::register('app_menu', 'addon/namethingy/namethingy.php', 'namethingy_app_menu'); } function namethingy_app_menu(App $a, array &$b) { $b['app_menu'][] = '
'; } function namethingy_module() { } function namethingy_content(App $a) { $baseurl = DI::baseUrl()->get() . '/addon/namethingy'; $o .= <<< EOT EOT; return $o; }