]> git.mxchange.org Git - friendica-addons.git/commitdiff
deleted: adult_smile/adult_smile.php
authorThomas Willingham <founder@kakste.com>
Wed, 4 Apr 2012 19:07:55 +0000 (20:07 +0100)
committerThomas Willingham <founder@kakste.com>
Wed, 4 Apr 2012 19:07:55 +0000 (20:07 +0100)
modified:   smiley_pack/smiley_pack.php
renamed:    adult_smile/icons/bong.gif -> smilies-adult/icons/bong.gif
renamed:    adult_smile/icons/drunk.gif -> smilies-adult/icons/drunk.gif
renamed:    adult_smile/icons/sperm.gif -> smilies-adult/icons/sperm.gif
renamed:    adult_smile/icons/tits.gif -> smilies-adult/icons/tits.gif
new file:   smilies-adult/smilies-adult.php

Renamed adult_smilie for PR reasons.  Also linked unlinked smileys

12 files changed:
adult_smile/adult_smile.php [deleted file]
adult_smile/icons/bong.gif [deleted file]
adult_smile/icons/drunk.gif [deleted file]
adult_smile/icons/sperm.gif [deleted file]
adult_smile/icons/tits.gif [deleted file]
smiley_pack/icons/disgust/fart.gif [deleted file]
smiley_pack/smiley_pack.php
smilies-adult/icons/bong.gif [new file with mode: 0644]
smilies-adult/icons/drunk.gif [new file with mode: 0644]
smilies-adult/icons/sperm.gif [new file with mode: 0644]
smilies-adult/icons/tits.gif [new file with mode: 0644]
smilies-adult/smilies-adult.php [new file with mode: 0644]

diff --git a/adult_smile/adult_smile.php b/adult_smile/adult_smile.php
deleted file mode 100644 (file)
index 4657414..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-/*
- * Name: Adult Smilies
- * Description: Smily icons that could or should not be included in core
- * Version: 1.0
- * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
- * 
- * This is a template for how to extend the "smily" code.
- * 
- */
-
-function adult_smile_install() {
-       register_hook('smilie', 'addon/adult_smile/adult_smile.php', 'adult_smile_smilies');
-}
-
-function adult_smile_uninstall() {
-       unregister_hook('smilie', 'addon/adult_smile/adult_smile.php', 'adult_smile_smilies');
-}
-
-
-function adult_smile_smilies(&$a,&$b) {
-
-       $b['texts'][] = '(o)(o)';
-       $b['icons'][] = '<img src="' . $a->get_baseurl() . '/addon/adult_smile/icons/tits.gif' . '" alt="' . '(o)(o)' . '" />';
-
-       $b['texts'][] = '(.)(.)';
-       $b['icons'][] = '<img src="' . $a->get_baseurl() . '/addon/adult_smile/icons/tits.gif' . '" alt="' . '(.)(.)' . '" />';
-
-       $b['texts'][] = ':bong';
-       $b['icons'][] = '<img src="' . $a->get_baseurl() . '/addon/adult_smile/icons/bong.gif' . '" alt="' . ':bong' . '" />';
-
-
-}
\ No newline at end of file
diff --git a/adult_smile/icons/bong.gif b/adult_smile/icons/bong.gif
deleted file mode 100644 (file)
index 4b67122..0000000
Binary files a/adult_smile/icons/bong.gif and /dev/null differ
diff --git a/adult_smile/icons/drunk.gif b/adult_smile/icons/drunk.gif
deleted file mode 100644 (file)
index 4a1c064..0000000
Binary files a/adult_smile/icons/drunk.gif and /dev/null differ
diff --git a/adult_smile/icons/sperm.gif b/adult_smile/icons/sperm.gif
deleted file mode 100644 (file)
index 6ba9219..0000000
Binary files a/adult_smile/icons/sperm.gif and /dev/null differ
diff --git a/adult_smile/icons/tits.gif b/adult_smile/icons/tits.gif
deleted file mode 100644 (file)
index 4c1658c..0000000
Binary files a/adult_smile/icons/tits.gif and /dev/null differ
diff --git a/smiley_pack/icons/disgust/fart.gif b/smiley_pack/icons/disgust/fart.gif
deleted file mode 100644 (file)
index 4160a1f..0000000
Binary files a/smiley_pack/icons/disgust/fart.gif and /dev/null differ
index d85f9b5eddd268f97f4c942b738efb8e0aefd204..7f4bfb7b643de06caa53754b10e46cd55efcd4ca 100644 (file)
@@ -13,7 +13,7 @@ function smiley_pack_install() {
        register_hook('smilie', 'addon/smiley_pack/smiley_pack.php', 'smiley_pack_smilies');
 }
 
-function smiley_pack__uninstall() {
+function smiley_pack_uninstall() {
        unregister_hook('smilie', 'addon/smiley_pack/smiley_pack.php', 'smiley_pack_smilies');
 }
 
diff --git a/smilies-adult/icons/bong.gif b/smilies-adult/icons/bong.gif
new file mode 100644 (file)
index 0000000..4b67122
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 (file)
index 0000000..4a1c064
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 (file)
index 0000000..6ba9219
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 (file)
index 0000000..4c1658c
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 (file)
index 0000000..f48bdd2
--- /dev/null
@@ -0,0 +1,38 @@
+<?php
+/*
+ * Name: Adult Smilies
+ * Description: Smily icons that could or should not be included in core
+ * Version: 1.0
+ * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
+ * 
+ * This is a template for how to extend the "smily" code.
+ * 
+ */
+
+function adult_smile_install() {
+       register_hook('smilie', 'addon/adult_smile/adult_smile.php', 'adult_smile_smilies');
+}
+
+function adult_smile_uninstall() {
+       unregister_hook('smilie', 'addon/adult_smile/adult_smile.php', 'adult_smile_smilies');
+}
+
+
+function adult_smile_smilies(&$a,&$b) {
+
+       $b['texts'][] = '(o)(o)';
+       $b['icons'][] = '<img src="' . $a->get_baseurl() . '/addon/smilies-adult/icons/tits.gif' . '" alt="' . '(o)(o)' . '" />';
+
+       $b['texts'][] = '(.)(.)';
+       $b['icons'][] = '<img src="' . $a->get_baseurl() . '/addon/smilies-adult/icons/tits.gif' . '" alt="' . '(.)(.)' . '" />';
+
+       $b['texts'][] = ':bong';
+       $b['icons'][] = '<img src="' . $a->get_baseurl() . '/addon/smilies-adult/icons/bong.gif' . '" alt="' . ':bong' . '" />';
+
+       $b['texts'][] = ':sperm';
+       $b['icons'][] = '<img src="' . $a->get_baseurl() . '/addon/smilies-adult/icons/sperm.gif' . '" alt="' . ':sperm' . '" />';
+
+       $b['texts'][] = ':drunk';
+       $b['icons'][] = '<img src="' . $a->get_baseurl() . '/addon/smilies-adult/icons/drunk.gif' . '" alt="' . ':drunk' . '" />';
+}
\ No newline at end of file