From: friendica Date: Thu, 5 Apr 2012 07:24:34 +0000 (-0700) Subject: dash in filename won't work with plugins X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f104364c82546656e5471b634429e2f22bac02a5;p=friendica-addons.git dash in filename won't work with plugins --- diff --git a/smilies-adult/icons/bong.gif b/smilies-adult/icons/bong.gif deleted file mode 100644 index 4b671226..00000000 Binary files a/smilies-adult/icons/bong.gif and /dev/null differ diff --git a/smilies-adult/icons/drunk.gif b/smilies-adult/icons/drunk.gif deleted file mode 100644 index 4a1c064a..00000000 Binary files a/smilies-adult/icons/drunk.gif and /dev/null differ diff --git a/smilies-adult/icons/sperm.gif b/smilies-adult/icons/sperm.gif deleted file mode 100644 index 6ba92190..00000000 Binary files a/smilies-adult/icons/sperm.gif and /dev/null differ diff --git a/smilies-adult/icons/tits.gif b/smilies-adult/icons/tits.gif deleted file mode 100644 index 4c1658c5..00000000 Binary files a/smilies-adult/icons/tits.gif and /dev/null differ diff --git a/smilies-adult/smilies-adult.php b/smilies-adult/smilies-adult.php deleted file mode 100644 index d5035bdc..00000000 --- a/smilies-adult/smilies-adult.php +++ /dev/null @@ -1,38 +0,0 @@ - - * - * This is a template for how to extend the "smily" code. - * - */ - -function smilies_adult_install() { - register_hook('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies'); -} - -function smilies_adult_uninstall() { - unregister_hook('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies'); -} - - - -function smilies_adult_smilies(&$a,&$b) { - - $b['texts'][] = '(o)(o)'; - $b['icons'][] = '' . '(o)(o)' . ''; - - $b['texts'][] = '(.)(.)'; - $b['icons'][] = '' . '(.)(.)' . ''; - - $b['texts'][] = ':bong'; - $b['icons'][] = '' . ':bong' . ''; - - $b['texts'][] = ':sperm'; - $b['icons'][] = '' . ':sperm' . ''; - - $b['texts'][] = ':drunk'; - $b['icons'][] = '' . ':drunk' . ''; -} \ No newline at end of file diff --git a/smilies_adult/icons/bong.gif b/smilies_adult/icons/bong.gif new file mode 100644 index 00000000..4b671226 Binary files /dev/null and b/smilies_adult/icons/bong.gif differ diff --git a/smilies_adult/icons/drunk.gif b/smilies_adult/icons/drunk.gif new file mode 100644 index 00000000..4a1c064a Binary files /dev/null and b/smilies_adult/icons/drunk.gif differ diff --git a/smilies_adult/icons/sperm.gif b/smilies_adult/icons/sperm.gif new file mode 100644 index 00000000..6ba92190 Binary files /dev/null and b/smilies_adult/icons/sperm.gif differ diff --git a/smilies_adult/icons/tits.gif b/smilies_adult/icons/tits.gif new file mode 100644 index 00000000..4c1658c5 Binary files /dev/null and b/smilies_adult/icons/tits.gif differ diff --git a/smilies_adult/smilies_adult.php b/smilies_adult/smilies_adult.php new file mode 100644 index 00000000..d5035bdc --- /dev/null +++ b/smilies_adult/smilies_adult.php @@ -0,0 +1,38 @@ + + * + * This is a template for how to extend the "smily" code. + * + */ + +function smilies_adult_install() { + register_hook('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies'); +} + +function smilies_adult_uninstall() { + unregister_hook('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies'); +} + + + +function smilies_adult_smilies(&$a,&$b) { + + $b['texts'][] = '(o)(o)'; + $b['icons'][] = '' . '(o)(o)' . ''; + + $b['texts'][] = '(.)(.)'; + $b['icons'][] = '' . '(.)(.)' . ''; + + $b['texts'][] = ':bong'; + $b['icons'][] = '' . ':bong' . ''; + + $b['texts'][] = ':sperm'; + $b['icons'][] = '' . ':sperm' . ''; + + $b['texts'][] = ':drunk'; + $b['icons'][] = '' . ':drunk' . ''; +} \ No newline at end of file