From: friendica Date: Fri, 30 Mar 2012 12:35:55 +0000 (-0700) Subject: added namethingy app X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=81160d4046f130a4a42812ba281abf805e3e82b1;p=friendica-addons.git added namethingy app --- diff --git a/namethingy.tgz b/namethingy.tgz new file mode 100644 index 00000000..9642e384 Binary files /dev/null and b/namethingy.tgz differ diff --git a/namethingy/namethingy.php b/namethingy/namethingy.php new file mode 100755 index 00000000..0ccf106c --- /dev/null +++ b/namethingy/namethingy.php @@ -0,0 +1,37 @@ + + */ + + +function namethingy_install() { + register_hook('app_menu', 'addon/namethingy/namethingy.php', 'namethingy_app_menu'); +} + +function namethingy_uninstall() { + unregister_hook('app_menu', 'addon/namethingy/namethingy.php', 'namethingy_app_menu'); + +} + +function namethingy_app_menu($a,&$b) { + $b['app_menu'][] = '
NameThingy
'; +} + + +function namethingy_module() {} + +function namethingy_content(&$a) { + +$baseurl = $a->get_baseurl() . '/addon/namethingy'; + +$o .= <<< EOT +