]> git.mxchange.org Git - friendica-addons.git/commitdiff
The connector settings are now with logo.
authorMichael Vogel <icarus@dabo.de>
Thu, 24 Apr 2014 08:33:16 +0000 (10:33 +0200)
committerMichael Vogel <icarus@dabo.de>
Thu, 24 Apr 2014 08:33:16 +0000 (10:33 +0200)
appnetpost/appnetpost.php
blogger/blogger.php
diaspora/diaspora.php
gpluspost/gpluspost.css
libertree/libertree.php
pumpio/pumpio.php
statusnet/statusnet.php
tumblr/tumblr.php
twitter/twitter.php
wppost/wppost.php

index 849bf2297fd5bf0331098e57b6b50a43ed37053c..32312dd825cefde69343e984891fae6cd4ed01ed 100644 (file)
@@ -53,11 +53,11 @@ function appnetpost_settings(&$a,&$s) {
        $def_checked = (($def_enabled) ? ' checked="checked" ' : '');
 
        $s .= '<span id="settings_appnetpost_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_appnetpost_expanded\'); openClose(\'settings_appnetpost_inflated\');">';
-       $s .= '<h3>' . t('App.net Export') . '</h3>';
+       $s .= '<img class="connector" src="images/appnet.png" /><h3 class="connector">'. t('App.net Export').'</h3>';
        $s .= '</span>';
        $s .= '<div id="settings_appnetpost_expanded" class="settings-block" style="display: none;">';
        $s .= '<span class="fakelink" onclick="openClose(\'settings_appnetpost_expanded\'); openClose(\'settings_appnetpost_inflated\');">';
-       $s .= '<h3>' . t('App.net Export') . '</h3>';
+       $s .= '<img class="connector" src="images/appnet.png" /><h3 class="connector">'. t('App.net Export').'</h3>';
        $s .= '</span>';
 
        $s .= '<div id="appnetpost-enable-wrapper">';
index 852f1fc6b27dc7a4c73ddb98fb26f90c3161cb60..17124b37eb6be55e59e71c6223353253785cec2c 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 Export') . '</h3>';
+    $s .= '<img class="connector" src="images/blogger.png" /><h3 class="connector">'. 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 Export') . '</h3>';
+    $s .= '<img class="connector" src="images/blogger.png" /><h3 class="connector">'. t('Blogger Export').'</h3>';
     $s .= '</span>';
 
     $s .= '<div id="blogger-enable-wrapper">';
index 45b59cc0e7c807f74a1b0c44b1532b7ea1c86492..53e1890c1c63e5ad4dcd65d1213af2b6ab839793 100755 (executable)
@@ -146,11 +146,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 Export') . '</h3>';
+       $s .= '<img class="connector" src="images/diaspora-logo.png" /><h3 class="connector">'. 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 Export') . '</h3>';
+       $s .= '<img class="connector" src="images/diaspora-logo.png" /><h3 class="connector">'. t('Diaspora Export').'</h3>';
        $s .= '</span>';
 
        if ($status) {
index a9bfb2b9ea83927c4732999aea43862ed1eecd67..b86364b4a4414d0f99b81fe06b86d4c4fa17c7f0 100755 (executable)
@@ -1,11 +1,15 @@
 
-#gpluspost-enable-label, #gpluspost-bydefault-label, #gpluspost-noloopprevention-label, #gpluspost-skipwithoutlink-label {
+#gpluspost-enable-label, #gpluspost-bydefault-label, #gpluspost-noloopprevention-label, 
+#gpluspost-skipwithoutlink-label, #gpluspost-mirror-label, #gpluspost-account-label,
+#gpluspost-username-label, #gpluspost-password-label, #gpluspost-page-label {
        float: left;
        width: 200px;
        margin-top: 10px;
 }
 
-#gpluspost-checkbox, #gpluspost-bydefault, #gpluspost-noloopprevention, #gpluspost-skipwithoutlink {
+#gpluspost-checkbox, #gpluspost-bydefault, #gpluspost-noloopprevention, 
+#gpluspost-skipwithoutlink, #gpluspost-mirror, #gpluspost-account,
+#gpluspost-username, #gpluspost-password, #gpluspost-page {
        float: left;
        margin-top: 10px;
 }
index b064c6bc2bb7d925eeef40ff9e21e2e086bcfe80..123bfe2baf80bd1719c483dd5fe71f2fa45b31ea 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 Export') . '</h3>';
+    $s .= '<img class="connector" src="images/libertree.png" /><h3 class="connector">'. 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 Export') . '</h3>';
+    $s .= '<img class="connector" src="images/libertree.png" /><h3 class="connector">'. t('libertree Export').'</h3>';
     $s .= '</span>';
 
     $s .= '<div id="libertree-enable-wrapper">';
index 1575f14b2d067ac05d898f296e81a617901d97db..3083d732e174eced3744da84eb468a871d254bd8 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 Import/Export/Mirror') . '</h3>';
+    $s .= '<img class="connector" src="images/pumpio.png" /><h3 class="connector">'. 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 Import/Export/Mirror') . '</h3>';
+    $s .= '<img class="connector" src="images/pumpio.png" /><h3 class="connector">'. t('Pump.io Import/Export/Mirror').'</h3>';
     $s .= '</span>';
 
     $s .= '<div id="pumpio-username-wrapper">';
index 6b7d35ab1d053bc3ee149483ff2bfedb2cd08a53..fd9c7b1ac34a9ef5d49518c588834c2f45a64959 100644 (file)
@@ -291,11 +291,11 @@ function statusnet_settings(&$a,&$s) {
 
 
        $s .= '<span id="settings_statusnet_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_statusnet_expanded\'); openClose(\'settings_statusnet_inflated\');">';
-       $s .= '<h3>'. t('StatusNet Import/Export/Mirror').'</h3>';
+       $s .= '<img class="connector" src="images/gnusocial.png" /><h3 class="connector">'. t('StatusNet Import/Export/Mirror').'</h3>';
        $s .= '</span>';
        $s .= '<div id="settings_statusnet_expanded" class="settings-block" style="display: none;">';
        $s .= '<span class="fakelink" onclick="openClose(\'settings_statusnet_expanded\'); openClose(\'settings_statusnet_inflated\');">';
-       $s .= '<h3>'. t('StatusNet Import/Export/Mirror').'</h3>';
+       $s .= '<img class="connector" src="images/gnusocial.png" /><h3 class="connector">'. t('StatusNet Import/Export/Mirror').'</h3>';
        $s .= '</span>';
 
        if ( (!$ckey) && (!$csecret) ) {
index 06da4393fb3a15b96110e6f96078312dc61f5d64..61b9bef5642fb30bd51037cd2abee36db62ca65e 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 Export') . '</h3>';
+    $s .= '<img class="connector" src="images/tumblr.png" /><h3 class="connector">'. 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 Export') . '</h3>';
+    $s .= '<img class="connector" src="images/tumblr.png" /><h3 class="connector">'. t('Tumblr Export').'</h3>';
     $s .= '</span>';
 
     $s .= '<div id="tumblr-username-wrapper">';
index f1e0b097fb5cc4fdf3f70b9aff2e1990ce7cc75e..c14841f4c493d85dde62292f1001ad2eb777e663 100755 (executable)
@@ -233,11 +233,11 @@ function twitter_settings(&$a,&$s) {
        $globalshortening = get_config('twitter','intelligent_shortening');
 
        $s .= '<span id="settings_twitter_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_twitter_expanded\'); openClose(\'settings_twitter_inflated\');">';
-       $s .= '<h3>'. t('Twitter Import/Export/Mirror') .'</h3>';
+       $s .= '<img class="connector" src="images/twitter.png" /><h3 class="connector">'. t('Twitter Import/Export/Mirror').'</h3>';
        $s .= '</span>';
        $s .= '<div id="settings_twitter_expanded" class="settings-block" style="display: none;">';
        $s .= '<span class="fakelink" onclick="openClose(\'settings_twitter_expanded\'); openClose(\'settings_twitter_inflated\');">';
-       $s .= '<h3>'. t('Twitter Import/Export/Mirror') .'</h3>';
+       $s .= '<img class="connector" src="images/twitter.png" /><h3 class="connector">'. t('Twitter Import/Export/Mirror').'</h3>';
        $s .= '</span>';
 
        if ( (!$ckey) && (!$csecret) ) {
@@ -955,6 +955,7 @@ function twitter_fetchtimeline($a, $uid) {
        $has_picture = false;
 
        require_once('mod/item.php');
+       require_once('include/items.php');
 
        require_once('library/twitteroauth.php');
        $connection = new TwitterOAuth($ckey,$csecret,$otoken,$osecret);
index ac85662313295a383c2c814b6eff7c9112a939b9..8436fd3ae22141ef1d93a26036a225d6e06fe01d 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 Export') . '</h3>';
+    $s .= '<img class="connector" src="images/wordpress.png" /><h3 class="connector">'. 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 Export') . '</h3>';
+    $s .= '<img class="connector" src="images/wordpress.png" /><h3 class="connector">'. 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>';