From 24cb2eaf63ab3e53faf7059a64568926000f185d Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 20 Feb 2011 03:53:41 -0800 Subject: add calculator addon app --- addon/calc/calc.php | 356 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 356 insertions(+) create mode 100644 addon/calc/calc.php (limited to 'addon') diff --git a/addon/calc/calc.php b/addon/calc/calc.php new file mode 100644 index 000000000..fd6a11777 --- /dev/null +++ b/addon/calc/calc.php @@ -0,0 +1,356 @@ +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; + +} -- cgit v1.2.3