*/ use Friendica\Core\Hook; function sniper_install() { Hook::register('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu'); } function sniper_uninstall() { Hook::unregister('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu'); } function sniper_app_menu($a,&$b) { $b['app_menu'][] = '
'; } function sniper_module() {} function sniper_content(&$a) { $baseurl = $a->getBaseURL() . '/addon/sniper'; $o .= <<< EOT EOT; return $o; }