* Maintainer: none */ function calc_load() { register_hook('app_menu', 'addon/calc/calc.php', 'calc_app_menu'); } function calc_unload() { unregister_hook('app_menu', 'addon/calc/calc.php', 'calc_app_menu'); } function calc_app_menu($a,&$b) { $b['app_menu'][] = '
Calculator
'; } function calc_module() {} function calc_init($a) { $x = <<< EOT EOT; $a->page['htmlhead'] .= $x; } function calc_content($app) { $o = ''; $o .= <<< EOT

Calculator



EOT; return $o; }