From 5d45beab08f6546ca39673b916708023f552c7eb Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 28 May 2012 17:35:24 -0700 Subject: [PATCH] "morechoice" addon --- morechoice.tgz | Bin 0 -> 612 bytes morechoice/morechoice.php | 54 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 morechoice.tgz create mode 100644 morechoice/morechoice.php diff --git a/morechoice.tgz b/morechoice.tgz new file mode 100644 index 0000000000000000000000000000000000000000..b21e202f00536e0970e2d06f6f8cc7c34dca8ee2 GIT binary patch literal 612 zcmV-q0-OCGiwFR@8N^Qj1MQW|Zrd;rMYXlQVirM_7^(HJB?oyGL0e?yu8MXM1O_e9 z5*vvWNUDiZf|^J5f9sM$y0t z;v`B2VH5B-mlC|c@&JnSb91Y4|OBma5-Pv4ndyMDLpLKi-fiXOwr+yi*u zUIZKbKvgPPt(oA*aFJ!qK9Le~$}=i`MeiCjswJILNx8j8L^5qc##r4b5baiFQ+=UQ zwQ0g$V8<7YE`&6S?1sYVsR3|WXk8!s{;!twQc?M}6jN53^k(t7*=>Hl>$=m1r&a*w z*LTdg(JssV1Nh;(9Z7ShG?n8*h?{-yq3*GwB~7)E-XVA-%LMl~z6y59LiXhZ2PZ2U z#uRJF3q)2jtWkM1`UNU08H|d1zrodpKlioaui@;9%8tBU(b=85z7Jn15c9Tp8gjvS z4qCuO=z>bnl5kZL-9`(lsGWP5DhbaUl2g@#^&MLBZ-0**zS*1DZgtqyjNYE7f=^j~ z<*AuDY2{sCc~42bYdAXt&(zee@9a&kOa#2ol0BsLO!02#-X36`_Ohv45x-=zRB+35 z0TX8YU|N|n=JO*~miBAJBz-<{*~}L9skA5s&z~>(NYo5&MP)=!es{3tE^g&uBO)cE yneA;ggKuIoclU4qBOnNZAP9mW2!bF8f*=TjAP9mW2!bI0B0mA2OSKvRC;$LyQX+u> literal 0 HcmV?d00001 diff --git a/morechoice/morechoice.php b/morechoice/morechoice.php new file mode 100644 index 00000000..78a5102b --- /dev/null +++ b/morechoice/morechoice.php @@ -0,0 +1,54 @@ + + * + */ + + +function morechoice_install() { + + register_hook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector'); + register_hook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector'); + register_hook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector'); + +} + + +function morechoice_uninstall() { + + unregister_hook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector'); + unregister_hook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector'); + unregister_hook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector'); + +} + +// We aren't going to bother translating these to other languages. + +function morechoice_gender_selector($a,&$b) { + if($a->config['system']['language'] == 'en') { + $b[] = 'Trigender'; + + + } +} + +function morechoice_sexpref_selector($a,&$b) { + if($a->config['system']['language'] == 'en') { + $b[] = 'Girls with big tits'; + $b[] = 'Millionaires'; + $b[] = 'Guys with big schlongs'; + $b[] = 'Easy women'; + + } +} + +function morechoice_marital_selector($a,&$b) { + if($a->config['system']['language'] == 'en') { + $b[] = 'Married to my job'; + + + } +} -- 2.39.5