forked from friendica/friendica-addons
smilies_adult install issue after rename, package updates
This commit is contained in:
parent
c8bace61cf
commit
4162199bd3
BIN
adult_smile.tgz
BIN
adult_smile.tgz
Binary file not shown.
Binary file not shown.
BIN
facebook.tgz
BIN
facebook.tgz
Binary file not shown.
BIN
impressum.tgz
BIN
impressum.tgz
Binary file not shown.
Binary file not shown.
BIN
smiley_pack.tgz
BIN
smiley_pack.tgz
Binary file not shown.
|
@ -9,17 +9,17 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function adult_smile_install() {
|
function smilies_adult_install() {
|
||||||
register_hook('smilie', 'addon/adult_smile/adult_smile.php', 'adult_smile_smilies');
|
register_hook('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies');
|
||||||
}
|
}
|
||||||
|
|
||||||
function adult_smile_uninstall() {
|
function smilies_adult_uninstall() {
|
||||||
unregister_hook('smilie', 'addon/adult_smile/adult_smile.php', 'adult_smile_smilies');
|
unregister_hook('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function adult_smile_smilies(&$a,&$b) {
|
function smilies_adult_smilies(&$a,&$b) {
|
||||||
|
|
||||||
$b['texts'][] = '(o)(o)';
|
$b['texts'][] = '(o)(o)';
|
||||||
$b['icons'][] = '<img src="' . $a->get_baseurl() . '/addon/smilies-adult/icons/tits.gif' . '" alt="' . '(o)(o)' . '" />';
|
$b['icons'][] = '<img src="' . $a->get_baseurl() . '/addon/smilies-adult/icons/tits.gif' . '" alt="' . '(o)(o)' . '" />';
|
||||||
|
|
BIN
twitter.tgz
BIN
twitter.tgz
Binary file not shown.
Loading…
Reference in a new issue