]> git.mxchange.org Git - friendica-addons.git/commitdiff
dash in filename won't work with plugins
authorfriendica <info@friendica.com>
Thu, 5 Apr 2012 07:24:34 +0000 (00:24 -0700)
committerfriendica <info@friendica.com>
Thu, 5 Apr 2012 07:24:34 +0000 (00:24 -0700)
smilies-adult/icons/bong.gif [deleted file]
smilies-adult/icons/drunk.gif [deleted file]
smilies-adult/icons/sperm.gif [deleted file]
smilies-adult/icons/tits.gif [deleted file]
smilies-adult/smilies-adult.php [deleted file]
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/smilies-adult/icons/bong.gif b/smilies-adult/icons/bong.gif
deleted file mode 100644 (file)
index 4b67122..0000000
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 (file)
index 4a1c064..0000000
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 (file)
index 6ba9219..0000000
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 (file)
index 4c1658c..0000000
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 (file)
index d5035bd..0000000
+++ /dev/null
@@ -1,38 +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 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'][] = '<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
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..d5035bd
--- /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 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'][] = '<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