]> git.mxchange.org Git - friendica-addons.git/blob - morechoice/morechoice.php
Merge remote branch 'upstream/master'
[friendica-addons.git] / morechoice / morechoice.php
1 <?php
2 /**
3  * Name: More Choice
4  * Description: Additional gender/sexual preference/marital status options
5  * Version: 1.0
6  * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
7  *    - who takes no responsibility for any additional content which may appear herein
8  *
9  */
10
11
12 function morechoice_install() {
13
14         register_hook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
15         register_hook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
16         register_hook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
17
18 }
19
20
21 function morechoice_uninstall() {
22
23         unregister_hook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
24         unregister_hook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
25         unregister_hook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
26
27 }
28
29 // We aren't going to bother translating these to other languages. 
30
31 function morechoice_gender_selector($a,&$b) {
32         if($a->config['system']['language'] == 'en') {
33                 $b[] = 'Androgyne';
34                 $b[] = 'Bear';  
35                 $b[] = 'Bigender';      
36                 $b[] = 'Cross dresser';
37                 $b[] = 'Drag queen';
38                 $b[] = 'Eunuch';
39                 $b[] = 'Faux queen';    
40                 $b[] = 'Gender fluid';
41                 $b[] = 'Kathoey';
42                 $b[] = 'Lady';
43                 $b[] = 'Lipstick lesbian';
44                 $b[] = 'Metrosexual';
45                 $b[] = 'Monk';
46                 $b[] = 'Nun';
47                 $b[] = 'Soft butch';
48                 $b[] = 'Stone femme';
49                 $b[] = 'Tomboy';
50                 $b[] = 'Transman';
51                 $b[] = 'Transwoman';
52                 $b[] = 'Transvesti';
53                 $b[] = 'Trigender';
54                 $b[] = 'Can\'t remember';
55                 $b[] = 'Hard to tell these days';
56         }
57 }
58
59 function morechoice_sexpref_selector($a,&$b) {
60         if($a->config['system']['language'] == 'en') {
61                 $b[] = 'Girls with big tits';
62                 $b[] = 'Millionaires';
63                 $b[] = 'Guys with big schlongs';
64                 $b[] = 'Easy women';
65                 $b[] = 'People with impaired mobility';
66                 $b[] = 'Amputees';
67                 $b[] = 'Statues, mannequins and immobility';
68                 $b[] = 'Pain';
69                 $b[] = 'Trans men';
70                 $b[] = 'Older women';
71                 $b[] = 'Asphyxiation';
72                 $b[] = 'In public';
73                 $b[] = 'In danger';
74                 $b[] = 'Pretending to be male';
75                 $b[] = 'Pretending to be female';
76                 $b[] = 'Breats';
77                 $b[] = 'Scat';
78                 $b[] = 'Crying';
79                 $b[] = 'Nappies/Diapers';
80                 $b[] = 'Trees';
81                 $b[] = 'Vomit';
82                 $b[] = 'Murder';
83                 $b[] = 'Fat people';
84                 $b[] = 'Feet';
85                 $b[] = 'Covered in insects';
86                 $b[] = 'Turning a human being into furniture';
87                 $b[] = 'Elderly people';
88                 $b[] = 'Transgender people';
89                 $b[] = 'Criminals';
90                 $b[] = 'Stealing';
91                 $b[] = 'Breast milk';
92                 $b[] = 'Immersing genitals in liquids';
93                 $b[] = 'Giants';
94                 $b[] = 'Masochism';
95                 $b[] = 'Cars';
96                 $b[] = 'Menstruation';
97                 $b[] = 'Mucus';
98                 $b[] = 'Obscene language';
99                 $b[] = 'Noses';
100                 $b[] = 'Navels';
101                 $b[] = 'Corpses';
102                 $b[] = 'Smells';
103                 $b[] = 'Buttocks';
104                 $b[] = 'Nonliving objects';
105                 $b[] = 'Sleeping people';
106                 $b[] = 'Urination';
107                 $b[] = 'Eating people';
108                 $b[] = 'Being eaten';
109                 $b[] = 'Animals';
110         }
111 }
112
113 function morechoice_marital_selector($a,&$b) {
114         if($a->config['system']['language'] == 'en') {
115                 $b[] = 'Married to my job';
116                 $b[] = 'Polygamist';
117                 $b[] = 'Half married';
118
119         }
120 }