diff --git a/addon/facebook/facebook.css b/addon/facebook/facebook.css
new file mode 100644
index 0000000000..3df65706fa
--- /dev/null
+++ b/addon/facebook/facebook.css
@@ -0,0 +1,8 @@
+
+#facebook-enable-wrapper {
+ margin-top: 20px;
+}
+
+#facebook-disable-wrapper {
+ margin-top: 20px;
+}
diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php
index e989c90ea1..876a9740ba 100644
--- a/addon/facebook/facebook.php
+++ b/addon/facebook/facebook.php
@@ -114,14 +114,18 @@ function facebook_content(&$a) {
return '';
}
+ $a->page['htmlhead'] .= ' ' . "\r\n";
+
$o .= '
';
$s .= '
' . t('Randplace Settings') . ' ';
$s .= '
';
}
\ No newline at end of file
diff --git a/addon/statusnet/statusnet.php b/addon/statusnet/statusnet.php
index 7928003bcd..e595ad7b53 100644
--- a/addon/statusnet/statusnet.php
+++ b/addon/statusnet/statusnet.php
@@ -63,6 +63,22 @@ function statusnet_uninstall() {
unregister_hook('post_local_end', 'addon/statusnet/statusnet.php', 'statusnet_post_hook');
}
+function statusnet_jot_nets(&$a,&$b) {
+ if(! local_user())
+ return;
+
+ $statusnet_post = get_pconfig(local_user(),'statusnet','post');
+ if(intval($statusnet_post) == 1) {
+ $statusnet_defpost = get_pconfig(local_user(),'statusnet','post_by_default');
+ $selected = ((intval($statusnet_defpost == 1)) ? ' selected="selected" ' : '');
+ $b .= '
'
+ . t('Post to StatusNet') . '
';
+ }
+}
+
+
+
+
function statusnet_settings_post ($a,$post) {
if(! local_user())
return;
@@ -123,7 +139,8 @@ function statusnet_settings(&$a,&$s) {
$osecret = get_pconfig(local_user(), 'statusnet', 'oauthsecret' );
$enabled = get_pconfig(local_user(), 'statusnet', 'post');
$checked = (($enabled) ? ' checked="checked" ' : '');
- $s .= '
'.t('StatusNet Posting Settings').' ';
+ $s .= '
';
+ $s .= '
'. t('StatusNet Posting Settings').' ';
if ( (!$ckey) && (!$csecret) ) {
/***
@@ -185,7 +202,7 @@ function statusnet_settings(&$a,&$s) {
$s .= '
';
}
}
- $s .= '
';
+ $s .= '