diff --git a/adult_smile/icons/drunk.gif b/adult_smile/icons/drunk.gif new file mode 100644 index 000000000..4a1c064a7 Binary files /dev/null and b/adult_smile/icons/drunk.gif differ diff --git a/adult_smile/icons/sperm.gif b/adult_smile/icons/sperm.gif new file mode 100644 index 000000000..6ba921900 Binary files /dev/null and b/adult_smile/icons/sperm.gif differ diff --git a/dwpost.tgz b/dwpost.tgz index ecbb5198f..c0fbb96bd 100644 Binary files a/dwpost.tgz and b/dwpost.tgz differ diff --git a/dwpost/dwpost.css b/dwpost/dwpost.css index 8edab3d99..3b0ee32ab 100644 --- a/dwpost/dwpost.css +++ b/dwpost/dwpost.css @@ -1,15 +1,15 @@ -#ljpost-enable-label, #ljpost-username-label, #ljpost-password-label, #ljpost-bydefault-label { +#dwpost-enable-label, #dwpost-username-label, #dwpost-password-label, #dwpost-bydefault-label { float: left; width: 200px; margin-top: 10px; } -#ljpost-checkbox, #ljpost-username, #ljpost-password, #ljpost-bydefault { +#dwpost-checkbox, #dwpost-username, #dwpost-password, #dwpost-bydefault { float: left; margin-top: 10px; } -#ljpost-submit { +#dwpost-submit { margin-top: 15px; -} \ No newline at end of file +} diff --git a/dwpost/dwpost.php b/dwpost/dwpost.php index 5f8dcc733..2391b5711 100644 --- a/dwpost/dwpost.php +++ b/dwpost/dwpost.php @@ -4,7 +4,7 @@ * Name: Dreamwidth Post Connector * Description: Post to dreamwidth * Version: 1.0 - * Author: Tony Baldwin + * Author: Tony Baldwin * Author: Michael Johnston * Author: Cat Gray */ @@ -213,7 +213,7 @@ EOT; logger('dwpost: data: ' . $xml, LOGGER_DATA); if($dw_blog !== 'test') - $x = post_url($dw_blog,$xml); + $x = post_url($dw_blog,$xml,array("Content-Type: text/xml")); logger('posted to dreamwidth: ' . ($x) ? $x : '', LOGGER_DEBUG); } diff --git a/facebook.tgz b/facebook.tgz index 783425ced..b1db063bb 100644 Binary files a/facebook.tgz and b/facebook.tgz differ diff --git a/facebook/facebook.php b/facebook/facebook.php index a0fa39362..1749a0584 100755 --- a/facebook/facebook.php +++ b/facebook/facebook.php @@ -1187,7 +1187,7 @@ function fb_consume_stream($uid,$j,$wall = false) { if($entry->privacy && $entry->privacy->value !== 'EVERYONE') { $datarray['private'] = 1; - $datarray['allow_cid'] = '<' . $uid . '>'; + $datarray['allow_cid'] = '<' . $self[0]['id'] . '>'; } if(trim($datarray['body']) == '') { diff --git a/frown.tgz b/frown.tgz new file mode 100644 index 000000000..6a2343f00 Binary files /dev/null and b/frown.tgz differ diff --git a/frown/frown.css b/frown/frown.css new file mode 100755 index 000000000..3690b62ab --- /dev/null +++ b/frown/frown.css @@ -0,0 +1,14 @@ + + + +#frown-enable-label { + float: left; + width: 200px; + margin-bottom: 25px; +} + +#frown-checkbox { + float: left; +} + + diff --git a/frown/frown.php b/frown/frown.php new file mode 100755 index 000000000..003039dfa --- /dev/null +++ b/frown/frown.php @@ -0,0 +1,86 @@ + + * + * + */ + + +function frown_install() { + + register_hook('plugin_settings', 'addon/frown/frown.php', 'frown_settings'); + register_hook('plugin_settings_post', 'addon/frown/frown.php', 'frown_settings_post'); + + logger("installed frown"); +} + + +function frown_uninstall() { + + unregister_hook('plugin_settings', 'addon/frown/frown.php', 'frown_settings'); + unregister_hook('plugin_settings_post', 'addon/frown/frown.php', 'frown_settings_post'); + + + logger("removed frown"); +} + + + +/** + * + * Callback from the settings post function. + * $post contains the $_POST array. + * We will make sure we've got a valid user account + * and if so set our configuration setting for this person. + * + */ + +function frown_settings_post($a,$post) { + if(! local_user() || (! x($_POST,'frown-submit'))) + return; + set_pconfig(local_user(),'system','no_smilies',intval($_POST['frown'])); + + info( t('Frown settings updated.') . EOL); +} + + +/** + * + * Called from the Plugin Setting form. + * Add our own settings info to the page. + * + */ + + + +function frown_settings(&$a,&$s) { + + if(! local_user()) + return; + + /* Add our stylesheet to the page so we can make our settings look nice */ + + $a->page['htmlhead'] .= '' . "\r\n"; + + /* Get the current state of our config variable */ + + $enabled = get_pconfig(local_user(),'system','no_smilies'); + $checked = (($enabled) ? ' checked="checked" ' : ''); + + /* Add some HTML to the existing form */ + + $s .= '
'; + $s .= '

' . t('Frown Settings') . '

'; + $s .= '
'; + $s .= ''; + $s .= ''; + $s .= '
'; + + /* provide a submit button */ + + $s .= '
'; + +} diff --git a/ijpost.tar.gz b/ijpost.tar.gz new file mode 100644 index 000000000..4c67d491f Binary files /dev/null and b/ijpost.tar.gz differ diff --git a/ijpost/ijpost.css b/ijpost/ijpost.css new file mode 100644 index 000000000..8b4249173 --- /dev/null +++ b/ijpost/ijpost.css @@ -0,0 +1,15 @@ + +#ijpost-enable-label, #ijpost-username-label, #ijpost-password-label, #ijpost-bydefault-label { +float: left; +width: 200px; +margin-top: 10px; +} + +#ijpost-checkbox, #ijpost-username, #ijpost-password, #ijpost-bydefault { +float: left; +margin-top: 10px; +} + +#ijpost-submit { +margin-top: 15px; +} diff --git a/ijpost/ijpost.php b/ijpost/ijpost.php new file mode 100644 index 000000000..d6861f469 --- /dev/null +++ b/ijpost/ijpost.php @@ -0,0 +1,227 @@ + + * Author: Michael Johnston + * Author: Cat Gray + */ + +function ijpost_install() { + register_hook('post_local', 'addon/ijpost/ijpost.php', 'ijpost_post_local'); + register_hook('notifier_normal', 'addon/ijpost/ijpost.php', 'ijpost_send'); + register_hook('jot_networks', 'addon/ijpost/ijpost.php', 'ijpost_jot_nets'); + register_hook('connector_settings', 'addon/ijpost/ijpost.php', 'ijpost_settings'); + register_hook('connector_settings_post', 'addon/ijpost/ijpost.php', 'ijpost_settings_post'); + +} +function ijpost_uninstall() { + unregister_hook('post_local', 'addon/ijpost/ijpost.php', 'ijpost_post_local'); + unregister_hook('notifier_normal', 'addon/ijpost/ijpost.php', 'ijpost_send'); + unregister_hook('jot_networks', 'addon/ijpost/ijpost.php', 'ijpost_jot_nets'); + unregister_hook('connector_settings', 'addon/ijpost/ijpost.php', 'ijpost_settings'); + unregister_hook('connector_settings_post', 'addon/ijpost/ijpost.php', 'ijpost_settings_post'); + +} + + +function ijpost_jot_nets(&$a,&$b) { + if(! local_user()) + return; + + $ij_post = get_pconfig(local_user(),'ijpost','post'); + if(intval($ij_post) == 1) { + $ij_defpost = get_pconfig(local_user(),'ijpost','post_by_default'); + $selected = ((intval($ij_defpost) == 1) ? ' checked="checked" ' : ''); + $b .= '
' + . t('Post to Insanejournal') . '
'; + } +} + + +function ijpost_settings(&$a,&$s) { + + if(! local_user()) + return; + + /* Add our stylesheet to the page so we can make our settings look nice */ + + $a->page['htmlhead'] .= '' . "\r\n"; + + /* Get the current state of our config variables */ + + $enabled = get_pconfig(local_user(),'ijpost','post'); + + $checked = (($enabled) ? ' checked="checked" ' : ''); + + $def_enabled = get_pconfig(local_user(),'ijpost','post_by_default'); + + $def_checked = (($def_enabled) ? ' checked="checked" ' : ''); + + $ij_username = get_pconfig(local_user(), 'ijpost', 'ij_username'); + $ij_password = get_pconfig(local_user(), 'ijpost', 'ij_password'); + + + /* Add some HTML to the existing form */ + + $s .= '
'; + $s .= '

' . t('InsaneJournal Post Settings') . '

'; + $s .= '
'; + $s .= ''; + $s .= ''; + $s .= '
'; + + $s .= '
'; + $s .= ''; + $s .= ''; + $s .= '
'; + + $s .= '
'; + $s .= ''; + $s .= ''; + $s .= '
'; + + $s .= '
'; + $s .= ''; + $s .= ''; + $s .= '
'; + + /* provide a submit button */ + + $s .= '
'; + +} + + +function ijpost_settings_post(&$a,&$b) { + + if(x($_POST,'ijpost-submit')) { + + set_pconfig(local_user(),'ijpost','post',intval($_POST['ijpost'])); + set_pconfig(local_user(),'ijpost','post_by_default',intval($_POST['ij_bydefault'])); + set_pconfig(local_user(),'ijpost','ij_username',trim($_POST['ij_username'])); + set_pconfig(local_user(),'ijpost','ij_password',trim($_POST['ij_password'])); + + } + +} + +function ijpost_post_local(&$a,&$b) { + + // This can probably be changed to allow editing by pointing to a different API endpoint + + if($b['edit']) + return; + + if((! local_user()) || (local_user() != $b['uid'])) + return; + + if($b['private'] || $b['parent']) + return; + + $ij_post = intval(get_pconfig(local_user(),'ijpost','post')); + + $ij_enable = (($ij_post && x($_REQUEST,'ijpost_enable')) ? intval($_REQUEST['ijpost_enable']) : 0); + + if($_REQUEST['api_source'] && intval(get_pconfig(local_user(),'ijpost','post_by_default'))) + $ij_enable = 1; + + if(! $ij_enable) + return; + + if(strlen($b['postopts'])) + $b['postopts'] .= ','; + $b['postopts'] .= 'ijpost'; +} + + + + +function ijpost_send(&$a,&$b) { + + if($b['deleted'] || $b['private'] || ($b['created'] !== $b['edited'])) + return; + + if(! strstr($b['postopts'],'ijpost')) + return; + + if($b['parent'] != $b['id']) + return; + + // insanejournal post in the LJ user's timezone. + // Hopefully the person's Friendica account + // will be set to the same thing. + + $tz = 'UTC'; + + $x = q("select timezone from user where uid = %d limit 1", + intval($b['uid']) + ); + if($x && strlen($x[0]['timezone'])) + $tz = $x[0]['timezone']; + + $ij_username = get_pconfig($b['uid'],'ijpost','ij_username'); + $ij_password = get_pconfig($b['uid'],'ijpost','ij_password'); + $ij_blog = 'http://www.insanejournal.com/interface/xmlrpc'; + + if($ij_username && $ij_password && $ij_blog) { + + require_once('include/bbcode.php'); + require_once('include/datetime.php'); + + $title = $b['title']; + $post = bbcode($b['body']); + $post = xmlify($post); + $tags = ijpost_get_tags($b['tag']); + + $date = datetime_convert('UTC',$tz,$b['created'],'Y-m-d H:i:s'); + $year = intval(substr($date,0,4)); + $mon = intval(substr($date,5,2)); + $day = intval(substr($date,8,2)); + $hour = intval(substr($date,11,2)); + $min = intval(substr($date,14,2)); + + $xml = <<< EOT + +LJ.XMLRPC.postevent + + +year$year +mon$mon +day$day +hour$hour +min$min +event$post +username$ij_username +password$ij_password +subject$title +lineendingsunix +ver1 +props + +useragentFriendica +taglist$tags + + + + + +EOT; + + logger('ijpost: data: ' . $xml, LOGGER_DATA); + + if($ij_blog !== 'test') + $x = post_url($ij_blog,$xml,array("Content-Type: text/xml")); + logger('posted to insanejournal: ' . ($x) ? $x : '', LOGGER_DEBUG); + + } +} + +function ijpost_get_tags($post) +{ + preg_match_all("/\]([^\[#]+)\[/",$post,$matches); + $tags = implode(', ',$matches[1]); + return $tags; +} diff --git a/irc.tgz b/irc.tgz index 999c8d212..e10b0769e 100644 Binary files a/irc.tgz and b/irc.tgz differ diff --git a/irc/irc.php b/irc/irc.php index 397844e05..1e0519509 100644 --- a/irc/irc.php +++ b/irc/irc.php @@ -3,9 +3,14 @@ * Name: IRC Chat Plugin * Description: add an Internet Relay Chat chatroom * Version: 1.0 -* Author: tony baldwin +* Author: tony baldwin */ +/* enable in admin->plugins + * you will then have "irc chatroom" listed at yoursite/apps + * and the app will run at yoursite/irc + * documentation at http://tonybaldwin.me/hax/doku.php?id=friendica:irc + */ function irc_install() { register_hook('app_menu', 'addon/irc/irc.php', 'irc_app_menu'); @@ -32,9 +37,13 @@ $baseurl = $a->get_baseurl() . '/addon/irc'; $o = ''; - // add the chatroom frame and some html +/* add the chatroom frame and some html + * by altering the "channels=friendica" part of the URL, you can add/remove channels. + * At free-haven.org, I have "?channels=friendica,free-haven", for instance, to open #friendica and #free-haven + */ $o .= <<< EOT

IRC chat

+

a beginner's guide to using IRC.

EOT; diff --git a/ljpost.tgz b/ljpost.tgz index 21ec1915e..840e2ee2a 100644 Binary files a/ljpost.tgz and b/ljpost.tgz differ diff --git a/ljpost/ljpost.php b/ljpost/ljpost.php index e1bd2d630..dc17e83fc 100755 --- a/ljpost/ljpost.php +++ b/ljpost/ljpost.php @@ -4,7 +4,7 @@ * Name: LiveJournal Post Connector * Description: Post to LiveJournal * Version: 1.0 - * Author: Tony Baldwin + * Author: Tony Baldwin * Author: Michael Johnston * Author: Cat Gray */ @@ -232,7 +232,7 @@ EOT; logger('ljpost: data: ' . $xml, LOGGER_DATA); if($lj_blog !== 'test') - $x = post_url($lj_blog,$xml); + $x = post_url($lj_blog,$xml,array("Content-Type: text/xml")); logger('posted to livejournal: ' . ($x) ? $x : '', LOGGER_DEBUG); } diff --git a/smiley_pack/icons/animals/bee.gif b/smiley_pack/icons/animals/bee.gif new file mode 100644 index 000000000..206c2e3ee Binary files /dev/null and b/smiley_pack/icons/animals/bee.gif differ diff --git a/smiley_pack/icons/animals/bigspider.gif b/smiley_pack/icons/animals/bigspider.gif new file mode 100644 index 000000000..bc43debda Binary files /dev/null and b/smiley_pack/icons/animals/bigspider.gif differ diff --git a/smiley_pack/icons/animals/bunny.gif b/smiley_pack/icons/animals/bunny.gif new file mode 100644 index 000000000..402b2b31b Binary files /dev/null and b/smiley_pack/icons/animals/bunny.gif differ diff --git a/smiley_pack/icons/animals/bunnyflowers.gif b/smiley_pack/icons/animals/bunnyflowers.gif new file mode 100644 index 000000000..6d665e2c8 Binary files /dev/null and b/smiley_pack/icons/animals/bunnyflowers.gif differ diff --git a/smiley_pack/icons/animals/cat.gif b/smiley_pack/icons/animals/cat.gif new file mode 100644 index 000000000..3a0db6694 Binary files /dev/null and b/smiley_pack/icons/animals/cat.gif differ diff --git a/smiley_pack/icons/animals/chick.gif b/smiley_pack/icons/animals/chick.gif new file mode 100644 index 000000000..6bcddcd82 Binary files /dev/null and b/smiley_pack/icons/animals/chick.gif differ diff --git a/smiley_pack/icons/animals/cow.gif b/smiley_pack/icons/animals/cow.gif new file mode 100644 index 000000000..3f94cfa61 Binary files /dev/null and b/smiley_pack/icons/animals/cow.gif differ diff --git a/smiley_pack/icons/animals/crab.gif b/smiley_pack/icons/animals/crab.gif new file mode 100644 index 000000000..db5b8ce31 Binary files /dev/null and b/smiley_pack/icons/animals/crab.gif differ diff --git a/smiley_pack/icons/animals/dog.gif b/smiley_pack/icons/animals/dog.gif new file mode 100644 index 000000000..7b28477b5 Binary files /dev/null and b/smiley_pack/icons/animals/dog.gif differ diff --git a/smiley_pack/icons/animals/dolphin.gif b/smiley_pack/icons/animals/dolphin.gif new file mode 100644 index 000000000..672ebd72c Binary files /dev/null and b/smiley_pack/icons/animals/dolphin.gif differ diff --git a/smiley_pack/icons/animals/dragonfly.gif b/smiley_pack/icons/animals/dragonfly.gif new file mode 100644 index 000000000..566e95c27 Binary files /dev/null and b/smiley_pack/icons/animals/dragonfly.gif differ diff --git a/smiley_pack/icons/animals/frog.gif b/smiley_pack/icons/animals/frog.gif new file mode 100644 index 000000000..85e4b56e7 Binary files /dev/null and b/smiley_pack/icons/animals/frog.gif differ diff --git a/smiley_pack/icons/animals/hamster.gif b/smiley_pack/icons/animals/hamster.gif new file mode 100644 index 000000000..96c7323c5 Binary files /dev/null and b/smiley_pack/icons/animals/hamster.gif differ diff --git a/smiley_pack/icons/animals/horse.gif b/smiley_pack/icons/animals/horse.gif new file mode 100644 index 000000000..9103abfa6 Binary files /dev/null and b/smiley_pack/icons/animals/horse.gif differ diff --git a/smiley_pack/icons/animals/ladybird.gif b/smiley_pack/icons/animals/ladybird.gif new file mode 100644 index 000000000..69444a9ea Binary files /dev/null and b/smiley_pack/icons/animals/ladybird.gif differ diff --git a/smiley_pack/icons/animals/monkey.gif b/smiley_pack/icons/animals/monkey.gif new file mode 100644 index 000000000..b9b338d2c Binary files /dev/null and b/smiley_pack/icons/animals/monkey.gif differ diff --git a/smiley_pack/icons/animals/parrot.gif b/smiley_pack/icons/animals/parrot.gif new file mode 100644 index 000000000..ae6faf66b Binary files /dev/null and b/smiley_pack/icons/animals/parrot.gif differ diff --git a/smiley_pack/icons/animals/sheep.gif b/smiley_pack/icons/animals/sheep.gif new file mode 100644 index 000000000..8fafc11d2 Binary files /dev/null and b/smiley_pack/icons/animals/sheep.gif differ diff --git a/smiley_pack/icons/animals/snail.gif b/smiley_pack/icons/animals/snail.gif new file mode 100644 index 000000000..3bdb44cbe Binary files /dev/null and b/smiley_pack/icons/animals/snail.gif differ diff --git a/smiley_pack/icons/animals/tux.gif b/smiley_pack/icons/animals/tux.gif new file mode 100644 index 000000000..08e006e14 Binary files /dev/null and b/smiley_pack/icons/animals/tux.gif differ diff --git a/smiley_pack/icons/babies/baby.gif b/smiley_pack/icons/babies/baby.gif new file mode 100644 index 000000000..d105afb35 Binary files /dev/null and b/smiley_pack/icons/babies/baby.gif differ diff --git a/smiley_pack/icons/babies/babycot.gif b/smiley_pack/icons/babies/babycot.gif new file mode 100644 index 000000000..750f6df1f Binary files /dev/null and b/smiley_pack/icons/babies/babycot.gif differ diff --git a/smiley_pack/icons/babies/pregnant.gif b/smiley_pack/icons/babies/pregnant.gif new file mode 100644 index 000000000..d97f47683 Binary files /dev/null and b/smiley_pack/icons/babies/pregnant.gif differ diff --git a/smiley_pack/icons/babies/stork.gif b/smiley_pack/icons/babies/stork.gif new file mode 100644 index 000000000..de2371d66 Binary files /dev/null and b/smiley_pack/icons/babies/stork.gif differ diff --git a/smiley_pack/icons/confused/confused.gif b/smiley_pack/icons/confused/confused.gif new file mode 100644 index 000000000..8f1b79a7d Binary files /dev/null and b/smiley_pack/icons/confused/confused.gif differ diff --git a/smiley_pack/icons/confused/shrug.gif b/smiley_pack/icons/confused/shrug.gif new file mode 100644 index 000000000..31ce007f4 Binary files /dev/null and b/smiley_pack/icons/confused/shrug.gif differ diff --git a/smiley_pack/icons/confused/stupid.gif b/smiley_pack/icons/confused/stupid.gif new file mode 100644 index 000000000..c17170aae Binary files /dev/null and b/smiley_pack/icons/confused/stupid.gif differ diff --git a/smiley_pack/icons/cool/affro.gif b/smiley_pack/icons/cool/affro.gif new file mode 100644 index 000000000..f06166b83 Binary files /dev/null and b/smiley_pack/icons/cool/affro.gif differ diff --git a/smiley_pack/icons/cool/cool.gif b/smiley_pack/icons/cool/cool.gif new file mode 100644 index 000000000..05ba9f13b Binary files /dev/null and b/smiley_pack/icons/cool/cool.gif differ diff --git a/smiley_pack/icons/devilangel/angel.gif b/smiley_pack/icons/devilangel/angel.gif new file mode 100644 index 000000000..8e585416b Binary files /dev/null and b/smiley_pack/icons/devilangel/angel.gif differ diff --git a/smiley_pack/icons/devilangel/blondedevil.gif b/smiley_pack/icons/devilangel/blondedevil.gif new file mode 100644 index 000000000..09e7e6822 Binary files /dev/null and b/smiley_pack/icons/devilangel/blondedevil.gif differ diff --git a/smiley_pack/icons/devilangel/catdevil.gif b/smiley_pack/icons/devilangel/catdevil.gif new file mode 100644 index 000000000..269d719bf Binary files /dev/null and b/smiley_pack/icons/devilangel/catdevil.gif differ diff --git a/smiley_pack/icons/devilangel/cherub.gif b/smiley_pack/icons/devilangel/cherub.gif new file mode 100644 index 000000000..40872e03c Binary files /dev/null and b/smiley_pack/icons/devilangel/cherub.gif differ diff --git a/smiley_pack/icons/devilangel/devil.gif b/smiley_pack/icons/devilangel/devil.gif new file mode 100644 index 000000000..2b567972c Binary files /dev/null and b/smiley_pack/icons/devilangel/devil.gif differ diff --git a/smiley_pack/icons/devilangel/graveside.gif b/smiley_pack/icons/devilangel/graveside.gif new file mode 100644 index 000000000..0e909357c Binary files /dev/null and b/smiley_pack/icons/devilangel/graveside.gif differ diff --git a/smiley_pack/icons/disgust/fartinbed.gif b/smiley_pack/icons/disgust/fartinbed.gif new file mode 100644 index 000000000..55536499f Binary files /dev/null and b/smiley_pack/icons/disgust/fartinbed.gif differ diff --git a/smiley_pack/icons/disgust/toilet.gif b/smiley_pack/icons/disgust/toilet.gif new file mode 100644 index 000000000..092d7ca42 Binary files /dev/null and b/smiley_pack/icons/disgust/toilet.gif differ diff --git a/smiley_pack/icons/disgust/vomit.gif b/smiley_pack/icons/disgust/vomit.gif new file mode 100644 index 000000000..6e7e727a4 Binary files /dev/null and b/smiley_pack/icons/disgust/vomit.gif differ diff --git a/smiley_pack/icons/drink/tea.gif b/smiley_pack/icons/drink/tea.gif new file mode 100644 index 000000000..474b98942 Binary files /dev/null and b/smiley_pack/icons/drink/tea.gif differ diff --git a/smiley_pack/icons/drool/drool.gif b/smiley_pack/icons/drool/drool.gif new file mode 100644 index 000000000..4093df65d Binary files /dev/null and b/smiley_pack/icons/drool/drool.gif differ diff --git a/smiley_pack/icons/fantasy/alienmonster.gif b/smiley_pack/icons/fantasy/alienmonster.gif new file mode 100644 index 000000000..e0ca7f65f Binary files /dev/null and b/smiley_pack/icons/fantasy/alienmonster.gif differ diff --git a/smiley_pack/icons/fantasy/barbarian.gif b/smiley_pack/icons/fantasy/barbarian.gif new file mode 100644 index 000000000..de8a06861 Binary files /dev/null and b/smiley_pack/icons/fantasy/barbarian.gif differ diff --git a/smiley_pack/icons/fantasy/dinosaur.gif b/smiley_pack/icons/fantasy/dinosaur.gif new file mode 100644 index 000000000..e8c625c34 Binary files /dev/null and b/smiley_pack/icons/fantasy/dinosaur.gif differ diff --git a/smiley_pack/icons/fantasy/dragon.gif b/smiley_pack/icons/fantasy/dragon.gif new file mode 100644 index 000000000..fd28fbf18 Binary files /dev/null and b/smiley_pack/icons/fantasy/dragon.gif differ diff --git a/smiley_pack/icons/fantasy/dragonwhelp.gif b/smiley_pack/icons/fantasy/dragonwhelp.gif new file mode 100644 index 000000000..dbc455596 Binary files /dev/null and b/smiley_pack/icons/fantasy/dragonwhelp.gif differ diff --git a/smiley_pack/icons/fantasy/ghost.gif b/smiley_pack/icons/fantasy/ghost.gif new file mode 100644 index 000000000..4c5d85d89 Binary files /dev/null and b/smiley_pack/icons/fantasy/ghost.gif differ diff --git a/smiley_pack/icons/fantasy/mummy.gif b/smiley_pack/icons/fantasy/mummy.gif new file mode 100644 index 000000000..50e1dfb9f Binary files /dev/null and b/smiley_pack/icons/fantasy/mummy.gif differ diff --git a/smiley_pack/icons/fight/2guns.gif b/smiley_pack/icons/fight/2guns.gif new file mode 100644 index 000000000..9e1b66383 Binary files /dev/null and b/smiley_pack/icons/fight/2guns.gif differ diff --git a/smiley_pack/icons/fight/alienfight.gif b/smiley_pack/icons/fight/alienfight.gif new file mode 100644 index 000000000..9d5e87921 Binary files /dev/null and b/smiley_pack/icons/fight/alienfight.gif differ diff --git a/smiley_pack/icons/fight/army.gif b/smiley_pack/icons/fight/army.gif new file mode 100644 index 000000000..75067008d Binary files /dev/null and b/smiley_pack/icons/fight/army.gif differ diff --git a/smiley_pack/icons/fight/arrowhead.gif b/smiley_pack/icons/fight/arrowhead.gif new file mode 100644 index 000000000..f4572c43f Binary files /dev/null and b/smiley_pack/icons/fight/arrowhead.gif differ diff --git a/smiley_pack/icons/fight/bfg.gif b/smiley_pack/icons/fight/bfg.gif new file mode 100644 index 000000000..c2ba9d067 Binary files /dev/null and b/smiley_pack/icons/fight/bfg.gif differ diff --git a/smiley_pack/icons/fight/bowman.gif b/smiley_pack/icons/fight/bowman.gif new file mode 100644 index 000000000..2f1f8f055 Binary files /dev/null and b/smiley_pack/icons/fight/bowman.gif differ diff --git a/smiley_pack/icons/fight/chainsaw.gif b/smiley_pack/icons/fight/chainsaw.gif new file mode 100644 index 000000000..71f757c3a Binary files /dev/null and b/smiley_pack/icons/fight/chainsaw.gif differ diff --git a/smiley_pack/icons/fight/crossbow.gif b/smiley_pack/icons/fight/crossbow.gif new file mode 100644 index 000000000..20874f3c7 Binary files /dev/null and b/smiley_pack/icons/fight/crossbow.gif differ diff --git a/smiley_pack/icons/fight/crusader.gif b/smiley_pack/icons/fight/crusader.gif new file mode 100644 index 000000000..95848aea3 Binary files /dev/null and b/smiley_pack/icons/fight/crusader.gif differ diff --git a/smiley_pack/icons/fight/dead.gif b/smiley_pack/icons/fight/dead.gif new file mode 100644 index 000000000..31adaba3f Binary files /dev/null and b/smiley_pack/icons/fight/dead.gif differ diff --git a/smiley_pack/icons/fight/hammersplat.gif b/smiley_pack/icons/fight/hammersplat.gif new file mode 100644 index 000000000..95bd5409c Binary files /dev/null and b/smiley_pack/icons/fight/hammersplat.gif differ diff --git a/smiley_pack/icons/fight/lasergun.gif b/smiley_pack/icons/fight/lasergun.gif new file mode 100644 index 000000000..f3f82cbd3 Binary files /dev/null and b/smiley_pack/icons/fight/lasergun.gif differ diff --git a/smiley_pack/icons/fight/machinegun.gif b/smiley_pack/icons/fight/machinegun.gif new file mode 100644 index 000000000..1cff5cc58 Binary files /dev/null and b/smiley_pack/icons/fight/machinegun.gif differ diff --git a/smiley_pack/icons/fight/marine.gif b/smiley_pack/icons/fight/marine.gif new file mode 100644 index 000000000..88fd2e09d Binary files /dev/null and b/smiley_pack/icons/fight/marine.gif differ diff --git a/smiley_pack/icons/fight/sabre.gif b/smiley_pack/icons/fight/sabre.gif new file mode 100644 index 000000000..e62396829 Binary files /dev/null and b/smiley_pack/icons/fight/sabre.gif differ diff --git a/smiley_pack/icons/fight/samurai.gif b/smiley_pack/icons/fight/samurai.gif new file mode 100644 index 000000000..8b24385b4 Binary files /dev/null and b/smiley_pack/icons/fight/samurai.gif differ diff --git a/smiley_pack/icons/fight/tank.gif b/smiley_pack/icons/fight/tank.gif new file mode 100644 index 000000000..f1d969dda Binary files /dev/null and b/smiley_pack/icons/fight/tank.gif differ diff --git a/smiley_pack/icons/fight/viking.gif b/smiley_pack/icons/fight/viking.gif new file mode 100644 index 000000000..4908eddb8 Binary files /dev/null and b/smiley_pack/icons/fight/viking.gif differ diff --git a/smiley_pack/icons/food/apple.gif b/smiley_pack/icons/food/apple.gif new file mode 100644 index 000000000..969d4ca87 Binary files /dev/null and b/smiley_pack/icons/food/apple.gif differ diff --git a/smiley_pack/icons/food/broccoli.gif b/smiley_pack/icons/food/broccoli.gif new file mode 100644 index 000000000..f379889c1 Binary files /dev/null and b/smiley_pack/icons/food/broccoli.gif differ diff --git a/smiley_pack/icons/food/cake.gif b/smiley_pack/icons/food/cake.gif new file mode 100644 index 000000000..22d0ebd99 Binary files /dev/null and b/smiley_pack/icons/food/cake.gif differ diff --git a/smiley_pack/icons/food/carrot.gif b/smiley_pack/icons/food/carrot.gif new file mode 100644 index 000000000..387b94c18 Binary files /dev/null and b/smiley_pack/icons/food/carrot.gif differ diff --git a/smiley_pack/icons/food/popcorn.gif b/smiley_pack/icons/food/popcorn.gif new file mode 100644 index 000000000..b0ea69767 Binary files /dev/null and b/smiley_pack/icons/food/popcorn.gif differ diff --git a/smiley_pack/icons/food/tomato.gif b/smiley_pack/icons/food/tomato.gif new file mode 100644 index 000000000..0e3daddb3 Binary files /dev/null and b/smiley_pack/icons/food/tomato.gif differ diff --git a/smiley_pack/icons/happy/cloud9.gif b/smiley_pack/icons/happy/cloud9.gif new file mode 100644 index 000000000..801c1a39f Binary files /dev/null and b/smiley_pack/icons/happy/cloud9.gif differ diff --git a/smiley_pack/icons/happy/tearsofjoy.gif b/smiley_pack/icons/happy/tearsofjoy.gif new file mode 100644 index 000000000..5de31171f Binary files /dev/null and b/smiley_pack/icons/happy/tearsofjoy.gif differ diff --git a/smiley_pack/icons/love/iloveyou.gif b/smiley_pack/icons/love/iloveyou.gif new file mode 100644 index 000000000..7007515b8 Binary files /dev/null and b/smiley_pack/icons/love/iloveyou.gif differ diff --git a/smiley_pack/icons/love/inlove.gif b/smiley_pack/icons/love/inlove.gif new file mode 100644 index 000000000..30357af28 Binary files /dev/null and b/smiley_pack/icons/love/inlove.gif differ diff --git a/smiley_pack/icons/love/love.gif b/smiley_pack/icons/love/love.gif new file mode 100644 index 000000000..d8f0d5baa Binary files /dev/null and b/smiley_pack/icons/love/love.gif differ diff --git a/smiley_pack/icons/love/lovebear.gif b/smiley_pack/icons/love/lovebear.gif new file mode 100644 index 000000000..d13fd1852 Binary files /dev/null and b/smiley_pack/icons/love/lovebear.gif differ diff --git a/smiley_pack/icons/love/lovebed.gif b/smiley_pack/icons/love/lovebed.gif new file mode 100644 index 000000000..c5783e0f6 Binary files /dev/null and b/smiley_pack/icons/love/lovebed.gif differ diff --git a/smiley_pack/icons/love/loveheart.gif b/smiley_pack/icons/love/loveheart.gif new file mode 100644 index 000000000..541220a90 Binary files /dev/null and b/smiley_pack/icons/love/loveheart.gif differ diff --git a/smiley_pack/icons/sad/crying.png b/smiley_pack/icons/sad/crying.png new file mode 100644 index 000000000..62b9646d2 Binary files /dev/null and b/smiley_pack/icons/sad/crying.png differ diff --git a/smiley_pack/icons/sad/prisoner.gif b/smiley_pack/icons/sad/prisoner.gif new file mode 100644 index 000000000..f2c3181da Binary files /dev/null and b/smiley_pack/icons/sad/prisoner.gif differ diff --git a/smiley_pack/icons/smoking/smoking.gif b/smiley_pack/icons/smoking/smoking.gif new file mode 100644 index 000000000..77720b173 Binary files /dev/null and b/smiley_pack/icons/smoking/smoking.gif differ diff --git a/smiley_pack/icons/sport/basketball.gif b/smiley_pack/icons/sport/basketball.gif new file mode 100644 index 000000000..e9ad4b57b Binary files /dev/null and b/smiley_pack/icons/sport/basketball.gif differ diff --git a/smiley_pack/icons/sport/bowling.gif b/smiley_pack/icons/sport/bowling.gif new file mode 100644 index 000000000..0f8300c93 Binary files /dev/null and b/smiley_pack/icons/sport/bowling.gif differ diff --git a/smiley_pack/icons/sport/cycling.gif b/smiley_pack/icons/sport/cycling.gif new file mode 100644 index 000000000..332081e83 Binary files /dev/null and b/smiley_pack/icons/sport/cycling.gif differ diff --git a/smiley_pack/icons/sport/darts.gif b/smiley_pack/icons/sport/darts.gif new file mode 100644 index 000000000..09fb6ea99 Binary files /dev/null and b/smiley_pack/icons/sport/darts.gif differ diff --git a/smiley_pack/icons/sport/fencing.gif b/smiley_pack/icons/sport/fencing.gif new file mode 100644 index 000000000..a4ec5cd3e Binary files /dev/null and b/smiley_pack/icons/sport/fencing.gif differ diff --git a/smiley_pack/icons/sport/golf.gif b/smiley_pack/icons/sport/golf.gif new file mode 100644 index 000000000..179fc52d1 Binary files /dev/null and b/smiley_pack/icons/sport/golf.gif differ diff --git a/smiley_pack/icons/sport/juggling.gif b/smiley_pack/icons/sport/juggling.gif new file mode 100644 index 000000000..1a2eb60b8 Binary files /dev/null and b/smiley_pack/icons/sport/juggling.gif differ diff --git a/smiley_pack/icons/sport/skipping.gif b/smiley_pack/icons/sport/skipping.gif new file mode 100644 index 000000000..f63270b19 Binary files /dev/null and b/smiley_pack/icons/sport/skipping.gif differ diff --git a/smiley_pack/icons/tired/countsheep.gif b/smiley_pack/icons/tired/countsheep.gif new file mode 100644 index 000000000..815b090f8 Binary files /dev/null and b/smiley_pack/icons/tired/countsheep.gif differ diff --git a/smiley_pack/icons/tired/hammock.gif b/smiley_pack/icons/tired/hammock.gif new file mode 100644 index 000000000..8639dd32e Binary files /dev/null and b/smiley_pack/icons/tired/hammock.gif differ diff --git a/smiley_pack/icons/tired/pillow.gif b/smiley_pack/icons/tired/pillow.gif new file mode 100644 index 000000000..367f65edb Binary files /dev/null and b/smiley_pack/icons/tired/pillow.gif differ diff --git a/smiley_pack/smiley_pack.php b/smiley_pack/smiley_pack.php new file mode 100644 index 000000000..95f3bd874 --- /dev/null +++ b/smiley_pack/smiley_pack.php @@ -0,0 +1,309 @@ +get_baseurl() . '/addon/smiley_pack/icons/animals/bunnyflowers.gif' . '" alt="' . ':bunnyflowers' . '" />'; + + $b['texts'][] = ':chick'; + $b['icons'][] = '' . ':chick' . ''; + + $b['texts'][] = ':bee'; + $b['icons'][] = '' . ':bee' . ''; + + $b['texts'][] = ':ladybird'; + $b['icons'][] = '' . ':ladybird' . ''; + + $b['texts'][] = ':bigspider'; + $b['icons'][] = '' . ':bigspider' . ''; + + $b['texts'][] = ':cat'; + $b['icons'][] = '' . ':cat' . ''; + + $b['texts'][] = ':bunny'; + $b['icons'][] = '' . ':bunny' . ''; + + $b['texts'][] = ':chick'; + $b['icons'][] = '' . ':chick' . ''; + + $b['texts'][] = ':cow'; + $b['icons'][] = '' . ':cow' . ''; + + $b['texts'][] = ':crab'; + $b['icons'][] = '' . ':crab' . ''; + + $b['texts'][] = ':dolphin'; + $b['icons'][] = '' . ':dolphin' . ''; + + $b['texts'][] = ':dragonfly'; + $b['icons'][] = '' . ':dragonfly' . ''; + + $b['texts'][] = ':frog'; + $b['icons'][] = '' . ':frog' . ''; + + $b['texts'][] = ':hamster'; + $b['icons'][] = '' . ':hamster' . ''; + + $b['texts'][] = ':monkey'; + $b['icons'][] = '' . ':monkey' . ''; + + $b['texts'][] = ':horse'; + $b['icons'][] = '' . ':horse' . ''; + + $b['texts'][] = ':parrot'; + $b['icons'][] = '' . ':parrot' . ''; + + $b['texts'][] = ':tux'; + $b['icons'][] = '' . ':tux' . ''; + + $b['texts'][] = ':snail'; + $b['icons'][] = '' . ':snail' . ''; + + $b['texts'][] = ':sheep'; + $b['icons'][] = '' . ':sheep' . ''; + + $b['texts'][] = ':dog'; + $b['icons'][] = '' . ':dog' . ''; + + + $b['texts'][] = ':baby'; + $b['icons'][] = '' . ':baby' . ''; + + $b['texts'][] = ':babycot'; + $b['icons'][] = '' . ':babycot' . ''; + + + $b['texts'][] = ':pregnant'; + $b['icons'][] = '' . ':pregnant' . ''; + + $b['texts'][] = ':stork'; + $b['icons'][] = '' . ':stork' . ''; + + + $b['texts'][] = ':confused'; + $b['icons'][] = '' . ':confused' . ''; + + $b['texts'][] = ':shrug'; + $b['icons'][] = '' . ':shrug' . ''; + + $b['texts'][] = ':stupid'; + $b['icons'][] = '' . ':stupid' . ''; + + $b['texts'][] = ':affro'; + $b['icons'][] = '' . ':affro' . ''; + + $b['texts'][] = ':cool'; + $b['icons'][] = '' . ':cool' . ''; + + $b['texts'][] = ':angel'; + $b['icons'][] = '' . ':angel' . ''; + + $b['texts'][] = ':cherub'; + $b['icons'][] = '' . ':cherub' . ''; + + $b['texts'][] = ':devilangel'; + $b['icons'][] = '' . ':devilangel' . ''; + + $b['texts'][] = ':catdevil'; + $b['icons'][] = '' . ':catdevil' . ''; + + $b['texts'][] = ':devil'; + $b['icons'][] = '' . ':devil' . ''; + + + $b['texts'][] = ':graveside'; + $b['icons'][] = '' . ':graveside' . ''; + + $b['texts'][] = ':toilet'; + $b['icons'][] = '' . ':toilet' . ''; + + $b['texts'][] = ':fartinbed'; + $b['icons'][] = '' . ':fartinbed' . ''; + + $b['texts'][] = ':vomit'; + $b['icons'][] = '' . ':vomit' . ''; + + $b['texts'][] = ':tea'; + $b['icons'][] = '' . ':tea' . ''; + + $b['texts'][] = ':drool'; + $b['icons'][] = '' . ':drool' . ''; + + $b['texts'][] = ':crying'; + $b['icons'][] = '' . ':crying' . ''; + + $b['texts'][] = ':prisoner'; + $b['icons'][] = '' . ':prisoner' . ''; + + $b['texts'][] = ':smoking'; + $b['icons'][] = '' . ':smoking' . ''; + + $b['texts'][] = ':basketball'; + $b['icons'][] = '' . ':basketball' . ''; + + $b['texts'][] = ':bowling'; + $b['icons'][] = '' . ':bowling' . ''; + + $b['texts'][] = ':cycling'; + $b['icons'][] = '' . ':cycling' . ''; + + $b['texts'][] = ':darts'; + $b['icons'][] = '' . ':darts' . ''; + + $b['texts'][] = ':fencing'; + $b['icons'][] = '' . ':fencing' . ''; + + $b['texts'][] = ':golf'; + $b['icons'][] = '' . ':golf' . ''; + + $b['texts'][] = ':juggling'; + $b['icons'][] = '' . ':juggling' . ''; + + $b['texts'][] = ':skipping'; + $b['icons'][] = '' . ':skipping' . ''; + + $b['texts'][] = ':iloveyou'; + $b['icons'][] = '' . ':iloveyou' . ''; + + $b['texts'][] = ':inlove'; + $b['icons'][] = '' . ':inlove' . ''; + + $b['texts'][] = ':love'; + $b['icons'][] = '' . ':love' . ''; + + $b['texts'][] = ':lovebear'; + $b['icons'][] = '' . ':lovebear' . ''; + + $b['texts'][] = ':lovebed'; + $b['icons'][] = '' . ':lovebed' . ''; + + $b['texts'][] = ':loveheart'; + $b['icons'][] = '' . ':loveheart' . ''; + + $b['texts'][] = ':countsheep'; + $b['icons'][] = '' . ':countsheep' . ''; + + $b['texts'][] = ':hammock'; + $b['icons'][] = '' . ':hammock' . ''; + + $b['texts'][] = ':pillow'; + $b['icons'][] = '' . ':pillow' . ''; + + $b['texts'][] = ':2guns'; + $b['icons'][] = '' . ':2guns' . ''; + + $b['texts'][] = ':alienfight'; + $b['icons'][] = '' . ':alienfight' . ''; + + $b['texts'][] = ':army'; + $b['icons'][] = '' . ':army' . ''; + + $b['texts'][] = ':arrowhead'; + $b['icons'][] = '' . ':arrowhead' . ''; + + $b['texts'][] = ':bfg'; + $b['icons'][] = '' . ':bfg' . ''; + + $b['texts'][] = ':bowman'; + $b['icons'][] = '' . ':bowman' . ''; + + $b['texts'][] = ':chainsaw'; + $b['icons'][] = '' . ':chainsaw' . ''; + + $b['texts'][] = ':crossbow'; + $b['icons'][] = '' . ':crossbow' . ''; + + $b['texts'][] = ':crusader'; + $b['icons'][] = '' . ':crusader' . ''; + + $b['texts'][] = ':dead'; + $b['icons'][] = '' . ':dead' . ''; + + $b['texts'][] = ':hammersplat'; + $b['icons'][] = '' . ':hammersplat' . ''; + + $b['texts'][] = ':lasergun'; + $b['icons'][] = '' . ':lasergun' . ''; + + $b['texts'][] = ':machinegun'; + $b['icons'][] = '' . ':machinegun' . ''; + + $b['texts'][] = ':marine'; + $b['icons'][] = '' . ':marine' . ''; + + $b['texts'][] = ':sabre'; + $b['icons'][] = '' . ':sabre' . ''; + + $b['texts'][] = ':tank'; + $b['icons'][] = '' . ':tank' . ''; + + $b['texts'][] = ':viking'; + $b['icons'][] = '' . ':viking' . ''; + + $b['texts'][] = ':alienmonster'; + $b['icons'][] = '' . ':alienmonster' . ''; + + $b['texts'][] = ':barbarian'; + $b['icons'][] = '' . ':barbarian' . ''; + + $b['texts'][] = ':dinosaur'; + $b['icons'][] = '' . ':dinosaur' . ''; + + $b['texts'][] = ':dragon'; + $b['icons'][] = '' . ':dragon' . ''; + + $b['texts'][] = ':dragonwhelp'; + $b['icons'][] = '' . ':dragonwhelp' . ''; + + $b['texts'][] = ':ghost'; + $b['icons'][] = '' . ':ghost' . ''; + + $b['texts'][] = ':mummy'; + $b['icons'][] = '' . ':mummy' . ''; + + $b['texts'][] = ':apple'; + $b['icons'][] = '' . ':apple' . ''; + + $b['texts'][] = ':broccoli'; + $b['icons'][] = '' . ':brocolli' . ''; + + $b['texts'][] = ':cake'; + $b['icons'][] = '' . ':cake' . ''; + + $b['texts'][] = ':carrot'; + $b['icons'][] = '' . ':carrot' . ''; + + $b['texts'][] = ':popcorn'; + $b['icons'][] = '' . ':popcorn' . ''; + + $b['texts'][] = ':tomato'; + $b['icons'][] = '' . ':tomato' . ''; + + + $b['texts'][] = ':cloud9'; + $b['icons'][] = '' . ':cloud9' . ''; + + $b['texts'][] = ':tearsofjoy'; + $b['icons'][] = '' . ':tearsofjoy' . ''; + + +}