mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 04:03:40 +00:00
minor
This commit is contained in:
parent
0fe7075293
commit
4a5e30ec84
5 changed files with 5 additions and 4 deletions
BIN
facebook.tgz
BIN
facebook.tgz
Binary file not shown.
|
@ -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;">';
|
||||
|
|
BIN
jappixmini.tgz
BIN
jappixmini.tgz
Binary file not shown.
BIN
page.tgz
BIN
page.tgz
Binary file not shown.
|
@ -11,4 +11,3 @@
|
|||
float: left;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue