Use short form array syntax everywhere
[friendica-addons.git] / morepokes / morepokes.php
1 <?php
2 /**
3  * Name: More Pokes
4  * Description: Additional poke options
5  * Version: 1.0
6  * Author: Thomas Willingham <https://kakste.com/profile/beardyunixer>
7  *
8  */
9
10 function morepokes_install() {
11           register_hook('poke_verbs', 'addon/morepokes/morepokes.php', 'morepokes_poke_verbs');
12 }
13
14 function morepokes_uninstall() {
15           unregister_hook('poke_verbs', 'addon/morepokes/morepokes.php', 'morepokes_poke_verbs');
16 }
17
18 function morepokes_poke_verbs($a,&$b) {
19         $b['bitchslap'] = ['bitchslapped', t('bitchslap'), t('bitchslapped')];
20         $b['shag'] = ['shag', t('shag'), t('shagged')];
21         $b['somethingobscenelybiological'] = ['something obscenely biological', t('do something obscenely biological to'), t('did something obscenely biological to')];
22         $b['newpokefeature'] = ['pointed out the poke feature to', t('point out the poke feature to'), t('pointed out the poke feature to')];
23         $b['declareundyinglove'] = ['declared undying love for', t('declare undying love for'), t('declared undying love for')];
24         $b['patent'] = ['patented', t('patent'), t('patented')];
25         $b['strokebeard'] = ['stroked their beard at', t('stroke beard'), t('stroked their beard at')];
26         $b['bemoan'] = ['bemoaned the declining standards of modern secondary and tertiary education to', t('bemoan the declining standards of modern secondary and tertiary education to'), t('bemoans the declining standards of modern secondary and tertiary education to')];
27         $b['hugs'] = ['hugged', t('hug'), t('hugged')];
28         $b['kiss'] = ['kissed', t('kiss'), t('kissed')];
29         $b['raiseeyebrows'] = ['raised their eyebrows at', t('raise eyebrows at'), t('raised their eyebrows at')];
30         $b['insult'] = ['insulted', t('insult'), t('insulted')];
31         $b['praise'] = ['praised', t('praise'), t('praised')];
32         $b['bedubiousof'] = ['was dubious of', t('be dubious of'), t('was dubious of')];
33         $b['eat'] = ['ate', t('eat'), t('ate')];
34         $b['giggleandfawn'] = ['giggled and fawned at', t('giggle and fawn at'), t('giggled and fawned at')];
35         $b['doubt'] = ['doubted', t('doubt'), t('doubted')];
36         $b['glare'] = ['glared at', t('glare'), t('glared at')];
37 ;}