*/ function calc_install() { register_hook('app_menu', 'addon/calc/calc.php', 'calc_app_menu'); } function calc_uninstall() { unregister_hook('app_menu', 'addon/calc/calc.php', 'calc_app_menu'); } function calc_app_menu($a,&$b) { $b['app_menu'][] = Array('url'=>'calc', 'name'=>'Calculator'); } function calc_module() {} function calc_init($a) { $x = <<< EOT EOT; $a->page['htmlhead'] .= $x; } function calc_content($app) { $o = ''; $o .= <<< EOT
|