forked from friendica/friendica-addons
morechoice update, package updates
This commit is contained in:
parent
f0397d5237
commit
bbf6f71d03
8 changed files with 9 additions and 0 deletions
BIN
facebook.tgz
BIN
facebook.tgz
Binary file not shown.
BIN
libertree.tgz
BIN
libertree.tgz
Binary file not shown.
BIN
morechoice.tgz
BIN
morechoice.tgz
Binary file not shown.
|
@ -14,6 +14,7 @@ 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');
|
||||
register_hook('poke_verbs', 'addon/morechoice/morechoice.php', 'morechoice_poke_verbs');
|
||||
|
||||
}
|
||||
|
||||
|
@ -23,6 +24,7 @@ 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');
|
||||
unregister_hook('poke_verbs', 'addon/morechoice/morechoice.php', 'morechoice_poke_verbs');
|
||||
|
||||
}
|
||||
|
||||
|
@ -122,3 +124,10 @@ function morechoice_marital_selector($a,&$b) {
|
|||
$b[] = 'Wallowing in self-pity';
|
||||
}
|
||||
}
|
||||
|
||||
function morechoice_poke_verbs($a,&$b) {
|
||||
$b['bitchslap'] = array('bitchslapped', t('bitchslap'), t('bitchslapped'));
|
||||
$b['shag'] = array('shag', t('shag'), t('shagged'));
|
||||
|
||||
|
||||
}
|
Binary file not shown.
BIN
statusnet.tgz
BIN
statusnet.tgz
Binary file not shown.
BIN
tumblr.tgz
BIN
tumblr.tgz
Binary file not shown.
BIN
twitter.tgz
BIN
twitter.tgz
Binary file not shown.
Loading…
Reference in a new issue