/* Add some HTML to the existing form */
$s .= '<span id="settings_blogger_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_blogger_expanded\'); openClose(\'settings_blogger_inflated\');">';
- $s .= '<h3>' . t('Blogger') . '</h3>';
+ $s .= '<h3>' . t('Blogger Export') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_blogger_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_blogger_expanded\'); openClose(\'settings_blogger_inflated\');">';
- $s .= '<h3>' . t('Blogger') . '</h3>';
+ $s .= '<h3>' . t('Blogger Export') . '</h3>';
$s .= '</span>';
$s .= '<div id="blogger-enable-wrapper">';
/* Add some HTML to the existing form */
$s .= '<span id="settings_diaspora_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_diaspora_expanded\'); openClose(\'settings_diaspora_inflated\');">';
- $s .= '<h3>' . t('Diaspora') . '</h3>';
+ $s .= '<h3>' . t('Diaspora Export') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_diaspora_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_diaspora_expanded\'); openClose(\'settings_diaspora_inflated\');">';
- $s .= '<h3>' . t('Diaspora') . '</h3>';
+ $s .= '<h3>' . t('Diaspora Export') . '</h3>';
$s .= '</span>';
if ($status) {
}
if ($content)
- $postarray["body"] .= "\n\n";
+ $postarray["body"] .= "\n";
if ($type)
$postarray["body"] .= "[class=type-".$type."]";
$account = get_pconfig(local_user(),'fromgplus','account');
$s .= '<span id="settings_fromgplus_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_fromgplus_expanded\'); openClose(\'settings_fromgplus_inflated\');">';
- $s .= '<h3>' . t('Google+ Mirroring').'</h3>';
+ $s .= '<h3>' . t('Google+ Mirror').'</h3>';
$s .= '</span>';
$s .= '<div id="settings_fromgplus_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_fromgplus_expanded\'); openClose(\'settings_fromgplus_inflated\');">';
- $s .= '<h3>' . t('Google+ Mirroring').'</h3>';
+ $s .= '<h3>' . t('Google+ Mirror').'</h3>';
$s .= '</span>';
$s .= '<div id="fromgplus-wrapper">';
break;
case "article":
- $post .= "\n\n[class=type-link][bookmark=".$attachment->url."]".fromgplus_html2bbcode($attachment->displayName)."[/bookmark]\n";
+ $post .= "\n[class=type-link][bookmark=".$attachment->url."]".fromgplus_html2bbcode($attachment->displayName)."[/bookmark]\n";
$images = fromgplus_cleanupgoogleproxy($attachment->fullImage, $attachment->image);
//if ($images["preview"] != "")
/* Add some HTML to the existing form */
$s .= '<span id="settings_libertree_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_libertree_expanded\'); openClose(\'settings_libertree_inflated\');">';
- $s .= '<h3>' . t('libertree') . '</h3>';
+ $s .= '<h3>' . t('libertree Export') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_libertree_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_libertree_expanded\'); openClose(\'settings_libertree_inflated\');">';
- $s .= '<h3>' . t('libertree') . '</h3>';
+ $s .= '<h3>' . t('libertree Export') . '</h3>';
$s .= '</span>';
$s .= '<div id="libertree-enable-wrapper">';
// if the picture seems to be from another picture cache then take the original source
$queryvar = privacy_image_cache_parse_query($matches[2]);
- if ($queryvar['url'] != "")
+ if (($queryvar['url'] != "") AND (substr($queryvar['url'], 0, 4) == "http"))
$matches[2] = urldecode($queryvar['url']);
// if fetching facebook pictures don't fetch the thumbnail but the big one
- if (strpos($matches[2], ".fbcdn.net/") and (substr($matches[2], -6) == "_s.jpg"))
+ if (((strpos($matches[2], ".fbcdn.net/") OR strpos($matches[2], "/fbcdn-photos-"))) and (substr($matches[2], -6) == "_s.jpg"))
$matches[2] = substr($matches[2], 0, -6)."_n.jpg";
// following line changed per bug #431
/* Add some HTML to the existing form */
$s .= '<span id="settings_pumpio_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_pumpio_expanded\'); openClose(\'settings_pumpio_inflated\');">';
- $s .= '<h3>' . t('Pump.io') . '</h3>';
+ $s .= '<h3>' . t('Pump.io Import/Export/Mirror') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_pumpio_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_pumpio_expanded\'); openClose(\'settings_pumpio_inflated\');">';
- $s .= '<h3>' . t('Pump.io') . '</h3>';
+ $s .= '<h3>' . t('Pump.io Import/Export/Mirror') . '</h3>';
$s .= '</span>';
$s .= '<div id="pumpio-username-wrapper">';
/* Add some HTML to the existing form */
$s .= '<span id="settings_tumblr_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_tumblr_expanded\'); openClose(\'settings_tumblr_inflated\');">';
- $s .= '<h3>' . t('Tumblr') . '</h3>';
+ $s .= '<h3>' . t('Tumblr Export') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_tumblr_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_tumblr_expanded\'); openClose(\'settings_tumblr_inflated\');">';
- $s .= '<h3>' . t('Tumblr') . '</h3>';
+ $s .= '<h3>' . t('Tumblr Export') . '</h3>';
$s .= '</span>';
$s .= '<div id="tumblr-username-wrapper">';
/* Add some HTML to the existing form */
$s .= '<span id="settings_wppost_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_wppost_expanded\'); openClose(\'settings_wppost_inflated\');">';
- $s .= '<h3>' . t('WordPress') . '</h3>';
+ $s .= '<h3>' . t('WordPress Export') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_wppost_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_wppost_expanded\'); openClose(\'settings_wppost_inflated\');">';
- $s .= '<h3>' . t('WordPress') . '</h3>';
+ $s .= '<h3>' . t('WordPress Export') . '</h3>';
$s .= '</span>';
$s .= '<div id="wppost-enable-wrapper">';
$s .= '<label id="wppost-enable-label" for="wppost-checkbox">' . t('Enable WordPress Post Plugin') . '</label>';