minor
authorfriendica <info@friendica.com>
Fri, 6 Jul 2012 01:02:41 +0000 (18:02 -0700)
committerfriendica <info@friendica.com>
Fri, 6 Jul 2012 01:02:41 +0000 (18:02 -0700)
facebook.tgz
facebook/facebook.php
jappixmini.tgz
page.tgz
page/page.css

index 497015b..6ec94f3 100644 (file)
Binary files a/facebook.tgz and b/facebook.tgz differ
index e48d73a..127456a 100644 (file)
@@ -3,7 +3,8 @@
  * Name: Facebook Connector
  * Version: 1.3
  * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
- *         Tobias Hößl <https://github.com/CatoTH/>
+ * Author: Tobias Hößl <https://github.com/CatoTH/>
+ *
  */
 
 /**
@@ -162,10 +163,11 @@ function facebook_init(&$a) {
                }
        }
 
-
        if($a->argc != 2)
                return;
+
        $nick = $a->argv[1];
+
        if(strlen($nick))
                $r = q("SELECT `uid` FROM `user` WHERE `nickname` = '%s' LIMIT 1",
                                dbesc($nick)
@@ -758,7 +760,7 @@ function facebook_plugin_admin(&$a, &$o){
                elseif (is_array($subs)) {
                        $o .= t('The given API Key seems to work correctly.') . '<br>';
                        $working_connection = true;
-               } else $o .= t('The correctness of the API Key could not be detected. Somthing strange\'s going on.') . '<br>';
+               } else $o .= t('The correctness of the API Key could not be detected. Something strange\'s going on.') . '<br>';
        }
        
        $o .= '<label for="fb_appid">' . t('App-ID / API-Key') . '</label><input id="fb_appid" name="appid" type="text" value="' . escape_tags($appid ? $appid : "") . '"><br style="clear: both;">';
index a49c0b4..212bb25 100644 (file)
Binary files a/jappixmini.tgz and b/jappixmini.tgz differ
index 0db604c..7e95737 100644 (file)
Binary files a/page.tgz and b/page.tgz differ
index 44b970d..0c0fe3c 100644 (file)
@@ -11,4 +11,3 @@
        float: left;
 }
 
-