friendica-addons/morepokes/morepokes.php
Thomas Willingham 49aef48076 Extend openstreetmap description since quite a few people have installed it and been unable to work out what it did.
Update my URL in infiniteimprobabilitydrive so people can shout at the right person.

Remove pokes from morechoice, and put them in their own addon.  We'll leave the really "out there" ones away from the git.

Group text, created by user request.  Sets the group editor to text mode.  This is possibly too 'special interest' for the git, but I'll let somebody else decide.
2012-07-28 00:26:14 +01:00

38 lines
2.2 KiB
PHP

<?php
/**
* Name: More Pokes
* Description: Additional poke options
* Version: 1.0
* Author: Thomas Willingham <https://kakste.com/profile/beardyunixer>
*
*/
function morepokes_install() {
register_hook('poke_verbs', 'addon/morepokes/morepokes.php', 'morepokes_poke_verbs');
}
function morepokes_uninstall() {
unregister_hook('poke_verbs', 'addon/morepokes/morepokes.php', 'morepokes_poke_verbs');
}
function morepokes_poke_verbs($a,&$b) {
$b['bitchslap'] = array('bitchslapped', t('bitchslap'), t('bitchslapped'));
$b['shag'] = array('shag', t('shag'), t('shagged'));
$b['somethingobscenelybiological'] = array('something obscenely biological', t('do something obscenely biological to'), t('did something obscenely biological to'));
$b['newpokefeature'] = array('pointed out the new poke feature to', t('point out the new poke feature to'), t('pointed out the new poke feature to'));
$b['declareundyinglove'] = array('declared undying love for', t('declare undying love for'), t('declared undying love for'));
$b['setfireto'] = array('set fire to', t('set fire to'), t('set fire to'));
$b['patent'] = array('patented', t('patent'), t('patented'));
$b['strokebeard'] = array('stroked their beard at', t('stroke beard'), t('stroked their beard at'));
$b['bemoan'] = array('bemoaned the declining standards of modern secondary and tertiary education to', t('bemoaned the declining standards of modern secondary and tertiary education to'), t('bemoans the declining standards of modern secondary and tertiary education to'));
$b['hugs'] = array('hugged', t('hug'), t('hugged'));
$b['kiss'] = array('kissed', t('kiss'), t('kissed'));
$b['raiseeyebrows'] = array('raised their eyebrows at', t('raise eyebrows at'), t('raised their eyebrows at'));
$b['insult'] = array('insulted', t('insult'), t('insulted'));
$b['praise'] = array('praised', t('praise'), t('praised'));
$b['bedubiousof'] = array('was dubious of', t('be dubious of'), t('was dubious of'));
$b['eat'] = array('ate', t('eat'), t('ate'));
$b['giggleandfawn'] = array('giggled and fawned at', t('giggle and fawn at'), t('giggled and fawned at'));
$b['doubt'] = array('doubted', t('doubt'), t('doubted'));
$b['glare'] = array('glared at', t('glare'), t('glared at'));
;}