diff --git a/blogger.tgz b/blogger.tgz index f30042f97..d4de24f76 100644 Binary files a/blogger.tgz and b/blogger.tgz differ diff --git a/blogger/blogger.php b/blogger/blogger.php index 5c9b4399d..aa1b9add3 100755 --- a/blogger/blogger.php +++ b/blogger/blogger.php @@ -4,121 +4,121 @@ * Name: Blogger Post Connector * Description: Post to Blogger (or anything else which uses blogger XMLRPC API) * Version: 1.0 - * Author: Mike Macgirvin + * */ -function blpost_install() { - register_hook('post_local', 'addon/blpost/blpost.php', 'blpost_post_local'); - register_hook('notifier_normal', 'addon/blpost/blpost.php', 'blpost_send'); - register_hook('jot_networks', 'addon/blpost/blpost.php', 'blpost_jot_nets'); - register_hook('connector_settings', 'addon/blpost/blpost.php', 'blpost_settings'); - register_hook('connector_settings_post', 'addon/blpost/blpost.php', 'blpost_settings_post'); +function blogger_install() { + register_hook('post_local', 'addon/blogger/blogger.php', 'blogger_post_local'); + register_hook('notifier_normal', 'addon/blogger/blogger.php', 'blogger_send'); + register_hook('jot_networks', 'addon/blogger/blogger.php', 'blogger_jot_nets'); + register_hook('connector_settings', 'addon/blogger/blogger.php', 'blogger_settings'); + register_hook('connector_settings_post', 'addon/blogger/blogger.php', 'blogger_settings_post'); } -function blpost_uninstall() { - unregister_hook('post_local', 'addon/blpost/blpost.php', 'blpost_post_local'); - unregister_hook('notifier_normal', 'addon/blpost/blpost.php', 'blpost_send'); - unregister_hook('jot_networks', 'addon/blpost/blpost.php', 'blpost_jot_nets'); - unregister_hook('connector_settings', 'addon/blpost/blpost.php', 'blpost_settings'); - unregister_hook('connector_settings_post', 'addon/blpost/blpost.php', 'blpost_settings_post'); +function blogger_uninstall() { + unregister_hook('post_local', 'addon/blogger/blogger.php', 'blogger_post_local'); + unregister_hook('notifier_normal', 'addon/blogger/blogger.php', 'blogger_send'); + unregister_hook('jot_networks', 'addon/blogger/blogger.php', 'blogger_jot_nets'); + unregister_hook('connector_settings', 'addon/blogger/blogger.php', 'blogger_settings'); + unregister_hook('connector_settings_post', 'addon/blogger/blogger.php', 'blogger_settings_post'); // obsolete - remove - unregister_hook('post_local_end', 'addon/blpost/blpost.php', 'blpost_send'); - unregister_hook('plugin_settings', 'addon/blpost/blpost.php', 'blpost_settings'); - unregister_hook('plugin_settings_post', 'addon/blpost/blpost.php', 'blpost_settings_post'); + unregister_hook('post_local_end', 'addon/blogger/blogger.php', 'blogger_send'); + unregister_hook('plugin_settings', 'addon/blogger/blogger.php', 'blogger_settings'); + unregister_hook('plugin_settings_post', 'addon/blogger/blogger.php', 'blogger_settings_post'); } -function blpost_jot_nets(&$a,&$b) { +function blogger_jot_nets(&$a,&$b) { if(! local_user()) return; - $bl_post = get_pconfig(local_user(),'blpost','post'); + $bl_post = get_pconfig(local_user(),'blogger','post'); if(intval($bl_post) == 1) { - $bl_defpost = get_pconfig(local_user(),'blpost','post_by_default'); + $bl_defpost = get_pconfig(local_user(),'blogger','post_by_default'); $selected = ((intval($bl_defpost) == 1) ? ' checked="checked" ' : ''); - $b .= '
' + $b .= '
' . t('Post to blogger') . '
'; } } -function blpost_settings(&$a,&$s) { +function blogger_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"; + $a->page['htmlhead'] .= '' . "\r\n"; /* Get the current state of our config variables */ - $enabled = get_pconfig(local_user(),'blpost','post'); + $enabled = get_pconfig(local_user(),'blogger','post'); $checked = (($enabled) ? ' checked="checked" ' : ''); - $def_enabled = get_pconfig(local_user(),'blpost','post_by_default'); + $def_enabled = get_pconfig(local_user(),'blogger','post_by_default'); $def_checked = (($def_enabled) ? ' checked="checked" ' : ''); - $bl_username = get_pconfig(local_user(), 'blpost', 'bl_username'); - $bl_password = get_pconfig(local_user(), 'blpost', 'bl_password'); - $bl_blog = get_pconfig(local_user(), 'blpost', 'bl_blog'); + $bl_username = get_pconfig(local_user(), 'blogger', 'bl_username'); + $bl_password = get_pconfig(local_user(), 'blogger', 'bl_password'); + $bl_blog = get_pconfig(local_user(), 'blogger', 'bl_blog'); /* Add some HTML to the existing form */ $s .= '
'; $s .= '

' . t('Blogger Post Settings') . '

'; - $s .= '
'; - $s .= ''; - $s .= ''; + $s .= '
'; + $s .= ''; + $s .= ''; $s .= '
'; - $s .= '
'; - $s .= ''; - $s .= ''; + $s .= '
'; + $s .= ''; + $s .= ''; $s .= '
'; - $s .= '
'; - $s .= ''; - $s .= ''; + $s .= '
'; + $s .= ''; + $s .= ''; $s .= '
'; - $s .= '
'; - $s .= ''; - $s .= ''; + $s .= '
'; + $s .= ''; + $s .= ''; $s .= '
'; - $s .= '
'; - $s .= ''; - $s .= ''; + $s .= '
'; + $s .= ''; + $s .= ''; $s .= '
'; /* provide a submit button */ - $s .= '
'; + $s .= '
'; } -function blpost_settings_post(&$a,&$b) { +function blogger_settings_post(&$a,&$b) { - if(x($_POST,'blpost-submit')) { + if(x($_POST,'blogger-submit')) { - set_pconfig(local_user(),'blpost','post',intval($_POST['blpost'])); - set_pconfig(local_user(),'blpost','post_by_default',intval($_POST['bl_bydefault'])); - set_pconfig(local_user(),'blpost','bl_username',trim($_POST['bl_username'])); - set_pconfig(local_user(),'blpost','bl_password',trim($_POST['bl_password'])); - set_pconfig(local_user(),'blpost','bl_blog',trim($_POST['bl_blog'])); + set_pconfig(local_user(),'blogger','post',intval($_POST['blogger'])); + set_pconfig(local_user(),'blogger','post_by_default',intval($_POST['bl_bydefault'])); + set_pconfig(local_user(),'blogger','bl_username',trim($_POST['bl_username'])); + set_pconfig(local_user(),'blogger','bl_password',trim($_POST['bl_password'])); + set_pconfig(local_user(),'blogger','bl_blog',trim($_POST['bl_blog'])); } } -function blpost_post_local(&$a,&$b) { +function blogger_post_local(&$a,&$b) { // This can probably be changed to allow editing by pointing to a different API endpoint @@ -131,11 +131,11 @@ function blpost_post_local(&$a,&$b) { if($b['private'] || $b['parent']) return; - $bl_post = intval(get_pconfig(local_user(),'blpost','post')); + $bl_post = intval(get_pconfig(local_user(),'blogger','post')); - $bl_enable = (($bl_post && x($_REQUEST,'blpost_enable')) ? intval($_REQUEST['blpost_enable']) : 0); + $bl_enable = (($bl_post && x($_REQUEST,'blogger_enable')) ? intval($_REQUEST['blogger_enable']) : 0); - if($_REQUEST['api_source'] && intval(get_pconfig(local_user(),'blpost','post_by_default'))) + if($_REQUEST['api_source'] && intval(get_pconfig(local_user(),'blogger','post_by_default'))) $bl_enable = 1; if(! $bl_enable) @@ -143,27 +143,27 @@ function blpost_post_local(&$a,&$b) { if(strlen($b['postopts'])) $b['postopts'] .= ','; - $b['postopts'] .= 'blpost'; + $b['postopts'] .= 'blogger'; } -function blpost_send(&$a,&$b) { +function blogger_send(&$a,&$b) { if($b['deleted'] || $b['private'] || ($b['created'] !== $b['edited'])) return; - if(! strstr($b['postopts'],'blpost')) + if(! strstr($b['postopts'],'blogger')) return; if($b['parent'] != $b['id']) return; - $bl_username = xmlify(get_pconfig($b['uid'],'blpost','bl_username')); - $bl_password = xmlify(get_pconfig($b['uid'],'blpost','bl_password')); - $bl_blog = get_pconfig($b['uid'],'blpost','bl_blog'); + $bl_username = xmlify(get_pconfig($b['uid'],'blogger','bl_username')); + $bl_password = xmlify(get_pconfig($b['uid'],'blogger','bl_password')); + $bl_blog = get_pconfig($b['uid'],'blogger','bl_blog'); if($bl_username && $bl_password && $bl_blog) { @@ -189,7 +189,7 @@ function blpost_send(&$a,&$b) { EOT; - logger('blpost: data: ' . $xml, LOGGER_DATA); + logger('blogger: data: ' . $xml, LOGGER_DATA); if($bl_blog !== 'test') $x = post_url($bl_blog,$xml); diff --git a/communityhome.tgz b/communityhome.tgz index dbb235bbb..129081b61 100755 Binary files a/communityhome.tgz and b/communityhome.tgz differ diff --git a/communityhome/communityhome.php b/communityhome/communityhome.php index 14c40328e..2b14fd338 100755 --- a/communityhome/communityhome.php +++ b/communityhome/communityhome.php @@ -55,7 +55,7 @@ function communityhome_home(&$a, &$o){ $entry = replace_macros($tpl,array( '$id' => $rr['id'], '$profile-link' => $profile_link, - '$photo' => $rr[$photo], + '$photo' => $a->get_cached_avatar_image($rr[$photo]), '$alt-text' => $rr['name'], )); $aside['$lastusers_items'][] = $entry; diff --git a/dav/virtual_cal_source_friendica.inc.php b/dav/virtual_cal_source_friendica.inc.php index 5123e4edd..7434fbbc0 100644 --- a/dav/virtual_cal_source_friendica.inc.php +++ b/dav/virtual_cal_source_friendica.inc.php @@ -52,8 +52,11 @@ class FriendicaVirtualCalSourceBackend extends VirtualCalSourceBackend } */ - $subject = substr(preg_replace("/\[[^\]]*\]/", "", $row["desc"]), 0, 100); - $description = preg_replace("/\[[^\]]*\]/", "", $row["desc"]); + // 2012-06-29 - change to Friendica new event behaviour where summary is present and required, + // but use desc for older events where summary wasn't present or required (but desc was) + + $subject = (($row["summary"]) ? $row["summary"] : substr(preg_replace("/\[[^\]]*\]/", "", $row["desc"]), 0, 100)); + $description = (($row["desc"]) ? preg_replace("/\[[^\]]*\]/", "", $row["desc"]) : $row["summary"]); $vevent = dav_create_vevent(wdcal_mySql2icalTime($row["start"]), wdcal_mySql2icalTime($row["finish"]), false); $vevent->setLocation(icalendar_sanitize_string($row["location"])); diff --git a/facebook.tgz b/facebook.tgz index b83351785..497015b7f 100644 Binary files a/facebook.tgz and b/facebook.tgz differ diff --git a/facebook/facebook.php b/facebook/facebook.php index 6ff2a2ef0..e48d73ad4 100644 --- a/facebook/facebook.php +++ b/facebook/facebook.php @@ -316,7 +316,7 @@ function fb_get_friends_sync_parsecontact($uid, $contact) { dbesc($contact->id), dbesc('facebook ' . $contact->id), dbesc($contact->name), - dbesc(($contact->nickname) ? $contact->nickname : strtolower($contact->first_name)), + dbesc(($contact->nickname) ? $contact->nickname : mb_convert_case($contact->first_name, MB_CASE_LOWER, "UTF-8")), dbesc('https://graph.facebook.com/' . $contact->id . '/picture'), dbesc(NETWORK_FACEBOOK), intval(CONTACT_IS_FRIEND), @@ -509,6 +509,13 @@ function facebook_content(&$a) { return ''; } + + if(! service_class_allows(local_user(),'facebook_connect')) { + notice( t('Permission denied.') . EOL); + return upgrade_bool_message(); + } + + if($a->argc > 1 && $a->argv[1] === 'remove') { del_pconfig(local_user(),'facebook','post'); info( t('Facebook disabled') . EOL); diff --git a/jappixmini.tgz b/jappixmini.tgz index c7fc99a41..a49c0b4e7 100644 Binary files a/jappixmini.tgz and b/jappixmini.tgz differ diff --git a/jappixmini/jappixmini.php b/jappixmini/jappixmini.php index d4b1993f7..d5330633e 100644 --- a/jappixmini/jappixmini.php +++ b/jappixmini/jappixmini.php @@ -488,6 +488,9 @@ function jappixmini_cron(&$a, $d) { $users = q("SELECT `uid` FROM `pconfig` WHERE `cat`='jappixmini' AND (`k`='autosubscribe' OR `k`='autoapprove') AND `v`='1'"); logger("jappixmini: Update list of contacts' jabber accounts for ".count($users)." users."); + if(! count($users)) + return; + foreach ($users as $row) { $uid = $row["uid"]; diff --git a/libertree.tgz b/libertree.tgz index a817c140b..92840aa99 100644 Binary files a/libertree.tgz and b/libertree.tgz differ diff --git a/poormancron.tgz b/poormancron.tgz index cdf40ee10..8eda6264a 100755 Binary files a/poormancron.tgz and b/poormancron.tgz differ diff --git a/poormancron/poormancron.php b/poormancron/poormancron.php index bbe023cd7..7c48e0fa8 100755 --- a/poormancron/poormancron.php +++ b/poormancron/poormancron.php @@ -1,7 +1,7 @@ */ diff --git a/privacy_image_cache.tgz b/privacy_image_cache.tgz index bf3869380..27943df53 100644 Binary files a/privacy_image_cache.tgz and b/privacy_image_cache.tgz differ diff --git a/smiley_pack.tgz b/smiley_pack.tgz index a1358539e..8c184414c 100644 Binary files a/smiley_pack.tgz and b/smiley_pack.tgz differ diff --git a/smiley_pack/smiley_pack.php b/smiley_pack/smiley_pack.php index 258ade767..4623ded5a 100644 --- a/smiley_pack/smiley_pack.php +++ b/smiley_pack/smiley_pack.php @@ -33,463 +33,463 @@ function smiley_pack_smilies(&$a,&$b) { #Animal smileys. $b['texts'][] = ':bunnyflowers'; - $b['icons'][] = '' . ':bunnyflowers' . ''; + $b['icons'][] = '' . ':bunnyflowers' . ''; $b['texts'][] = ':chick'; - $b['icons'][] = '' . ':chick' . ''; + $b['icons'][] = '' . ':chick' . ''; $b['texts'][] = ':bumblebee'; - $b['icons'][] = '' . ':bee' . ''; + $b['icons'][] = '' . ':bee' . ''; $b['texts'][] = ':ladybird'; - $b['icons'][] = '' . ':ladybird' . ''; + $b['icons'][] = '' . ':ladybird' . ''; $b['texts'][] = ':bigspider'; - $b['icons'][] = '' . ':bigspider' . ''; + $b['icons'][] = '' . ':bigspider' . ''; $b['texts'][] = ':cat'; - $b['icons'][] = '' . ':cat' . ''; + $b['icons'][] = '' . ':cat' . ''; $b['texts'][] = ':bunny'; - $b['icons'][] = '' . ':bunny' . ''; + $b['icons'][] = '' . ':bunny' . ''; $b['texts'][] = ':cow'; - $b['icons'][] = '' . ':cow' . ''; + $b['icons'][] = '' . ':cow' . ''; $b['texts'][] = ':crab'; - $b['icons'][] = '' . ':crab' . ''; + $b['icons'][] = '' . ':crab' . ''; $b['texts'][] = ':dolphin'; - $b['icons'][] = '' . ':dolphin' . ''; + $b['icons'][] = '' . ':dolphin' . ''; $b['texts'][] = ':dragonfly'; - $b['icons'][] = '' . ':dragonfly' . ''; + $b['icons'][] = '' . ':dragonfly' . ''; $b['texts'][] = ':frog'; - $b['icons'][] = '' . ':frog' . ''; + $b['icons'][] = '' . ':frog' . ''; $b['texts'][] = ':hamster'; - $b['icons'][] = '' . ':hamster' . ''; + $b['icons'][] = '' . ':hamster' . ''; $b['texts'][] = ':monkey'; - $b['icons'][] = '' . ':monkey' . ''; + $b['icons'][] = '' . ':monkey' . ''; $b['texts'][] = ':horse'; - $b['icons'][] = '' . ':horse' . ''; + $b['icons'][] = '' . ':horse' . ''; $b['texts'][] = ':parrot'; - $b['icons'][] = '' . ':parrot' . ''; + $b['icons'][] = '' . ':parrot' . ''; $b['texts'][] = ':tux'; - $b['icons'][] = '' . ':tux' . ''; + $b['icons'][] = '' . ':tux' . ''; $b['texts'][] = ':snail'; - $b['icons'][] = '' . ':snail' . ''; + $b['icons'][] = '' . ':snail' . ''; $b['texts'][] = ':sheep'; - $b['icons'][] = '' . ':sheep' . ''; + $b['icons'][] = '' . ':sheep' . ''; $b['texts'][] = ':dog'; - $b['icons'][] = '' . ':dog' . ''; + $b['icons'][] = '' . ':dog' . ''; $b['texts'][] = ':elephant'; - $b['icons'][] = '' . ':elephant' . ''; + $b['icons'][] = '' . ':elephant' . ''; $b['texts'][] = ':fish'; - $b['icons'][] = '' . ':fish' . ''; + $b['icons'][] = '' . ':fish' . ''; $b['texts'][] = ':giraffe'; - $b['icons'][] = '' . ':giraffe' . ''; + $b['icons'][] = '' . ':giraffe' . ''; $b['texts'][] = ':pig'; - $b['icons'][] = '' . ':pig' . ''; + $b['icons'][] = '' . ':pig' . ''; #Baby Smileys $b['texts'][] = ':baby'; - $b['icons'][] = '' . ':baby' . ''; + $b['icons'][] = '' . ':baby' . ''; $b['texts'][] = ':babycot'; - $b['icons'][] = '' . ':babycot' . ''; + $b['icons'][] = '' . ':babycot' . ''; $b['texts'][] = ':pregnant'; - $b['icons'][] = '' . ':pregnant' . ''; + $b['icons'][] = '' . ':pregnant' . ''; $b['texts'][] = ':stork'; - $b['icons'][] = '' . ':stork' . ''; + $b['icons'][] = '' . ':stork' . ''; #Confused Smileys $b['texts'][] = ':confused'; - $b['icons'][] = '' . ':confused' . ''; + $b['icons'][] = '' . ':confused' . ''; $b['texts'][] = ':shrug'; - $b['icons'][] = '' . ':shrug' . ''; + $b['icons'][] = '' . ':shrug' . ''; $b['texts'][] = ':stupid'; - $b['icons'][] = '' . ':stupid' . ''; + $b['icons'][] = '' . ':stupid' . ''; $b['texts'][] = ':dazed'; - $b['icons'][] = '' . ':dazed' . ''; + $b['icons'][] = '' . ':dazed' . ''; #Cool Smileys $b['texts'][] = ':affro'; - $b['icons'][] = '' . ':affro' . ''; + $b['icons'][] = '' . ':affro' . ''; #Devil/Angel Smileys $b['texts'][] = ':angel'; - $b['icons'][] = '' . ':angel' . ''; + $b['icons'][] = '' . ':angel' . ''; $b['texts'][] = ':cherub'; - $b['icons'][] = '' . ':cherub' . ''; + $b['icons'][] = '' . ':cherub' . ''; $b['texts'][] = ':devilangel'; - $b['icons'][] = '' . ':devilangel' . ''; + $b['icons'][] = '' . ':devilangel' . ''; $b['texts'][] = ':catdevil'; - $b['icons'][] = '' . ':catdevil' . ''; + $b['icons'][] = '' . ':catdevil' . ''; $b['texts'][] = ':devillish'; - $b['icons'][] = '' . ':devillish' . ''; + $b['icons'][] = '' . ':devillish' . ''; $b['texts'][] = ':daseesaw'; - $b['icons'][] = '' . ':daseesaw' . ''; + $b['icons'][] = '' . ':daseesaw' . ''; $b['texts'][] = ':turnevil'; - $b['icons'][] = '' . ':turnevil' . ''; + $b['icons'][] = '' . ':turnevil' . ''; $b['texts'][] = ':saint'; - $b['icons'][] = '' . ':saint' . ''; + $b['icons'][] = '' . ':saint' . ''; $b['texts'][] = ':graveside'; - $b['icons'][] = '' . ':graveside' . ''; + $b['icons'][] = '' . ':graveside' . ''; #Unpleasent smileys. $b['texts'][] = ':toilet'; - $b['icons'][] = '' . ':toilet' . ''; + $b['icons'][] = '' . ':toilet' . ''; $b['texts'][] = ':fartinbed'; - $b['icons'][] = '' . ':fartinbed' . ''; + $b['icons'][] = '' . ':fartinbed' . ''; $b['texts'][] = ':fartblush'; - $b['icons'][] = '' . ':fartblush' . ''; + $b['icons'][] = '' . ':fartblush' . ''; #Drinks $b['texts'][] = ':tea'; - $b['icons'][] = '' . ':tea' . ''; + $b['icons'][] = '' . ':tea' . ''; $b['texts'][] = ':drool'; - $b['icons'][] = '' . ':drool' . ''; + $b['icons'][] = '' . ':drool' . ''; #Sad smileys $b['texts'][] = ':crying'; - $b['icons'][] = '' . ':crying' . ''; + $b['icons'][] = '' . ':crying' . ''; $b['texts'][] = ':prisoner'; - $b['icons'][] = '' . ':prisoner' . ''; + $b['icons'][] = '' . ':prisoner' . ''; $b['texts'][] = ':sigh'; - $b['icons'][] = '' . ':sigh' . ''; + $b['icons'][] = '' . ':sigh' . ''; #Smoking - only one smiley in here, maybe it needs moving elsewhere? $b['texts'][] = ':smoking'; - $b['icons'][] = '' . ':smoking' . ''; + $b['icons'][] = '' . ':smoking' . ''; #Sport smileys $b['texts'][] = ':basketball'; - $b['icons'][] = '' . ':basketball' . ''; + $b['icons'][] = '' . ':basketball' . ''; $b['texts'][] = '~bowling'; - $b['icons'][] = '' . '~bowling' . ''; + $b['icons'][] = '' . '~bowling' . ''; $b['texts'][] = ':cycling'; - $b['icons'][] = '' . ':cycling' . ''; + $b['icons'][] = '' . ':cycling' . ''; $b['texts'][] = ':darts'; - $b['icons'][] = '' . ':darts' . ''; + $b['icons'][] = '' . ':darts' . ''; $b['texts'][] = ':fencing'; - $b['icons'][] = '' . ':fencing' . ''; + $b['icons'][] = '' . ':fencing' . ''; $b['texts'][] = ':juggling'; - $b['icons'][] = '' . ':juggling' . ''; + $b['icons'][] = '' . ':juggling' . ''; $b['texts'][] = ':skipping'; - $b['icons'][] = '' . ':skipping' . ''; + $b['icons'][] = '' . ':skipping' . ''; $b['texts'][] = ':archery'; - $b['icons'][] = '' . ':archery' . ''; + $b['icons'][] = '' . ':archery' . ''; $b['texts'][] = ':surfing'; - $b['icons'][] = '' . ':surfing' . ''; + $b['icons'][] = '' . ':surfing' . ''; $b['texts'][] = ':snooker'; - $b['icons'][] = '' . ':snooker' . ''; + $b['icons'][] = '' . ':snooker' . ''; $b['texts'][] = ':horseriding'; - $b['icons'][] = '' . ':horseriding' . ''; + $b['icons'][] = '' . ':horseriding' . ''; #Love smileys $b['texts'][] = ':iloveyou'; - $b['icons'][] = '' . ':iloveyou' . ''; + $b['icons'][] = '' . ':iloveyou' . ''; $b['texts'][] = ':inlove'; - $b['icons'][] = '' . ':inlove' . ''; + $b['icons'][] = '' . ':inlove' . ''; $b['texts'][] = '~love'; - $b['icons'][] = '' . ':love' . ''; + $b['icons'][] = '' . ':love' . ''; $b['texts'][] = ':lovebear'; - $b['icons'][] = '' . ':lovebear' . ''; + $b['icons'][] = '' . ':lovebear' . ''; $b['texts'][] = ':lovebed'; - $b['icons'][] = '' . ':lovebed' . ''; + $b['icons'][] = '' . ':lovebed' . ''; $b['texts'][] = ':loveheart'; - $b['icons'][] = '' . ':loveheart' . ''; + $b['icons'][] = '' . ':loveheart' . ''; #Tired/Sleep smileys $b['texts'][] = ':countsheep'; - $b['icons'][] = '' . ':countsheep' . ''; + $b['icons'][] = '' . ':countsheep' . ''; $b['texts'][] = ':hammock'; - $b['icons'][] = '' . ':hammock' . ''; + $b['icons'][] = '' . ':hammock' . ''; $b['texts'][] = ':pillow'; - $b['icons'][] = '' . ':pillow' . ''; + $b['icons'][] = '' . ':pillow' . ''; $b['texts'][] = ':yawn'; - $b['icons'][] = '' . ':yawn' . ''; + $b['icons'][] = '' . ':yawn' . ''; #Fight/Flame/Violent smileys $b['texts'][] = ':2guns'; - $b['icons'][] = '' . ':2guns' . ''; + $b['icons'][] = '' . ':2guns' . ''; $b['texts'][] = ':alienfight'; - $b['icons'][] = '' . ':alienfight' . ''; + $b['icons'][] = '' . ':alienfight' . ''; $b['texts'][] = ':army'; - $b['icons'][] = '' . ':army' . ''; + $b['icons'][] = '' . ':army' . ''; $b['texts'][] = ':arrowhead'; - $b['icons'][] = '' . ':arrowhead' . ''; + $b['icons'][] = '' . ':arrowhead' . ''; $b['texts'][] = ':bfg'; - $b['icons'][] = '' . ':bfg' . ''; + $b['icons'][] = '' . ':bfg' . ''; $b['texts'][] = ':bowman'; - $b['icons'][] = '' . ':bowman' . ''; + $b['icons'][] = '' . ':bowman' . ''; $b['texts'][] = ':chainsaw'; - $b['icons'][] = '' . ':chainsaw' . ''; + $b['icons'][] = '' . ':chainsaw' . ''; $b['texts'][] = ':crossbow'; - $b['icons'][] = '' . ':crossbow' . ''; + $b['icons'][] = '' . ':crossbow' . ''; $b['texts'][] = ':crusader'; - $b['icons'][] = '' . ':crusader' . ''; + $b['icons'][] = '' . ':crusader' . ''; $b['texts'][] = ':dead'; - $b['icons'][] = '' . ':dead' . ''; + $b['icons'][] = '' . ':dead' . ''; $b['texts'][] = ':hammersplat'; - $b['icons'][] = '' . ':hammersplat' . ''; + $b['icons'][] = '' . ':hammersplat' . ''; $b['texts'][] = ':lasergun'; - $b['icons'][] = '' . ':lasergun' . ''; + $b['icons'][] = '' . ':lasergun' . ''; $b['texts'][] = ':machinegun'; - $b['icons'][] = '' . ':machinegun' . ''; + $b['icons'][] = '' . ':machinegun' . ''; $b['texts'][] = ':acid'; - $b['icons'][] = '' . ':acid' . ''; + $b['icons'][] = '' . ':acid' . ''; #Fantasy smileys - monsters and dragons fantasy. The other type of fantasy belongs in adult smileys $b['texts'][] = ':alienmonster'; - $b['icons'][] = '' . ':alienmonster' . ''; + $b['icons'][] = '' . ':alienmonster' . ''; $b['texts'][] = ':barbarian'; - $b['icons'][] = '' . ':barbarian' . ''; + $b['icons'][] = '' . ':barbarian' . ''; $b['texts'][] = ':dinosaur'; - $b['icons'][] = '' . ':dinosaur' . ''; + $b['icons'][] = '' . ':dinosaur' . ''; $b['texts'][] = ':dragon'; - $b['icons'][] = '' . ':dragon' . ''; + $b['icons'][] = '' . ':dragon' . ''; $b['texts'][] = ':draco'; - $b['icons'][] = '' . ':draco' . ''; + $b['icons'][] = '' . ':draco' . ''; $b['texts'][] = ':ghost'; - $b['icons'][] = '' . ':ghost' . ''; + $b['icons'][] = '' . ':ghost' . ''; $b['texts'][] = ':mummy'; - $b['icons'][] = '' . ':mummy' . ''; + $b['icons'][] = '' . ':mummy' . ''; #Food smileys $b['texts'][] = ':apple'; - $b['icons'][] = '' . ':apple' . ''; + $b['icons'][] = '' . ':apple' . ''; $b['texts'][] = ':broccoli'; - $b['icons'][] = '' . ':brocolli' . ''; + $b['icons'][] = '' . ':brocolli' . ''; $b['texts'][] = ':cake'; - $b['icons'][] = '' . ':cake' . ''; + $b['icons'][] = '' . ':cake' . ''; $b['texts'][] = ':carrot'; - $b['icons'][] = '' . ':carrot' . ''; + $b['icons'][] = '' . ':carrot' . ''; $b['texts'][] = ':popcorn'; - $b['icons'][] = '' . ':popcorn' . ''; + $b['icons'][] = '' . ':popcorn' . ''; $b['texts'][] = ':tomato'; - $b['icons'][] = '' . ':tomato' . ''; + $b['icons'][] = '' . ':tomato' . ''; $b['texts'][] = ':banana'; - $b['icons'][] = '' . ':banana' . ''; + $b['icons'][] = '' . ':banana' . ''; $b['texts'][] = ':cooking'; - $b['icons'][] = '' . ':cooking' . ''; + $b['icons'][] = '' . ':cooking' . ''; $b['texts'][] = ':fryegg'; - $b['icons'][] = '' . ':fryegg' . ''; + $b['icons'][] = '' . ':fryegg' . ''; #Happy smileys $b['texts'][] = ':cloud9'; - $b['icons'][] = '' . ':cloud9' . ''; + $b['icons'][] = '' . ':cloud9' . ''; $b['texts'][] = ':tearsofjoy'; - $b['icons'][] = '' . ':tearsofjoy' . ''; + $b['icons'][] = '' . ':tearsofjoy' . ''; #Repsect smileys $b['texts'][] = ':bow'; - $b['icons'][] = '' . ':bow' . ''; + $b['icons'][] = '' . ':bow' . ''; $b['texts'][] = ':bravo'; - $b['icons'][] = '' . ':bravo' . ''; + $b['icons'][] = '' . ':bravo' . ''; $b['texts'][] = ':hailking'; - $b['icons'][] = '' . ':hailking' . ''; + $b['icons'][] = '' . ':hailking' . ''; $b['texts'][] = ':number1'; - $b['icons'][] = '' . ':number1' . ''; + $b['icons'][] = '' . ':number1' . ''; #Laugh smileys $b['texts'][] = ':hahaha'; - $b['icons'][] = '' . ':hahaha' . ''; + $b['icons'][] = '' . ':hahaha' . ''; $b['texts'][] = ':loltv'; - $b['icons'][] = '' . ':loltv' . ''; + $b['icons'][] = '' . ':loltv' . ''; $b['texts'][] = ':rofl'; - $b['icons'][] = '' . ':rofl' . ''; + $b['icons'][] = '' . ':rofl' . ''; #Music smileys $b['texts'][] = ':drums'; - $b['icons'][] = '' . ':drums' . ''; + $b['icons'][] = '' . ':drums' . ''; $b['texts'][] = ':guitar'; - $b['icons'][] = '' . ':guitar' . ''; + $b['icons'][] = '' . ':guitar' . ''; $b['texts'][] = ':trumpet'; - $b['icons'][] = '' . ':trumpet' . ''; + $b['icons'][] = '' . ':trumpet' . ''; #Smileys that used to be in core $b['texts'][] = ':headbang'; - $b['icons'][] = '' . ':headbang' . ''; + $b['icons'][] = '' . ':headbang' . ''; $b['texts'][] = ':beard'; - $b['icons'][] = '' . ':beard' . ''; + $b['icons'][] = '' . ':beard' . ''; $b['texts'][] = ':whitebeard'; - $b['icons'][] = '' . ':whitebeard' . ''; + $b['icons'][] = '' . ':whitebeard' . ''; $b['texts'][] = ':shaka'; - $b['icons'][] = '' . ':shaka' . ''; + $b['icons'][] = '' . ':shaka' . ''; $b['texts'][] = ':\\.../'; - $b['icons'][] = '' . ':\\.../' . ''; + $b['icons'][] = '' . ':\\.../' . ''; $b['texts'][] = ':\\ooo/'; - $b['icons'][] = '' . ':\\ooo/' . ''; + $b['icons'][] = '' . ':\\ooo/' . ''; $b['texts'][] = ':headdesk'; - $b['icons'][] = '' . ':headdesk' . ''; + $b['icons'][] = '' . ':headdesk' . ''; #These two are still in core, so oldcore isn't strictly right, but we don't want too many directories $b['texts'][] = ':-d'; - $b['icons'][] = '' . ':-d' . ''; + $b['icons'][] = '' . ':-d' . ''; $b['texts'][] = ':-o'; - $b['icons'][] = '' . ':-o' . ''; + $b['icons'][] = '' . ':-o' . ''; # Regex killers - stick these at the bottom so they appear at the end of the English and # at the start of $OtherLanguage. $b['texts'][] = ':cool'; - $b['icons'][] = '' . ':cool' . ''; + $b['icons'][] = '' . ':cool' . ''; $b['texts'][] = ':vomit'; - $b['icons'][] = '' . ':vomit' . ''; + $b['icons'][] = '' . ':vomit' . ''; $b['texts'][] = ':golf'; - $b['icons'][] = '' . ':golf' . ''; + $b['icons'][] = '' . ':golf' . ''; $b['texts'][] = ':football'; - $b['icons'][] = '' . ':football' . ''; + $b['icons'][] = '' . ':football' . ''; $b['texts'][] = ':tennis'; - $b['icons'][] = '' . ':tennis' . ''; + $b['icons'][] = '' . ':tennis' . ''; $b['texts'][] = ':alpha'; - $b['icons'][] = '' . ':alpha' . ''; + $b['icons'][] = '' . ':alpha' . ''; $b['texts'][] = ':marine'; - $b['icons'][] = '' . ':marine' . ''; + $b['icons'][] = '' . ':marine' . ''; $b['texts'][] = ':sabre'; - $b['icons'][] = '' . ':sabre' . ''; + $b['icons'][] = '' . ':sabre' . ''; $b['texts'][] = ':tank'; - $b['icons'][] = '' . ':tank' . ''; + $b['icons'][] = '' . ':tank' . ''; $b['texts'][] = ':viking'; - $b['icons'][] = '' . ':viking' . ''; + $b['icons'][] = '' . ':viking' . ''; $b['texts'][] = ':gangs'; - $b['icons'][] = '' . ':gangs' . ''; + $b['icons'][] = '' . ':gangs' . ''; $b['texts'][] = ':dj'; - $b['icons'][] = '' . ':dj' . ''; + $b['icons'][] = '' . ':dj' . ''; $b['texts'][] = ':elvis'; - $b['icons'][] = '' . ':elivs' . ''; + $b['icons'][] = '' . ':elivs' . ''; $b['texts'][] = ':violin'; - $b['icons'][] = '' . ':violin' . ''; + $b['icons'][] = '' . ':violin' . ''; } diff --git a/smilies_adult.tgz b/smilies_adult.tgz index 971547d73..95f12161a 100644 Binary files a/smilies_adult.tgz and b/smilies_adult.tgz differ diff --git a/smilies_adult/smilies_adult.php b/smilies_adult/smilies_adult.php index 19c13b406..82b30a980 100644 --- a/smilies_adult/smilies_adult.php +++ b/smilies_adult/smilies_adult.php @@ -22,21 +22,21 @@ function smilies_adult_uninstall() { function smilies_adult_smilies(&$a,&$b) { $b['texts'][] = '(o)(o)'; - $b['icons'][] = '' . '(o)(o)' . ''; + $b['icons'][] = '' . '(o)(o)' . ''; $b['texts'][] = '(.)(.)'; - $b['icons'][] = '' . '(.)(.)' . ''; + $b['icons'][] = '' . '(.)(.)' . ''; $b['texts'][] = ':bong'; - $b['icons'][] = '' . ':bong' . ''; + $b['icons'][] = '' . ':bong' . ''; $b['texts'][] = ':sperm'; - $b['icons'][] = '' . ':sperm' . ''; + $b['icons'][] = '' . ':sperm' . ''; $b['texts'][] = ':drunk'; - $b['icons'][] = '' . ':drunk' . ''; + $b['icons'][] = '' . ':drunk' . ''; $b['texts'][] = ':finger'; - $b['icons'][] = '' . ':finger' . ''; + $b['icons'][] = '' . ':finger' . ''; } \ No newline at end of file diff --git a/statusnet.tgz b/statusnet.tgz index 33fbc68a9..51390d305 100755 Binary files a/statusnet.tgz and b/statusnet.tgz differ diff --git a/tumblr.tgz b/tumblr.tgz index d5a34c218..2a137b54f 100755 Binary files a/tumblr.tgz and b/tumblr.tgz differ diff --git a/twitter.tgz b/twitter.tgz index e011308e2..192d6f85d 100755 Binary files a/twitter.tgz and b/twitter.tgz differ diff --git a/wppost.tgz b/wppost.tgz index 21546b375..dc4338ac7 100755 Binary files a/wppost.tgz and b/wppost.tgz differ