*/ use Friendica\Core\Hook; use Friendica\Core\L10n; use Friendica\DI; function infiniteimprobabilitydrive_install() { Hook::register('app_menu', 'addon/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php', 'infiniteimprobabilitydrive_app_menu'); } function infiniteimprobabilitydrive_uninstall() { Hook::unregister('app_menu', 'addon/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php', 'infiniteimprobabilitydrive_app_menu'); } function infiniteimprobabilitydrive_app_menu($a, &$b) { $b['app_menu'][] = '
'; } function infiniteimprobabilitydrive_module() { return; } function infiniteimprobabilitydrive_content(&$a) { $baseurl = DI::baseUrl()->get() . '/addon/infiniteimprobabilitydrive'; $o = ''; $a->page['htmlhead'] .= ''; $baseurl = DI::baseUrl()->get(); $o .= <<< EOTTry another destination with the Infinite Improbability Drive