From 81160d4046f130a4a42812ba281abf805e3e82b1 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 30 Mar 2012 05:35:55 -0700 Subject: [PATCH 1/7] added namethingy app --- namethingy.tgz | Bin 0 -> 551 bytes namethingy/namethingy.php | 37 +++++++++++++++++++++++++++++++++++++ page.tgz | Bin 1019 -> 1015 bytes page/page.php | 2 +- 4 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 namethingy.tgz create mode 100755 namethingy/namethingy.php diff --git a/namethingy.tgz b/namethingy.tgz new file mode 100644 index 0000000000000000000000000000000000000000..9642e384274093fbe8fdff05388d55af5c2dfe4c GIT binary patch literal 551 zcmV+?0@(c@iwFRasC7>O1MSmaYuhjo0PsBfQyj+BX=&p>iQ_D@Jq8INg*ODRFI z6wJ;1uelQDte>QT1 zxj&zI{rb+x^TKH`^=EFk?oB;^K7!z66&+|BMI^weB5BU#J>y5>>O7cxi^bwKYI;R{ z=>PC>QWy0L=J-SZy_p*x^xxI}pS!N^zx#qU9QB{~KYFKoZ5YnQg#q0QKIq3aTu}$iFT~XfJmtd1D6WlpE?On*h!H+x7-x|N3&)xE;*;{^+{KpE|$BZp< zd1h_)Ral#wA@S|aEyQ3)8M}wHBux{W`nxN|R7uSwB2Y-Wjm_ayGZ{J`IV6c3y*07> zTX?pLN@Q(GyE`~iW-7R%T#e5x(v@gf8`98LmbxyBTqQYG>)nbzWCFJH^rm!j!xAuw zA&MgS_+@28Y%9BgYh)Umy8$}5PCY>;Jg`g^vH8YzO(-bK3l*DT_uwRkK0}`=scIz$ pOLRZ(U;hmeLI@#*5JCtcgb+dqA%qY@2qA?2+Hc<35M}@<003YV2~+?8 literal 0 HcmV?d00001 diff --git a/namethingy/namethingy.php b/namethingy/namethingy.php new file mode 100755 index 000000000..0ccf106c0 --- /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'][] = ''; +} + + +function namethingy_module() {} + +function namethingy_content(&$a) { + +$baseurl = $a->get_baseurl() . '/addon/namethingy'; + +$o .= <<< EOT +