*/ function sniper_install() { register_hook('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu'); } function sniper_uninstall() { unregister_hook('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->get_baseurl() . '/addon/sniper'; $o .= <<< EOT EOT; return $o; }