From: Tobias Diekershoff Date: Tue, 19 Feb 2013 08:17:37 +0000 (+0100) Subject: app name now in form if user types in her own connection X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=df7cd7850b280261567305aaf7bc14577fbd299b;p=friendica-addons.git app name now in form if user types in her own connection --- diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 2e653aad..b08f5f74 100755 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -195,6 +195,7 @@ function statusnet_settings_post ($a,$post) { set_pconfig(local_user(), 'statusnet', 'consumerkey', $_POST['statusnet-consumerkey']); set_pconfig(local_user(), 'statusnet', 'consumersecret', $_POST['statusnet-consumersecret']); set_pconfig(local_user(), 'statusnet', 'baseapi', $apibase ); + set_pconfig(local_user(), 'statusnet', 'application_name', $_POST['statusnet-applicationname'] ); } else { // the API path is not correct, maybe missing trailing / ? $apibase = $apibase . '/'; @@ -302,6 +303,9 @@ function statusnet_settings(&$a,&$s) { $s .= ''; $s .= '
'; $s .= '

'; + $s .= ''; + $s .= '
'; + $s .= '

'; $s .= '
'; } else { /***