The title for the settings now contain the words "import, "export" or "Mirror" accord...
authorMichael Vogel <icarus@dabo.de>
Fri, 4 Apr 2014 09:14:45 +0000 (11:14 +0200)
committerMichael Vogel <icarus@dabo.de>
Fri, 4 Apr 2014 09:14:45 +0000 (11:14 +0200)
blogger/blogger.php
diaspora/diaspora.php
fbsync/fbsync.php
fromgplus/fromgplus.php
libertree/libertree.php
privacy_image_cache/privacy_image_cache.php
pumpio/pumpio.php
tumblr/tumblr.php
wppost/wppost.php

index 8d60472..852f1fc 100755 (executable)
@@ -71,11 +71,11 @@ function blogger_settings(&$a,&$s) {
     /* 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">';
index ef8ff51..c9eb337 100755 (executable)
@@ -144,11 +144,11 @@ function diaspora_settings(&$a,&$s) {
        /* 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) {
index dac6cd2..d05d6e4 100644 (file)
@@ -322,7 +322,7 @@ function fbsync_createpost($a, $uid, $self, $contacts, $applications, $post, $cr
        }
 
        if ($content)
-               $postarray["body"] .= "\n\n";
+               $postarray["body"] .= "\n";
 
        if ($type)
                $postarray["body"] .= "[class=type-".$type."]";
index ecdf765..ca26ce2 100644 (file)
@@ -34,11 +34,11 @@ function fromgplus_addon_settings(&$a,&$s) {
        $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">';
@@ -263,7 +263,7 @@ function fromgplus_handleattachments($item, $displaytext) {
                                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"] != "")
index dec85dd..b064c6b 100755 (executable)
@@ -64,11 +64,11 @@ function libertree_settings(&$a,&$s) {
     /* 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">';
index 1fa6c5e..b7c8fc7 100644 (file)
@@ -288,11 +288,11 @@ function privacy_image_cache_img_cb($matches) {
 
        // 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
index 0280b51..1575f14 100755 (executable)
@@ -219,11 +219,11 @@ function pumpio_settings(&$a,&$s) {
     /* 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">';
index 114fcc5..06da439 100755 (executable)
@@ -182,11 +182,11 @@ function tumblr_settings(&$a,&$s) {
     /* 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">';
index 3c7c17b..ac85662 100755 (executable)
@@ -73,11 +73,11 @@ function wppost_settings(&$a,&$s) {
     /* 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>';