*/ use Friendica\Core\Hook; use Friendica\DI; function infiniteimprobabilitydrive_install() { Hook::register('app_menu', 'addon/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php', 'infiniteimprobabilitydrive_app_menu'); } function infiniteimprobabilitydrive_app_menu(array &$b) { $b['app_menu'][] = '
'; } /** * This is a statement rather than an actual function definition. The simple * existence of this method is checked to figure out if the addon offers a * module. */ function infiniteimprobabilitydrive_module() {} function infiniteimprobabilitydrive_content() { $o = ''; DI::page()['htmlhead'] .= ''; $baseurl = (string)DI::baseUrl(); $o .= <<< EOTTry another destination with the Infinite Improbability Drive